mirror of
https://github.com/irmen/prog8.git
synced 2024-11-27 03:50:27 +00:00
paranoid, be sure to not kill carry
This commit is contained in:
parent
bc726c6334
commit
d116eb7655
@ -365,6 +365,7 @@ io_error:
|
|||||||
c64.SETNAM(string.length(filenameptr), filenameptr)
|
c64.SETNAM(string.length(filenameptr), filenameptr)
|
||||||
c64.SETLFS(1, drivenumber, 0)
|
c64.SETLFS(1, drivenumber, 0)
|
||||||
uword end_address = address + size
|
uword end_address = address + size
|
||||||
|
first_byte = 0 ; result var reuse
|
||||||
|
|
||||||
%asm {{
|
%asm {{
|
||||||
lda address
|
lda address
|
||||||
@ -381,7 +382,6 @@ io_error:
|
|||||||
plp
|
plp
|
||||||
}}
|
}}
|
||||||
|
|
||||||
first_byte = 0 ; result var reuse
|
|
||||||
if_cc
|
if_cc
|
||||||
first_byte = c64.READST()==0
|
first_byte = c64.READST()==0
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user