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
|
lda #$02 ; value means - 2*256 bytes read
|
||||||
pha
|
pha
|
||||||
|
|
||||||
|
ldz #$00 ; in case hypervisor modified it
|
||||||
|
|
||||||
@loop2:
|
@loop2:
|
||||||
|
|
||||||
pla
|
pla
|
||||||
@@ -150,10 +152,12 @@ ZVM_cputest:
|
|||||||
|
|
||||||
; Run the software
|
; Run the software
|
||||||
|
|
||||||
|
ldz #$00 ; in case hypervisor modified it
|
||||||
jmp ZVM_next
|
jmp ZVM_next
|
||||||
|
|
||||||
@end:
|
@end:
|
||||||
|
|
||||||
|
ldz #$00 ; in case hypervisor modified it
|
||||||
rts
|
rts
|
||||||
|
|
||||||
ZVM_filename_Z80TEST:
|
ZVM_filename_Z80TEST:
|
||||||
|
|||||||
Reference in new issue
Block a user