sb: rename the fn files
@ -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
|
cp $(EMPTY_DISK) sb.dsk
|
||||||
$(DOS33_RAW) sb.dsk 0 0 QBOOT 0 1
|
$(DOS33_RAW) sb.dsk 0 0 QBOOT 0 1
|
||||||
$(DOS33_RAW) sb.dsk 0 2 QBOOT 1 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 2 0 TITLE 0 0
|
||||||
$(DOS33_RAW) sb.dsk 5 0 DUCK_POND 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 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 0x1000 DUCK_POND
|
||||||
# $(DOS33) -y sb.dsk BSAVE -a 0x0c00 SB
|
# $(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
|
RAT: rat.o
|
||||||
ld65 -o FN fn.o -C $(LINKER_SCRIPTS)/apple2_6000.inc
|
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 \
|
zp.inc hardware.inc \
|
||||||
fn_sound/fortnight.ed \
|
rat_sound/fortnight.ed \
|
||||||
fn_graphics/a2_fortnight.hgr.zx02 \
|
rat_graphics/a2_fortnight.hgr.zx02 \
|
||||||
fn_graphics/a2_fortnight_99.hgr.zx02 \
|
rat_graphics/a2_fortnight_99.hgr.zx02 \
|
||||||
fn_graphics/a2_fortnight_100.hgr.zx02 \
|
rat_graphics/a2_fortnight_100.hgr.zx02 \
|
||||||
fn_graphics/a2_fortnight_rat1.hgr.zx02 \
|
rat_graphics/a2_fortnight_rat1.hgr.zx02 \
|
||||||
fn_graphics/a2_fortnight_rat2.hgr.zx02 \
|
rat_graphics/a2_fortnight_rat2.hgr.zx02 \
|
||||||
fn_graphics/a2_break.hgr.zx02 \
|
rat_graphics/a2_break.hgr.zx02 \
|
||||||
fn_graphics/disk_sprites.inc
|
rat_graphics/disk_sprites.inc
|
||||||
ca65 -o fn.o fn.s -l fn.lst
|
ca65 -o rat.o rat.s -l rat.lst
|
||||||
|
|
||||||
|
|
||||||
####
|
####
|
||||||
@ -108,4 +108,4 @@ HELLO: hello.bas
|
|||||||
####
|
####
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f *.lst *.o TITLE SB FN DUCK_POND *~
|
rm -f *.lst *.o TITLE SB RAT DUCK_POND *~
|
||||||
|
@ -26,16 +26,16 @@
|
|||||||
|
|
||||||
|
|
||||||
; These are all "Free" zero page locations
|
; These are all "Free" zero page locations
|
||||||
FREQ1 = $06
|
;FREQ1 = $06
|
||||||
FREQ2 = $07
|
;FREQ2 = $07
|
||||||
DURATION = $08
|
;DURATION = $08
|
||||||
INSTRUMENT1 = $09
|
;INSTRUMENT1 = $09
|
||||||
INSTRUMENT2 = $1D
|
;INSTRUMENT2 = $1D
|
||||||
MADDRL = $1E
|
;MADDRL = $1E
|
||||||
MADDRH = $1F
|
;MADDRH = $1F
|
||||||
LOC4E = $4E
|
;LOC4E = $4E
|
||||||
COUNT256 = $4F
|
;COUNT256 = $4F
|
||||||
WHICH_PAGE = $50
|
;WHICH_PAGE = $50
|
||||||
|
|
||||||
play_ed:
|
play_ed:
|
||||||
LDA #$01 ; 900: A9 01 ; 2 *!*
|
LDA #$01 ; 900: A9 01 ; 2 *!*
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
; Breakdancing RAT
|
||||||
|
;
|
||||||
; Animation from SBEMAIL #152
|
; Animation from SBEMAIL #152
|
||||||
;
|
;
|
||||||
; Yet Another HR project
|
; Yet Another HR project
|
||||||
@ -316,7 +318,13 @@ rat_loop:
|
|||||||
|
|
||||||
jsr wait_until_keypress
|
jsr wait_until_keypress
|
||||||
|
|
||||||
jmp fortnight_start
|
|
||||||
|
lda #0
|
||||||
|
sta WHICH_LOAD
|
||||||
|
|
||||||
|
rts
|
||||||
|
|
||||||
|
; jmp fortnight_start
|
||||||
|
|
||||||
|
|
||||||
wait_until_keypress:
|
wait_until_keypress:
|
||||||
@ -351,24 +359,24 @@ long_wait_loop:
|
|||||||
.include "duet.s"
|
.include "duet.s"
|
||||||
|
|
||||||
music:
|
music:
|
||||||
.incbin "fn_sound/fortnight.ed"
|
.incbin "rat_sound/fortnight.ed"
|
||||||
|
|
||||||
fn_image:
|
fn_image:
|
||||||
.incbin "fn_graphics/a2_fortnight.hgr.zx02"
|
.incbin "rat_graphics/a2_fortnight.hgr.zx02"
|
||||||
fn_99_image:
|
fn_99_image:
|
||||||
.incbin "fn_graphics/a2_fortnight_99.hgr.zx02"
|
.incbin "rat_graphics/a2_fortnight_99.hgr.zx02"
|
||||||
fn_100_image:
|
fn_100_image:
|
||||||
.incbin "fn_graphics/a2_fortnight_100.hgr.zx02"
|
.incbin "rat_graphics/a2_fortnight_100.hgr.zx02"
|
||||||
|
|
||||||
|
|
||||||
rat1_image:
|
rat1_image:
|
||||||
.incbin "fn_graphics/a2_fortnight_rat1.hgr.zx02"
|
.incbin "rat_graphics/a2_fortnight_rat1.hgr.zx02"
|
||||||
rat2_image:
|
rat2_image:
|
||||||
.incbin "fn_graphics/a2_fortnight_rat2.hgr.zx02"
|
.incbin "rat_graphics/a2_fortnight_rat2.hgr.zx02"
|
||||||
break_image:
|
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:
|
floppy_x:
|
||||||
.byte 10,12,14,16
|
.byte 10,12,14,16
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
@ -28,7 +28,21 @@ H2 = $2C
|
|||||||
V2 = $2D
|
V2 = $2D
|
||||||
MASK = $2E
|
MASK = $2E
|
||||||
COLOR = $30
|
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
|
; dos33 zero page = 26-2f, 35-38, 3e 3f 40-4d
|
||||||
; overlap applesoft 67-6a,6f,70,af,b0,ca-cd,d8
|
; overlap applesoft 67-6a,6f,70,af,b0,ca-cd,d8
|
||||||
|