safer loading code
This commit is contained in:
1 parent
c6ed0f0d00
commit
a9f3371772
1 file changed
+4
@@ -77,6 +77,8 @@ ZVM_cputest:
|
||||
lda #$02 ; value means - 2*256 bytes read
|
||||
pha
|
||||
|
||||
ldz #$00 ; in case hypervisor modified it
|
||||
|
||||
@loop2:
|
||||
|
||||
pla
|
||||
@@ -150,10 +152,12 @@ ZVM_cputest:
|
||||
|
||||
; Run the software
|
||||
|
||||
ldz #$00 ; in case hypervisor modified it
|
||||
jmp ZVM_next
|
||||
|
||||
@end:
|
||||
|
||||
ldz #$00 ; in case hypervisor modified it
|
||||
rts
|
||||
|
||||
ZVM_filename_Z80TEST:
|
||||
|
||||
Reference in new issue
Block a user