We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6960491 commit 9fcb6f0Copy full SHA for 9fcb6f0
src/00/flash.asm
@@ -439,6 +439,7 @@ _: pop af
439
ld bc, 0x4000
440
.inner_loop:
441
ld a, (hl) ; source sector
442
+ ld (flashFunctions + 0xFF), a
443
ex af, af'
444
ld a, e ; swap sector
445
setBankA
@@ -453,16 +454,18 @@ _: pop af
453
454
455
ld (hl), a
456
.poll:
457
+ ld a, (flashFunctions + 0xFF)
458
xor (hl)
459
bit 7, a
- jr z, _
460
+ jr z, .continue
461
bit 5, a
462
jr z, .poll
- ; Error, abort
463
464
+ bit 7, a
465
466
+ ; Error, skip this byte
467
+.continue:
468
ld a, 0xF0
- ld (0), a
- jp .return
-_: ld a, 0xF0
469
470
471
inc hl
0 commit comments