BIOS now attached to BOOTCPM command, fixed another screen editor bug

This commit is contained in:
FeralChild64 committed 2020-12-23 20:23:17 +01:00
1 parent 6935ece386
commit 94a699119a
10 files changed
+151 -34

No files matched your search

+7 -3
View File
@@ -277,18 +277,22 @@ Z80_instr_ED_5F: ; LD A,R
ora REG_IFF2
sta REG_F
clc
lda REG_R06 ; register R only simulates random numbers
bpl @1
sec
@1:
rol
eor VIC_RASTER
adc TIME+2
eor VIC_XPOS
sta REG_R06
and #%01111111
eor REG_R7 ; not 'ora', we want to reuse the 'garbage'
sta REG_A
bpl @1
bpl @2
+Z80_PUT_1_SF
@1:
@2:
+bne ZVM_next
+Z80_PUT_1_ZF
jmp ZVM_next