safer loading code

This commit is contained in:
FeralChild64 committed 2021-01-30 17:25:35 +01:00
1 parent c6ed0f0d00
commit a9f3371772
1 file changed
+4
+4
View File
@@ -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: