Skip to content

Commit

Permalink
Add ZIP file creation
Browse files Browse the repository at this point in the history
  • Loading branch information
tlindner committed Sep 3, 2021
1 parent 86178cd commit 4a5cbb5
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 8 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
.DS_Store
calc_org
Squanchy.zip
*.DSK
*.bin
*.lst
Expand Down
20 changes: 17 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
all: calc_org desb.bin sesb.bin esb.bin sb.bin ssb.bin install.asm SQUANCHY.DSK
all: calc_org sdesb.bin desb.bin sesb.bin esb.bin sb.bin ssb.bin install.asm SQUANCHY.DSK Squanchy.zip

calc_org: calc_org.c
cc -Wall -Werror $^ -o $@
Expand Down Expand Up @@ -28,6 +28,11 @@ desb.bin: disk.asm extbas.asm equates.asm bas.asm calc_org
lwasm -D DISKBASIC -D EXTBASIC -D BASIC_START=32768 -o /dev/null equates.asm bas.asm --symbol-dump=$@.sym
lwasm -D DISKBASIC -D EXTBASIC -D BASIC_START=`./calc_org desb.bin.sym` -o $@ equates.asm bas.asm --list=$@.lst --symbol-dump=$@.sym

# Super Disk Extended Squanchy BASIC
sdesb.bin: disk.asm extbas.asm equates.asm bas.asm calc_org
lwasm -D DISKBASIC -D EXTBASIC -D COCO3 -D BASIC_START=32768 -o /dev/null equates.asm bas.asm --symbol-dump=$@.sym
lwasm -D DISKBASIC -D EXTBASIC -D COCO3 -D BASIC_START=`./calc_org sdesb.bin.sym` -o $@ equates.asm bas.asm --list=$@.lst --symbol-dump=$@.sym

instsb.bin: sb.bin.sym install.asm
lwasm -o $@ $^ --list=$@.lst --symbol-dump=$@.sym

Expand All @@ -43,7 +48,10 @@ instsesb.bin: sesb.bin.sym install.asm
instdesb.bin: desb.bin.sym install.asm
lwasm -o $@ $^ --list=$@.lst --symbol-dump=$@.sym

SQUANCHY.DSK: readme.bas desb.bas esb.bas sb.bas instdesb.bin instsb.bin instssb.bin sb.bin ssb.bin instesb.bin esb.bin instsesb.bin sesb.bin desb.bin
inssdesb.bin: sdesb.bin.sym install.asm
lwasm -o $@ $^ --list=$@.lst --symbol-dump=$@.sym

SQUANCHY.DSK: readme.bas desb.bas esb.bas sb.bas inssdesb.bin instdesb.bin instsb.bin instssb.bin sb.bin ssb.bin instesb.bin esb.bin instsesb.bin sesb.bin desb.bin sdesb.bin
decb dskini SQUANCHY.DSK
decb copy -2b instsb.bin SQUANCHY.DSK,INSTSB.BIN
decb copy -2b sb.bin SQUANCHY.DSK,SB.BIN
Expand All @@ -55,10 +63,16 @@ SQUANCHY.DSK: readme.bas desb.bas esb.bas sb.bas instdesb.bin instsb.bin instssb
decb copy -2b sesb.bin SQUANCHY.DSK,SESB.BIN
decb copy -2b instdesb.bin SQUANCHY.DSK,INSTDESB.BIN
decb copy -2b desb.bin SQUANCHY.DSK,DESB.BIN
decb copy -2b inssdesb.bin SQUANCHY.DSK,INSSDESB.BIN
decb copy -2b sdesb.bin SQUANCHY.DSK,SDESB.BIN
decb copy -t desb.bas SQUANCHY.DSK,DESB.BAS
decb copy -t esb.bas SQUANCHY.DSK,ESB.BAS
decb copy -t sb.bas SQUANCHY.DSK,SB.BAS
decb copy -t readme.bas SQUANCHY.DSK,README.BAS

Squanchy.zip: README.md SQUANCHY.DSK desb.bin.lst esb.bin.lst sb.bin.lst sdesb.bin.lst sesb.bin.lst ssb.bin.lst
rm -f Squanchy.zip
zip -9 Squanchy.zip README.md SQUANCHY.DSK desb.bin.lst esb.bin.lst sb.bin.lst sdesb.bin.lst sesb.bin.lst ssb.bin.lst

clean:
-rm -f *.bin *.lst *.sym calc_org SQUANCHY.DSK
-rm -f *.bin *.lst *.sym calc_org Squanchy.zip SQUANCHY.DSK
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ On a Color Computer (with 64K of RAM) or CoCo 3 type:

Current progress:
=================
Started integrating Disk BASIC.
Searching for opprotunities to reduce code size.

To Do List:
===========
1. ~~Test Color BASIC fully.~~
2. ~~Add Extended Color BASIC~~
3. Add Disk BASIC
3. ~~~Add Disk BASIC~~~
4. Modify ROM to be even more compact.
5. Fix Color BASIC bugs.
Expand Down
3 changes: 0 additions & 3 deletions equates.asm
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
*EXBAS EQU $8000
*BASIC EQU $A000
*ROMPAK EQU $C000
BS EQU 8 BACKSPACE
CR EQU $D ENTER KEY
ESC EQU $1B ESCAPE CODE
Expand Down

0 comments on commit 4a5cbb5

Please sign in to comment.