Comment the ATASCII to screen code conversion.
This commit is contained in:
@@ -30,13 +30,13 @@ L4: cmp #$0A ; LF
|
|||||||
cmp #ATEOL ; Atari-EOL?
|
cmp #ATEOL ; Atari-EOL?
|
||||||
beq newline
|
beq newline
|
||||||
|
|
||||||
asl a
|
asl a ; shift out the inverse bit
|
||||||
adc #$c0
|
adc #$c0 ; grab the inverse bit; convert ATASCII to screen code
|
||||||
bpl intok
|
bpl codeok ; screen code ok?
|
||||||
eor #$40
|
eor #$40 ; needs correction
|
||||||
intok: lsr
|
codeok: lsr a ; undo the shift
|
||||||
bcc cputdirect
|
bcc cputdirect
|
||||||
eor #$80
|
eor #$80 ; restore the inverse bit
|
||||||
|
|
||||||
cputdirect: ; accepts screen code
|
cputdirect: ; accepts screen code
|
||||||
jsr putchar
|
jsr putchar
|
||||||
|
|||||||
Reference in New Issue
Block a user