more work towards Mega65 banking support

This commit is contained in:
FeralChild64 committed 2020-01-11 19:22:33 +01:00
1 parent 734ec07afb
commit 49693f1543
26 files changed
+118 -65

No files matched your search

+3 -3
View File
@@ -92,7 +92,7 @@ load_tape_normal_header:
lda (TAPE1),y
cmp #$05
beq_far tape_load_error // end of tape mark, nothing to load
beq_16 tape_load_error // end of tape mark, nothing to load
cmp #$01
beq !+
@@ -125,10 +125,10 @@ load_tape_normal_payload:
jsr tape_normal_pilot_data
ldy #$00 // no data size limit
jsr tape_normal_get_data
bcs_far tape_load_error
bcs_16 tape_load_error
jsr lvs_check_EAL
bne_far tape_load_error // amount of data read does not match header info
bne_16 tape_load_error // amount of data read does not match header info
jmp tape_load_success
+1 -1
View File
@@ -132,7 +132,7 @@ load_tape_turbo_loop:
// Verify the checksum
cpx PRTY
beq_far tape_load_success
beq_16 tape_load_success
jmp tape_load_error