mirror of
https://github.com/cc65/cc65.git
synced 2025-01-18 11:29:45 +00:00
adjust some variable names
This commit is contained in:
parent
0a7cb64d2e
commit
47a6390753
@ -66,7 +66,7 @@ start:
|
|||||||
; Setup the stack
|
; Setup the stack
|
||||||
|
|
||||||
tsx
|
tsx
|
||||||
stx spsave
|
stx SP_save
|
||||||
|
|
||||||
.ifndef __ATARIXL__
|
.ifndef __ATARIXL__
|
||||||
|
|
||||||
@ -120,14 +120,14 @@ start:
|
|||||||
; Set left margin to 0
|
; Set left margin to 0
|
||||||
|
|
||||||
lda LMARGN
|
lda LMARGN
|
||||||
sta old_lmargin
|
sta LMARGN_save
|
||||||
ldy #0
|
ldy #0
|
||||||
sty LMARGN
|
sty LMARGN
|
||||||
|
|
||||||
; Set keyb to upper/lowercase mode
|
; Set keyb to upper/lowercase mode
|
||||||
|
|
||||||
ldx SHFLOK
|
ldx SHFLOK
|
||||||
stx old_shflok
|
stx SHFLOK_save
|
||||||
sty SHFLOK
|
sty SHFLOK
|
||||||
|
|
||||||
; Initialize conio stuff
|
; Initialize conio stuff
|
||||||
@ -145,17 +145,17 @@ _exit: jsr donelib ; Run module destructors
|
|||||||
|
|
||||||
; Restore system stuff
|
; Restore system stuff
|
||||||
|
|
||||||
ldx spsave
|
ldx SP_save
|
||||||
txs ; Restore stack pointer
|
txs ; Restore stack pointer
|
||||||
|
|
||||||
; Restore left margin
|
; Restore left margin
|
||||||
|
|
||||||
lda old_lmargin
|
lda LMARGN_save
|
||||||
sta LMARGN
|
sta LMARGN
|
||||||
|
|
||||||
; Restore kb mode
|
; Restore kb mode
|
||||||
|
|
||||||
lda old_shflok
|
lda SHFLOK_save
|
||||||
sta SHFLOK
|
sta SHFLOK
|
||||||
|
|
||||||
; Restore APPMHI
|
; Restore APPMHI
|
||||||
@ -221,9 +221,9 @@ _exit: jsr donelib ; Run module destructors
|
|||||||
|
|
||||||
.bss
|
.bss
|
||||||
|
|
||||||
spsave: .res 1
|
SP_save: .res 1
|
||||||
old_shflok: .res 1
|
SHFLOK_save .res 1
|
||||||
old_lmargin: .res 1
|
LMARGN_save: .res 1
|
||||||
.ifndef __ATARIXL__
|
.ifndef __ATARIXL__
|
||||||
APPMHI_save: .res 2
|
APPMHI_save: .res 2
|
||||||
.endif
|
.endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user