mirror of
https://github.com/cc65/cc65.git
synced 2025-02-03 22:32:24 +00:00
A small rearrangement of instructions in Atari's exec() to let the comments
make sense again.
This commit is contained in:
parent
ec7751332f
commit
a9c69bb8c9
@ -177,9 +177,9 @@ openok: lda #>buf
|
|||||||
; program file appears to be available and good
|
; program file appears to be available and good
|
||||||
; here's the point of no return
|
; here's the point of no return
|
||||||
|
|
||||||
lda tmp4 ; get IOCB index
|
|
||||||
ldx SP_save
|
ldx SP_save
|
||||||
txs ; reset stack pointer to what it was at program entry
|
txs ; reset stack pointer to what it was at program entry
|
||||||
|
lda tmp4 ; get IOCB index
|
||||||
pha ; and save it ('excexit' calls destructors and they might destroy tmp4)
|
pha ; and save it ('excexit' calls destructors and they might destroy tmp4)
|
||||||
jsr excexit ; on atarixl this will enable the ROM again, making all high variables inaccessible
|
jsr excexit ; on atarixl this will enable the ROM again, making all high variables inaccessible
|
||||||
pla
|
pla
|
||||||
|
Loading…
x
Reference in New Issue
Block a user