2019-08-16 21:53:50 +00:00
|
|
|
;Project edited to mark some non-ASCII operands as ASCII.
|
|
|
|
.cpu "65816"
|
2020-07-02 15:14:42 +00:00
|
|
|
.enc "sg_hiascii"
|
2019-08-21 20:30:25 +00:00
|
|
|
.cdef $20,$7e,$a0
|
2020-07-02 15:14:42 +00:00
|
|
|
.enc "sg_ascii"
|
2019-08-20 18:21:30 +00:00
|
|
|
.cdef $20,$7e,$20
|
2019-08-16 21:53:50 +00:00
|
|
|
* = $1000
|
|
|
|
.as
|
|
|
|
.xs
|
|
|
|
clc
|
|
|
|
xce
|
|
|
|
sep #$30
|
|
|
|
lda #'A'
|
|
|
|
lda #'A' | $80
|
2020-07-02 15:14:42 +00:00
|
|
|
.enc "none"
|
2019-08-21 20:30:25 +00:00
|
|
|
lda #'A'
|
2020-07-02 15:14:42 +00:00
|
|
|
.enc "screen"
|
2019-08-21 20:30:25 +00:00
|
|
|
lda #'A'
|
2020-07-02 15:14:42 +00:00
|
|
|
.enc "sg_ascii"
|
2019-08-16 21:53:50 +00:00
|
|
|
ldx #'a'
|
|
|
|
ldx #'a' | $80
|
2020-07-02 15:14:42 +00:00
|
|
|
.enc "none"
|
2019-08-21 20:30:25 +00:00
|
|
|
ldx #'a'
|
2020-07-02 15:14:42 +00:00
|
|
|
.enc "screen"
|
2019-08-21 20:30:25 +00:00
|
|
|
ldx #'a'
|
2020-07-02 15:14:42 +00:00
|
|
|
.enc "sg_ascii"
|
2019-08-16 21:53:50 +00:00
|
|
|
lda #$7f
|
|
|
|
lda #$7f
|
2020-07-02 15:14:42 +00:00
|
|
|
.enc "none"
|
2019-08-16 21:53:50 +00:00
|
|
|
lda #$7f
|
2020-07-02 15:14:42 +00:00
|
|
|
.enc "screen"
|
2019-08-16 21:53:50 +00:00
|
|
|
lda #$7f
|
2020-07-02 15:14:42 +00:00
|
|
|
.enc "sg_ascii"
|
2019-08-16 21:53:50 +00:00
|
|
|
lda #$0d
|
|
|
|
rep #$30
|
|
|
|
.al
|
|
|
|
.xl
|
|
|
|
lda #'B'
|
|
|
|
lda #'B' | $80
|
2020-07-02 15:14:42 +00:00
|
|
|
.enc "none"
|
2019-08-21 20:30:25 +00:00
|
|
|
lda #'B'
|
2020-07-02 15:14:42 +00:00
|
|
|
.enc "screen"
|
2019-08-21 20:30:25 +00:00
|
|
|
lda #'B'
|
2019-08-16 21:53:50 +00:00
|
|
|
sep #$30
|
|
|
|
.as
|
|
|
|
.xs
|
|
|
|
rts
|
|
|
|
|
2020-07-02 15:14:42 +00:00
|
|
|
.enc "sg_ascii"
|
2019-08-16 21:53:50 +00:00
|
|
|
.byte 'C'
|
|
|
|
.byte 'C' | $80
|
2020-07-02 15:14:42 +00:00
|
|
|
.enc "none"
|
2019-08-21 20:30:25 +00:00
|
|
|
.byte 'C'
|
2020-07-02 15:14:42 +00:00
|
|
|
.enc "screen"
|
2019-08-21 20:30:25 +00:00
|
|
|
.byte 'C'
|
2020-07-02 15:14:42 +00:00
|
|
|
.enc "sg_ascii"
|
2019-08-16 21:53:50 +00:00
|
|
|
.word 'd'
|
|
|
|
.word 'd' | $80
|
2020-07-02 15:14:42 +00:00
|
|
|
.enc "none"
|
2019-08-21 20:30:25 +00:00
|
|
|
.word 'd'
|
2020-07-02 15:14:42 +00:00
|
|
|
.enc "screen"
|
2019-08-21 20:30:25 +00:00
|
|
|
.word 'd'
|
2019-08-16 21:53:50 +00:00
|
|
|
.byte $00,$45
|
|
|
|
.byte $00,$c5
|
|
|
|
.byte $00,$c5
|
|
|
|
.byte $00,$45
|
|
|
|
.byte $80
|
2020-07-02 15:14:42 +00:00
|
|
|
.enc "sg_ascii"
|
2019-08-16 21:53:50 +00:00
|
|
|
.text "low ASCII str"
|
2020-07-02 15:14:42 +00:00
|
|
|
.enc "sg_hiascii"
|
2019-08-21 20:30:25 +00:00
|
|
|
.text "high ASCII str"
|
2019-08-16 21:53:50 +00:00
|
|
|
.byte $80
|
2020-07-02 15:14:42 +00:00
|
|
|
.enc "none"
|
2019-08-21 20:30:25 +00:00
|
|
|
.text "PETSCII str"
|
2019-08-16 21:53:50 +00:00
|
|
|
.byte $80
|
2020-07-02 15:14:42 +00:00
|
|
|
.enc "screen"
|
2019-08-21 20:30:25 +00:00
|
|
|
.text "Screen Code str"
|
2019-08-16 21:53:50 +00:00
|
|
|
.byte $82
|
2020-07-02 15:14:42 +00:00
|
|
|
.enc "sg_ascii"
|
2019-08-16 21:53:50 +00:00
|
|
|
.text $07,"Low ASCII CRLF",$0d,$0a
|
|
|
|
.byte $82
|
2020-07-02 15:14:42 +00:00
|
|
|
.enc "sg_hiascii"
|
2019-08-21 20:30:25 +00:00
|
|
|
.text $87,"High ASCII CRLF",$8d,$8a
|
2019-08-16 21:53:50 +00:00
|
|
|
.byte $82
|
2020-07-02 15:14:42 +00:00
|
|
|
.enc "none"
|
2019-08-21 20:30:25 +00:00
|
|
|
.text $93,"PETSCII with ",$96,"control",$05," codes",$0d
|
2019-08-16 21:53:50 +00:00
|
|
|
.byte $83
|
2020-07-02 15:14:42 +00:00
|
|
|
.enc "sg_ascii"
|
2019-08-16 21:53:50 +00:00
|
|
|
.text " !",$22,"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVW"
|
|
|
|
.text "XYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~"
|
|
|
|
.byte $83
|
2020-07-02 15:14:42 +00:00
|
|
|
.enc "sg_hiascii"
|
2019-08-21 20:30:25 +00:00
|
|
|
.text " !",$a2,"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVW"
|
|
|
|
.text "XYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~"
|
2019-08-16 21:53:50 +00:00
|
|
|
.byte $83
|
2020-07-02 15:14:42 +00:00
|
|
|
.enc "none"
|
2019-08-21 20:30:25 +00:00
|
|
|
.text " !",$22,"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVW"
|
|
|
|
.text "XYZ["
|
2019-08-16 21:53:50 +00:00
|
|
|
.byte $5c
|
2019-08-21 20:30:25 +00:00
|
|
|
.byte ']'
|
2019-08-16 21:53:50 +00:00
|
|
|
.byte $5e
|
|
|
|
.byte $5f
|
|
|
|
.byte $60
|
2019-08-21 20:30:25 +00:00
|
|
|
.text "abcdefghijklmnopqrstuvwxyz"
|
2020-07-02 15:14:42 +00:00
|
|
|
.enc "sg_ascii"
|
2019-08-16 21:53:50 +00:00
|
|
|
.text "{|}~"
|
|
|
|
.byte $83
|
2020-07-02 15:14:42 +00:00
|
|
|
.enc "screen"
|
2019-08-21 20:30:25 +00:00
|
|
|
.text " !",$22,"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVW"
|
|
|
|
.text "XYZ["
|
2019-08-16 21:53:50 +00:00
|
|
|
.byte $1c
|
2019-08-21 20:30:25 +00:00
|
|
|
.byte ']'
|
2019-08-16 21:53:50 +00:00
|
|
|
.byte $1e
|
|
|
|
.byte $1f
|
|
|
|
.byte $40
|
2019-08-21 20:30:25 +00:00
|
|
|
.text "abcdefghijklmnopqrstuvwxyz"
|
2020-07-02 15:14:42 +00:00
|
|
|
.enc "sg_ascii"
|
2019-08-16 21:53:50 +00:00
|
|
|
.text "{|}~"
|
|
|
|
.byte $84
|
2020-07-02 15:14:42 +00:00
|
|
|
.enc "none"
|
2019-08-21 20:30:25 +00:00
|
|
|
.text "IICSTEP esrever"
|
2019-08-16 21:53:50 +00:00
|
|
|
.byte $84
|
2019-08-21 20:30:25 +00:00
|
|
|
.null "null term PETSCII"
|
2019-08-16 21:53:50 +00:00
|
|
|
.byte $84
|
2019-08-21 20:30:25 +00:00
|
|
|
.text "This null-terminated string is too long to fit on a single lin"
|
|
|
|
.text "e, and will be split.",$00
|
2019-08-16 21:53:50 +00:00
|
|
|
.byte $84
|
2019-08-21 20:30:25 +00:00
|
|
|
.ptext "PETSCII with length"
|
2019-08-16 21:53:50 +00:00
|
|
|
.byte $84
|
2019-08-21 20:30:25 +00:00
|
|
|
.text $14,$00,"PETSCII with length2"
|
2019-08-16 21:53:50 +00:00
|
|
|
.byte $84
|
2019-08-21 20:30:25 +00:00
|
|
|
.shift "pet dci"
|
2019-08-16 21:53:50 +00:00
|
|
|
.byte $84
|
2020-07-02 15:14:42 +00:00
|
|
|
.enc "screen"
|
2019-08-21 20:30:25 +00:00
|
|
|
.text "edoC neercS esrever"
|
2019-08-16 21:53:50 +00:00
|
|
|
.byte $84
|
2019-08-21 20:30:25 +00:00
|
|
|
.ptext "Screen Code with length"
|
2019-08-16 21:53:50 +00:00
|
|
|
.byte $84
|
2019-08-21 20:30:25 +00:00
|
|
|
.text $18,$00,"Screen Code with length2"
|
2019-08-16 21:53:50 +00:00
|
|
|
.byte $84
|
2019-08-21 20:30:25 +00:00
|
|
|
.shift "Screen Code DCI"
|
2019-08-16 21:53:50 +00:00
|
|
|
.byte $84
|
|
|
|
.byte $85
|
|
|
|
;$00-ff block
|
|
|
|
.byte $00
|
|
|
|
.byte $01
|
|
|
|
.byte $02
|
|
|
|
.byte $03
|
|
|
|
.byte $04
|
|
|
|
.byte $05
|
|
|
|
.byte $06
|
|
|
|
.byte $07
|
|
|
|
.byte $08
|
|
|
|
.byte $09
|
|
|
|
.byte $0a
|
|
|
|
.byte $0b
|
|
|
|
.byte $0c
|
|
|
|
.byte $0d
|
|
|
|
.byte $0e
|
|
|
|
.byte $0f
|
|
|
|
.byte $10
|
|
|
|
.byte $11
|
|
|
|
.byte $12
|
|
|
|
.byte $13
|
|
|
|
.byte $14
|
|
|
|
.byte $15
|
|
|
|
.byte $16
|
|
|
|
.byte $17
|
|
|
|
.byte $18
|
|
|
|
.byte $19
|
|
|
|
.byte $1a
|
|
|
|
.byte $1b
|
|
|
|
.byte $1c
|
|
|
|
.byte $1d
|
|
|
|
.byte $1e
|
|
|
|
.byte $1f
|
2020-07-02 15:14:42 +00:00
|
|
|
.enc "sg_ascii"
|
2019-08-16 21:53:50 +00:00
|
|
|
.text " !",$22,"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVW"
|
|
|
|
.text "XYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~"
|
|
|
|
.byte $7f
|
|
|
|
.byte $80
|
|
|
|
.byte $81
|
|
|
|
.byte $82
|
|
|
|
.byte $83
|
|
|
|
.byte $84
|
|
|
|
.byte $85
|
|
|
|
.byte $86
|
|
|
|
.byte $87
|
|
|
|
.byte $88
|
|
|
|
.byte $89
|
|
|
|
.byte $8a
|
|
|
|
.byte $8b
|
|
|
|
.byte $8c
|
|
|
|
.byte $8d
|
|
|
|
.byte $8e
|
|
|
|
.byte $8f
|
|
|
|
.byte $90
|
|
|
|
.byte $91
|
|
|
|
.byte $92
|
|
|
|
.byte $93
|
|
|
|
.byte $94
|
|
|
|
.byte $95
|
|
|
|
.byte $96
|
|
|
|
.byte $97
|
|
|
|
.byte $98
|
|
|
|
.byte $99
|
|
|
|
.byte $9a
|
|
|
|
.byte $9b
|
|
|
|
.byte $9c
|
|
|
|
.byte $9d
|
|
|
|
.byte $9e
|
|
|
|
.byte $9f
|
|
|
|
.byte $a0
|
|
|
|
.byte $a1
|
|
|
|
.byte $a2
|
|
|
|
.byte $a3
|
|
|
|
.byte $a4
|
|
|
|
.byte $a5
|
|
|
|
.byte $a6
|
|
|
|
.byte $a7
|
|
|
|
.byte $a8
|
|
|
|
.byte $a9
|
|
|
|
.byte $aa
|
|
|
|
.byte $ab
|
|
|
|
.byte $ac
|
|
|
|
.byte $ad
|
|
|
|
.byte $ae
|
|
|
|
.byte $af
|
|
|
|
.byte $b0
|
|
|
|
.byte $b1
|
|
|
|
.byte $b2
|
|
|
|
.byte $b3
|
|
|
|
.byte $b4
|
|
|
|
.byte $b5
|
|
|
|
.byte $b6
|
|
|
|
.byte $b7
|
|
|
|
.byte $b8
|
|
|
|
.byte $b9
|
|
|
|
.byte $ba
|
|
|
|
.byte $bb
|
|
|
|
.byte $bc
|
|
|
|
.byte $bd
|
|
|
|
.byte $be
|
|
|
|
.byte $bf
|
|
|
|
.byte $c0
|
|
|
|
.byte $c1
|
|
|
|
.byte $c2
|
|
|
|
.byte $c3
|
|
|
|
.byte $c4
|
|
|
|
.byte $c5
|
|
|
|
.byte $c6
|
|
|
|
.byte $c7
|
|
|
|
.byte $c8
|
|
|
|
.byte $c9
|
|
|
|
.byte $ca
|
|
|
|
.byte $cb
|
|
|
|
.byte $cc
|
|
|
|
.byte $cd
|
|
|
|
.byte $ce
|
|
|
|
.byte $cf
|
|
|
|
.byte $d0
|
|
|
|
.byte $d1
|
|
|
|
.byte $d2
|
|
|
|
.byte $d3
|
|
|
|
.byte $d4
|
|
|
|
.byte $d5
|
|
|
|
.byte $d6
|
|
|
|
.byte $d7
|
|
|
|
.byte $d8
|
|
|
|
.byte $d9
|
|
|
|
.byte $da
|
|
|
|
.byte $db
|
|
|
|
.byte $dc
|
|
|
|
.byte $dd
|
|
|
|
.byte $de
|
|
|
|
.byte $df
|
|
|
|
.byte $e0
|
|
|
|
.byte $e1
|
|
|
|
.byte $e2
|
|
|
|
.byte $e3
|
|
|
|
.byte $e4
|
|
|
|
.byte $e5
|
|
|
|
.byte $e6
|
|
|
|
.byte $e7
|
|
|
|
.byte $e8
|
|
|
|
.byte $e9
|
|
|
|
.byte $ea
|
|
|
|
.byte $eb
|
|
|
|
.byte $ec
|
|
|
|
.byte $ed
|
|
|
|
.byte $ee
|
|
|
|
.byte $ef
|
|
|
|
.byte $f0
|
|
|
|
.byte $f1
|
|
|
|
.byte $f2
|
|
|
|
.byte $f3
|
|
|
|
.byte $f4
|
|
|
|
.byte $f5
|
|
|
|
.byte $f6
|
|
|
|
.byte $f7
|
|
|
|
.byte $f8
|
|
|
|
.byte $f9
|
|
|
|
.byte $fa
|
|
|
|
.byte $fb
|
|
|
|
.byte $fc
|
|
|
|
.byte $fd
|
|
|
|
.byte $fe
|
|
|
|
.byte $ff
|