1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-31 11:32:00 +00:00

adjust some variable names

This commit is contained in:
Christian Groessler 2013-09-19 22:40:20 +02:00
parent 0a7cb64d2e
commit 47a6390753

View File

@ -66,7 +66,7 @@ start:
; Setup the stack
tsx
stx spsave
stx SP_save
.ifndef __ATARIXL__
@ -120,14 +120,14 @@ start:
; Set left margin to 0
lda LMARGN
sta old_lmargin
sta LMARGN_save
ldy #0
sty LMARGN
; Set keyb to upper/lowercase mode
ldx SHFLOK
stx old_shflok
stx SHFLOK_save
sty SHFLOK
; Initialize conio stuff
@ -145,17 +145,17 @@ _exit: jsr donelib ; Run module destructors
; Restore system stuff
ldx spsave
ldx SP_save
txs ; Restore stack pointer
; Restore left margin
lda old_lmargin
lda LMARGN_save
sta LMARGN
; Restore kb mode
lda old_shflok
lda SHFLOK_save
sta SHFLOK
; Restore APPMHI
@ -221,9 +221,9 @@ _exit: jsr donelib ; Run module destructors
.bss
spsave: .res 1
old_shflok: .res 1
old_lmargin: .res 1
SP_save: .res 1
SHFLOK_save .res 1
LMARGN_save: .res 1
.ifndef __ATARIXL__
APPMHI_save: .res 2
.endif