mirror of
https://github.com/tjboldt/Apple2-IO-RPi.git
synced 2024-11-24 00:30:50 +00:00
Add release build script (#169)
* Add release build script * Add EEPROM image to release
This commit is contained in:
parent
8b04a0e926
commit
2a35501ed7
1
.gitignore
vendored
1
.gitignore
vendored
@ -17,3 +17,4 @@ RaspberryPiPico/elf2uf2/
|
|||||||
RaspberryPiPico/generated/
|
RaspberryPiPico/generated/
|
||||||
RaspberryPiPico/pico-sdk/
|
RaspberryPiPico/pico-sdk/
|
||||||
RaspberryPiPico/pioasm/
|
RaspberryPiPico/pioasm/
|
||||||
|
release
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
HW_TYPE=${1-0}
|
HW_TYPE=${1-0}
|
||||||
|
if [ "$1" = '1' ]; then
|
||||||
|
echo Assembling for Pico based hardware
|
||||||
|
else
|
||||||
|
echo Assembling for Classic hardware
|
||||||
|
fi
|
||||||
|
|
||||||
ca65 DriveFirmware.asm -D HW_TYPE=$HW_TYPE -D SLOT=0 -o DriveSlot0.o || exit 1
|
ca65 DriveFirmware.asm -D HW_TYPE=$HW_TYPE -D SLOT=0 -o DriveSlot0.o || exit 1
|
||||||
ca65 DriveFirmware.asm -D HW_TYPE=$HW_TYPE -D SLOT=1 -o DriveSlot1.o || exit 1
|
ca65 DriveFirmware.asm -D HW_TYPE=$HW_TYPE -D SLOT=1 -o DriveSlot1.o || exit 1
|
||||||
|
@ -1,4 +1,10 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
HW_TYPE=${1-0}
|
||||||
|
if [ "$1" = '1' ]; then
|
||||||
|
echo Setting up for Pico based hardware
|
||||||
|
else
|
||||||
|
echo Setting up for Classic hardware
|
||||||
|
fi
|
||||||
|
|
||||||
sudo apt update
|
sudo apt update
|
||||||
sudo apt install git -y
|
sudo apt install git -y
|
||||||
|
18
generaterelease.sh
Executable file
18
generaterelease.sh
Executable file
@ -0,0 +1,18 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
mkdir release
|
||||||
|
cd Apple2
|
||||||
|
. assemble.sh 1
|
||||||
|
cd ../RaspberryPiPico
|
||||||
|
. build.sh
|
||||||
|
cp Apple2-IO-RPi.elf ../release
|
||||||
|
cd ../RaspberryPi/driveimage
|
||||||
|
../../.cicd/ProDOS-Utilities -d ../../release/Apple2-IO-RPi.pico.hardware.hdv -c create -v APPLE2.IO.RPI
|
||||||
|
../../.cicd/ProDOS-Utilities -d ../../release/Apple2-IO-RPi.pico.hardware.hdv -c putall
|
||||||
|
../../.cicd/ProDOS-Utilities -d ../../release/Apple2-IO-RPi.pico.hardware.hdv -c ls
|
||||||
|
cd ../../Apple2
|
||||||
|
. assemble.sh 0
|
||||||
|
cd ../RaspberryPi/driveimage
|
||||||
|
cp AT28C64B.bin ../../release
|
||||||
|
../../.cicd/ProDOS-Utilities -d ../../release/Apple2-IO-RPi.classic.hardware.hdv -c create -v APPLE2.IO.RPI
|
||||||
|
../../.cicd/ProDOS-Utilities -d ../../release/Apple2-IO-RPi.classic.hardware.hdv -c putall
|
||||||
|
../../.cicd/ProDOS-Utilities -d ../../release/Apple2-IO-RPi.classic.hardware.hdv -c ls
|
Loading…
Reference in New Issue
Block a user