First attempt at getting some text on the screen in 6502. I notice inconsistencies between the Programmers Reference Guide and some of Matt H.'s videos. Example:
CHROUT = $FEDE or $FFD2
CHRIN = $FEE1 or $FFCF
I've seen 2 values for each of these. I've also seen both values in the videos.
In the videos there's mention of PLOT, SCREEN, clear screen and GETIN, and none of these seem to exist in the Programmers Reference Guide. Do those kernal routines exist still? I hope so.
Also, any attempt I make to display characters results in garbage characters. See sample assembly below.
Question
Fippy
Hey all,
First attempt at getting some text on the screen in 6502. I notice inconsistencies between the Programmers Reference Guide and some of Matt H.'s videos. Example:
CHROUT = $FEDE or $FFD2
CHRIN = $FEE1 or $FFCF
I've seen 2 values for each of these. I've also seen both values in the videos.
In the videos there's mention of PLOT, SCREEN, clear screen and GETIN, and none of these seem to exist in the Programmers Reference Guide. Do those kernal routines exist still? I hope so.
Also, any attempt I make to display characters results in garbage characters. See sample assembly below.
Using:
cl65 -t cx16 -o HELLOWORLD.PRG -l listing.map *.asm
./x16emu_mac-r38/x16emu -prg helloworld.PRG
I also notice that in memory, the "Hello" appears as ?ELLO, which is peculiar, making me suspect it doesn't know about PETSCI?
Thanks for any help,
Fippy
Link to comment
Share on other sites
6 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.