mirror of https://github.com/a2-4am/4cade.git
fix typos and cosmetics
This commit is contained in:
parent
c3abf3d031
commit
69919efe56
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
res/DEMO/TB
BIN
res/DEMO/TB
Binary file not shown.
|
@ -36,7 +36,7 @@
|
|||
bpl -
|
||||
|
||||
ldx #4-1
|
||||
lda patch2,x
|
||||
- lda patch2,x
|
||||
sta $168F,x ; set exits
|
||||
dex
|
||||
bpl -
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
!cpu 6502
|
||||
!to "res/DEMO/GALAXIAN",plain
|
||||
*=$300
|
||||
*=$320
|
||||
|
||||
!source "src/constants.a" ; no code in these
|
||||
!source "src/macros.a"
|
||||
|
|
|
@ -19,10 +19,6 @@
|
|||
+RESET_VECTOR reset
|
||||
ldx #3-1
|
||||
- lda patch,x
|
||||
sta $2DF5,x
|
||||
lda patch2,x
|
||||
sta $2E06,x
|
||||
lda patch3,x
|
||||
sta $6015,x
|
||||
dex
|
||||
bpl -
|
||||
|
@ -31,30 +27,13 @@
|
|||
|
||||
jmp $6000 ;612A copies pages 2E & 2F to AE & AF for final location
|
||||
|
||||
patch !byte $4C,<callback1,>callback1
|
||||
patch2 !byte $4C,<callback2,>callback2
|
||||
patch3 !byte $4C,<callback3,>callback3
|
||||
patch !byte $20,<callback,>callback
|
||||
|
||||
reset
|
||||
+READ_RAM2_NO_WRITE
|
||||
jmp ($FFFC)
|
||||
|
||||
callback1
|
||||
sec
|
||||
sbc #8
|
||||
cmp #2
|
||||
bcc +
|
||||
- jmp $AE0A
|
||||
+ jmp $ADF9
|
||||
|
||||
callback2
|
||||
sec
|
||||
sbc #8
|
||||
cmp #2
|
||||
bcs -
|
||||
jmp $AE21
|
||||
|
||||
callback3
|
||||
callback
|
||||
ldx #6-1
|
||||
p1 lda $100, x
|
||||
sta $6055, x
|
||||
|
|
|
@ -9,8 +9,9 @@
|
|||
!source "src/macros.a"
|
||||
|
||||
+GAME_REQUIRES_JOYSTICK
|
||||
+ENABLE_ACCEL_LC
|
||||
+LOAD_XSINGLE title
|
||||
+READ_RAM2_WRITE_RAM2
|
||||
jsr EnableAccelerator
|
||||
+LOAD_FILE_AT title, $00
|
||||
lda #$4C
|
||||
sta $6BA8
|
||||
sta $6C2D
|
||||
|
@ -25,6 +26,10 @@
|
|||
sta $AC64,x
|
||||
dex
|
||||
bpl -
|
||||
inx
|
||||
stx $B3F0
|
||||
stx $B3F1
|
||||
stx $B3F2 ; erase high score
|
||||
lda #$10
|
||||
sta $AD28
|
||||
sta $AB84
|
||||
|
@ -42,7 +47,7 @@
|
|||
patch !byte $4C,$00,$01
|
||||
|
||||
title !byte x_e-x_b
|
||||
x_b !text "TB"
|
||||
x_b !text "X/TB/TB"
|
||||
x_e
|
||||
|
||||
!if * > $3F0 {
|
||||
|
|
Loading…
Reference in New Issue