fix virtual diskio.f_write

This commit is contained in:
Irmen de Jong
2025-07-21 20:52:11 +02:00
parent 2f90c53ad0
commit dd7adde387
2 changed files with 6 additions and 4 deletions

View File

@@ -138,8 +138,8 @@ diskio {
; you can call this multiple times to append more data
repeat num_bytes {
%ir {{
loadm.w r0,diskio.f_write.bufferpointer
loadi.b r99100,r0
loadm.w r99000,diskio.f_write.bufferpointer
loadi.b r99100,r99000
syscall 55 (r99100.b): r99100.b
storem.b r99100,$ff02
}}