mirror of
https://github.com/cc65/cc65.git
synced 2025-04-08 19:38:55 +00:00
Improved fix with suggestions by Greg King.
This commit is contained in:
parent
4836cf9842
commit
8b10534429
@ -45,11 +45,10 @@ GETCHAR := $FFBF ; gets one character from ACIA
|
||||
FIRSTVISC = $85 ; Offset of first visible character in video RAM
|
||||
LINEDIST = $20 ; Offset in video RAM between two lines
|
||||
|
||||
lda #0
|
||||
sta load
|
||||
ldy #<$0000
|
||||
lda #<load_addr
|
||||
ldx #>load_addr
|
||||
tay
|
||||
sta load
|
||||
stx load+1
|
||||
lda #<load_size
|
||||
eor #$FF
|
||||
@ -107,13 +106,12 @@ CR = $0D
|
||||
; ASCII-coded hexadecimal translation of the above assembly code.
|
||||
; It was copied from the assembler listing.
|
||||
|
||||
.byte "A9", CR, "00", CR
|
||||
.byte "85", CR, "08", CR
|
||||
.byte "A0", CR, "00", CR
|
||||
.byte "A9", CR
|
||||
hex2 <load_addr
|
||||
.byte CR, "A2", CR
|
||||
hex2 >load_addr
|
||||
.byte CR, "A8", CR
|
||||
.byte CR, "85", CR, "08", CR
|
||||
.byte "86", CR, "09", CR
|
||||
.byte "A9", CR
|
||||
hex2 <load_size
|
||||
|
Loading…
x
Reference in New Issue
Block a user