mirror of
https://github.com/Pecusx/jataricart.git
synced 2026-05-20 22:33:22 +02:00
fixed byte programming for 28sf0x0; regenerated flashers
This commit is contained in:
@@ -407,6 +407,7 @@ FORMATTED
|
||||
; sec
|
||||
formatted_next
|
||||
jsr GetBankNumToX
|
||||
jsr flashunlockchip
|
||||
formatted_next2
|
||||
lda _writeaddr:$ffff ; this is source address
|
||||
jsr flashwritebyte
|
||||
@@ -416,6 +417,7 @@ formatted_next2
|
||||
cmp _writeaddr+1
|
||||
bne formatted_next2
|
||||
jsr flashend
|
||||
jsr flashlockchip
|
||||
jmp COMPARE_CRC16_DEST_ALL
|
||||
|
||||
FINISH_PROCESS
|
||||
|
||||
@@ -403,6 +403,13 @@ flashsetaddr
|
||||
sty flashaddr+1
|
||||
rts
|
||||
|
||||
flashunlockchip
|
||||
lda #flash_unlockchip
|
||||
jmp jsrtovectorproc
|
||||
flashlockchip
|
||||
lda #flash_lockchip
|
||||
jmp jsrtovectorproc
|
||||
|
||||
flashsetbank
|
||||
sta $d500,x
|
||||
lda $d013
|
||||
|
||||
Reference in New Issue
Block a user