mirror of
https://github.com/a2-4am/4cade.git
synced 2024-12-24 07:29:26 +00:00
fix Death Sword
This commit is contained in:
parent
b8966ce199
commit
f87617cb5c
@ -9,14 +9,14 @@
|
||||
; D000..E8A7 - persistent data structures (per-game cheat categories,
|
||||
; gGlobalPrefsStore, gGamesListStore)
|
||||
; ...unused...
|
||||
; EB91..FFF9 - main program code
|
||||
; EB7F..FFF9 - main program code
|
||||
; FFFA..FFFF - NMI, reset, IRQ vectors
|
||||
;
|
||||
; LC RAM BANK 2
|
||||
; D000..D3FF - ProRWTS data
|
||||
; D400..D66F - ProRWTS code
|
||||
; D670..DB9D - HGR font code & ProRWTS glue code
|
||||
; DB9E..DBAC - backup of stack (during gameplay and self-running demos)
|
||||
; D670..DB98 - HGR font code & ProRWTS glue code
|
||||
; DB99..DBA7 - backup of stack (during gameplay and self-running demos)
|
||||
; ...unused...
|
||||
; DBAF..DBFF - (de)acceleration function
|
||||
; DC00..DFFF - HGR font data
|
||||
|
@ -1,5 +1,5 @@
|
||||
;license:MIT
|
||||
;(c) 2019 by qkumba
|
||||
;(c) 2019-2020 by qkumba
|
||||
|
||||
!cpu 6502
|
||||
!to "build/PRELAUNCH/DEATH.SWORD",plain
|
||||
@ -8,7 +8,7 @@
|
||||
!source "src/prelaunch/common.a"
|
||||
|
||||
lda #$8b
|
||||
sta $bf23 ; disable ROM mapping
|
||||
sta $bf0e ; disable ROM mapping
|
||||
jmp $2000
|
||||
|
||||
!if * > $1C0 {
|
||||
|
@ -281,24 +281,22 @@ ProDOS_enter
|
||||
|
||||
@skip_align
|
||||
jsr hddrdwrpart
|
||||
ldx #<sizelo2
|
||||
ldy #6
|
||||
lda sizelo2
|
||||
|
||||
+HIDE_NEXT_2_BYTES
|
||||
@imp_geteof
|
||||
ldx #<bleftlo
|
||||
;;ldy #2
|
||||
lda $0, x
|
||||
sta (ipacket), y
|
||||
inx
|
||||
iny
|
||||
lda sizehi2
|
||||
lda $0, x
|
||||
sta (ipacket), y
|
||||
@jmp_zp
|
||||
jmp @restore_zp
|
||||
|
||||
@imp_geteof
|
||||
;;ldy #2
|
||||
lda bleftlo
|
||||
sta (ipacket), y
|
||||
iny
|
||||
lda blefthi
|
||||
sta (ipacket), y
|
||||
bcc @restore_zp ;always
|
||||
|
||||
@imp_close
|
||||
lda @handles+1
|
||||
beq @close_ret
|
||||
|
Loading…
Reference in New Issue
Block a user