mirror of
https://github.com/irmen/prog8.git
synced 2025-12-19 20:17:17 +00:00
fix virtual diskio.f_write
This commit is contained in:
@@ -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
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user