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