mirror of
https://github.com/fadden/6502bench.git
synced 2024-11-29 10:50:28 +00:00
149e763821
The documentation for 64tass says you're required to pass "--ascii" when the source file is ASCII (as opposed to PETSCII). We were ignoring this, but it turns out that everything works a bit better if we don't. So we now pass "--ascii" on the command line, and add a two-line character encoding definition to every file that is generated with ASCII as the default encoding. The sg_petscii and sg_screen encodings go away, as PETSCII is now the default, and we can use the built-in "screen" encoding.
38 lines
801 B
ArmAsm
38 lines
801 B
ArmAsm
.cpu "65816"
|
|
.enc sg_ascii
|
|
.cdef $20,$7e,$20
|
|
* = $1000
|
|
.as
|
|
.xs
|
|
lda L10AC
|
|
ora L10BC
|
|
rts
|
|
|
|
.byte $33
|
|
.byte $33
|
|
.byte $33
|
|
.byte $80
|
|
.text "4444"
|
|
.byte $80
|
|
.text "55555"
|
|
.byte $80
|
|
.text "MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM"
|
|
.byte $80
|
|
.fill 63,$4c
|
|
.byte $81
|
|
.byte $00
|
|
.byte $00
|
|
.byte $00
|
|
.byte $81
|
|
.byte $00
|
|
.byte $00
|
|
.byte $00
|
|
.byte $00
|
|
.byte $81
|
|
.fill 5,$00
|
|
.byte $81
|
|
.fill 8,$00
|
|
L10AC .fill 8,$00
|
|
.fill 8,$82
|
|
L10BC .fill 8,$82
|