Assembler problem

JMP $FCE2
LaPi
Member
Member
Posts: 1
Joined: Wed Nov 14, 2018 8:13 am

Assembler problem

Post by LaPi » Wed Nov 14, 2018 8:36 am

I'm a beginner. In this program, ASCII characters appear instead of "C64 ASSEMBLER". I use Relaunch64 (64 Tass) and VICE emulator.


*=$2710
ldx #$2C
wpak lda tekst, x
sta $0400, x
dex
bne wpak
rts
tekst
.text "C64 ASSEMBLER!"

Greetings
LaPi



cbmguy
Member
Member
Posts: 1
Joined: Wed Oct 28, 2015 3:45 pm

Re: Assembler problem

Post by cbmguy » Wed Nov 14, 2018 7:03 pm

Looks like your dumping PETSCII to the screen, which is expecting screen codes... maybe change .text to .enc and give a go. It's been awhile since I used 64tass, but I think it's correct.

I looked and it looks like it's a .enc "screen" before the .text directive.

Reference: http://tass64.sourceforge.net/#d_enc

Post Reply Previous topicNext topic