Skip to content

Commit 8934ef7

Browse files
authored
Merge pull request #1151 from GmEsoft/GmEsoft_fix_trs80.s
Fixed routine '_hd_xfer_out' in Kernel/platform/platform-trs80/trs80.s:
2 parents 881f98a + 1a48dd0 commit 8934ef7

File tree

1 file changed

+6
-0
lines changed
  • Kernel/platform/platform-trs80

1 file changed

+6
-0
lines changed

Kernel/platform/platform-trs80/trs80.s

+6
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,12 @@ _hd_xfer_out:
197197
call nz, map_proc_a
198198
ld bc, #0xC8 ; 256 bytes to 0xC8
199199
otir
200+
xfer_out_wait: ; busy wait after OTIR
201+
ex (sp), hl
202+
ex (sp), hl
203+
in a,(0xCF)
204+
rlca
205+
jr c, xfer_out_wait
200206
call map_kernel
201207
ret
202208

0 commit comments

Comments
 (0)