exit() now also resets the io channels. Optimized diskio data read subroutines. added diskio.f_read_all()

This commit is contained in:
Irmen de Jong
2020-12-31 16:46:24 +01:00
parent ca83092aed
commit b6fa361bcc
3 changed files with 149 additions and 12 deletions

View File

@ -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