Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ClusterM/coolboy-multirom-builder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'flash.asm')
-rw-r--r--flash.asm6
1 files changed, 4 insertions, 2 deletions
diff --git a/flash.asm b/flash.asm
index 383b0d7..62c3986 100644
--- a/flash.asm
+++ b/flash.asm
@@ -46,9 +46,11 @@ flash_erase_sector:
sta $8555
lda #$30
sta $8000
+ lda #$FF
.wait:
- lda $8000
- cmp #$FF
+ cmp $8000
+ bne .wait
+ cmp $8000
bne .wait
jmp flash_return