mirror of
https://github.com/irmen/prog8.git
synced 2025-06-22 20:23:59 +00:00
exit() now also resets the io channels. Optimized diskio data read subroutines. added diskio.f_read_all()
This commit is contained in:
@ -1080,6 +1080,7 @@ _loop_hi ldy _index_first
|
||||
|
||||
func_exit .proc
|
||||
; -- immediately exit the program with a return code in the A register
|
||||
jsr c64.CLRCHN ; reset i/o channels
|
||||
ldx orig_stackpointer
|
||||
txs
|
||||
rts ; return to original caller
|
||||
|
Reference in New Issue
Block a user