sb: rename the fn files

This commit is contained in:
Vince Weaver 2023-06-01 16:50:41 -04:00
parent 4c462958ab
commit dca40eecea
14 changed files with 58 additions and 36 deletions

View File

@ -12,7 +12,7 @@ all: sb.dsk
####
sb.dsk: QBOOT QLOAD TITLE DUCK_POND SB FN
sb.dsk: QBOOT QLOAD TITLE DUCK_POND SB RAT
cp $(EMPTY_DISK) sb.dsk
$(DOS33_RAW) sb.dsk 0 0 QBOOT 0 1
$(DOS33_RAW) sb.dsk 0 2 QBOOT 1 1
@ -21,10 +21,10 @@ sb.dsk: QBOOT QLOAD TITLE DUCK_POND SB FN
$(DOS33_RAW) sb.dsk 2 0 TITLE 0 0
$(DOS33_RAW) sb.dsk 5 0 DUCK_POND 0 0
$(DOS33_RAW) sb.dsk 8 0 SB 0 0
$(DOS33_RAW) sb.dsk 11 0 FN 0 0
$(DOS33_RAW) sb.dsk 11 0 RAT 0 0
# $(DOS33) -y sb.dsk BSAVE -a 0x1000 DUCK_POND
# $(DOS33) -y sb.dsk BSAVE -a 0x0c00 SB
# $(DOS33) -y sb.dsk BSAVE -a 0x6000 FN
# $(DOS33) -y sb.dsk BSAVE -a 0x6000 RAT
####
@ -55,20 +55,20 @@ sb.o: sb.s zx02_optim.s \
####
FN: fn.o
ld65 -o FN fn.o -C $(LINKER_SCRIPTS)/apple2_6000.inc
RAT: rat.o
ld65 -o RAT rat.o -C $(LINKER_SCRIPTS)/apple2_6000.inc
fn.o: fn.s zx02_optim.s duet.s hgr_sprite_mask.s hgr_sprite.s hgr_tables.s \
rat.o: rat.s zx02_optim.s duet.s hgr_sprite_mask.s hgr_sprite.s hgr_tables.s \
zp.inc hardware.inc \
fn_sound/fortnight.ed \
fn_graphics/a2_fortnight.hgr.zx02 \
fn_graphics/a2_fortnight_99.hgr.zx02 \
fn_graphics/a2_fortnight_100.hgr.zx02 \
fn_graphics/a2_fortnight_rat1.hgr.zx02 \
fn_graphics/a2_fortnight_rat2.hgr.zx02 \
fn_graphics/a2_break.hgr.zx02 \
fn_graphics/disk_sprites.inc
ca65 -o fn.o fn.s -l fn.lst
rat_sound/fortnight.ed \
rat_graphics/a2_fortnight.hgr.zx02 \
rat_graphics/a2_fortnight_99.hgr.zx02 \
rat_graphics/a2_fortnight_100.hgr.zx02 \
rat_graphics/a2_fortnight_rat1.hgr.zx02 \
rat_graphics/a2_fortnight_rat2.hgr.zx02 \
rat_graphics/a2_break.hgr.zx02 \
rat_graphics/disk_sprites.inc
ca65 -o rat.o rat.s -l rat.lst
####
@ -108,4 +108,4 @@ HELLO: hello.bas
####
clean:
rm -f *.lst *.o TITLE SB FN DUCK_POND *~
rm -f *.lst *.o TITLE SB RAT DUCK_POND *~

View File

@ -26,16 +26,16 @@
; These are all "Free" zero page locations
FREQ1 = $06
FREQ2 = $07
DURATION = $08
INSTRUMENT1 = $09
INSTRUMENT2 = $1D
MADDRL = $1E
MADDRH = $1F
LOC4E = $4E
COUNT256 = $4F
WHICH_PAGE = $50
;FREQ1 = $06
;FREQ2 = $07
;DURATION = $08
;INSTRUMENT1 = $09
;INSTRUMENT2 = $1D
;MADDRL = $1E
;MADDRH = $1F
;LOC4E = $4E
;COUNT256 = $4F
;WHICH_PAGE = $50
play_ed:
LDA #$01 ; 900: A9 01 ; 2 *!*

View File

@ -1,3 +1,5 @@
; Breakdancing RAT
;
; Animation from SBEMAIL #152
;
; Yet Another HR project
@ -316,7 +318,13 @@ rat_loop:
jsr wait_until_keypress
jmp fortnight_start
lda #0
sta WHICH_LOAD
rts
; jmp fortnight_start
wait_until_keypress:
@ -351,24 +359,24 @@ long_wait_loop:
.include "duet.s"
music:
.incbin "fn_sound/fortnight.ed"
.incbin "rat_sound/fortnight.ed"
fn_image:
.incbin "fn_graphics/a2_fortnight.hgr.zx02"
.incbin "rat_graphics/a2_fortnight.hgr.zx02"
fn_99_image:
.incbin "fn_graphics/a2_fortnight_99.hgr.zx02"
.incbin "rat_graphics/a2_fortnight_99.hgr.zx02"
fn_100_image:
.incbin "fn_graphics/a2_fortnight_100.hgr.zx02"
.incbin "rat_graphics/a2_fortnight_100.hgr.zx02"
rat1_image:
.incbin "fn_graphics/a2_fortnight_rat1.hgr.zx02"
.incbin "rat_graphics/a2_fortnight_rat1.hgr.zx02"
rat2_image:
.incbin "fn_graphics/a2_fortnight_rat2.hgr.zx02"
.incbin "rat_graphics/a2_fortnight_rat2.hgr.zx02"
break_image:
.incbin "fn_graphics/a2_break.hgr.zx02"
.incbin "rat_graphics/a2_break.hgr.zx02"
.include "fn_graphics/disk_sprites.inc"
.include "rat_graphics/disk_sprites.inc"
floppy_x:
.byte 10,12,14,16

View File

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

View File

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

View File

@ -28,7 +28,21 @@ H2 = $2C
V2 = $2D
MASK = $2E
COLOR = $30
;INVFLG = $32
; Electric Duet ZP usage
FREQ1 = $06
FREQ2 = $07
DURATION = $08
INSTRUMENT1 = $09
INSTRUMENT2 = $1D
MADDRL = $1E
MADDRH = $1F
LOC4E = $4E
COUNT256 = $4F
WHICH_PAGE = $50
; dos33 zero page = 26-2f, 35-38, 3e 3f 40-4d
; overlap applesoft 67-6a,6f,70,af,b0,ca-cd,d8