mirror of
https://github.com/irmen/prog8.git
synced 2024-09-10 09:54:32 +00:00
emudbg no longer clobbers r1
This commit is contained in:
parent
a6756d2cea
commit
ab4bcdf12d
@ -31,10 +31,13 @@ emudbg {
|
|||||||
sub console_write(str isoString) {
|
sub console_write(str isoString) {
|
||||||
; note: make sure the text is in Iso encoding.
|
; note: make sure the text is in Iso encoding.
|
||||||
if is_emulator() {
|
if is_emulator() {
|
||||||
cx16.r1 = isoString
|
ubyte chr
|
||||||
while @(cx16.r1) {
|
repeat {
|
||||||
EMU_CPUCLK_U = @(cx16.r1)
|
chr = @(isoString)
|
||||||
cx16.r1++
|
if_z
|
||||||
|
break
|
||||||
|
EMU_CPUCLK_U = chr
|
||||||
|
isoString++
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user