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
|
; sec
|
||||||
formatted_next
|
formatted_next
|
||||||
jsr GetBankNumToX
|
jsr GetBankNumToX
|
||||||
|
jsr flashunlockchip
|
||||||
formatted_next2
|
formatted_next2
|
||||||
lda _writeaddr:$ffff ; this is source address
|
lda _writeaddr:$ffff ; this is source address
|
||||||
jsr flashwritebyte
|
jsr flashwritebyte
|
||||||
@@ -416,6 +417,7 @@ formatted_next2
|
|||||||
cmp _writeaddr+1
|
cmp _writeaddr+1
|
||||||
bne formatted_next2
|
bne formatted_next2
|
||||||
jsr flashend
|
jsr flashend
|
||||||
|
jsr flashlockchip
|
||||||
jmp COMPARE_CRC16_DEST_ALL
|
jmp COMPARE_CRC16_DEST_ALL
|
||||||
|
|
||||||
FINISH_PROCESS
|
FINISH_PROCESS
|
||||||
|
|||||||
@@ -403,6 +403,13 @@ flashsetaddr
|
|||||||
sty flashaddr+1
|
sty flashaddr+1
|
||||||
rts
|
rts
|
||||||
|
|
||||||
|
flashunlockchip
|
||||||
|
lda #flash_unlockchip
|
||||||
|
jmp jsrtovectorproc
|
||||||
|
flashlockchip
|
||||||
|
lda #flash_lockchip
|
||||||
|
jmp jsrtovectorproc
|
||||||
|
|
||||||
flashsetbank
|
flashsetbank
|
||||||
sta $d500,x
|
sta $d500,x
|
||||||
lda $d013
|
lda $d013
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user