Page 1 of 2

New demo uploaded: Chonky Text in 6502 Assembly

Posted: Wed Mar 03, 2021 2:29 pm
by gavinhaslehurst



Chonky Text in 6502 Assembly




View File






A little demo of rendering giant text in assembly. It takes the data from the Lower/Upper character set in ROM and renders it in a large, "LCD-style" font. You can use .asciiz in CC65 for letters, or use a zero-terminated array of bytes to reference the character codes, as below (thanks to https://www.commanderx16.com/forum/index.php?/profile/5-jimmydansbo/ for the character set reference). 

 

charset.png






 

New demo uploaded: Chonky Text in 6502 Assembly

Posted: Wed Mar 03, 2021 3:31 pm
by desertfish

Make a chonky text scroller ?


New demo uploaded: Chonky Text in 6502 Assembly

Posted: Wed Mar 03, 2021 3:39 pm
by gavinhaslehurst


7 minutes ago, desertfish said:




Make a chonky text scroller ?



You literally read my mind!  This is the next step!  


New demo uploaded: Chonky Text in 6502 Assembly

Posted: Wed Mar 03, 2021 4:04 pm
by VincentF

It would be funny to see a chonky text adventure ?


New demo uploaded: Chonky Text in 6502 Assembly

Posted: Wed Mar 03, 2021 5:29 pm
by SlithyMatt

I think it would be great for pinball, but I tried using a different color and it hanged:

image.png.046b5c3cd85e3cd24ea619f78544b9c6.png

It runs fine as long as you keep the default colors.

P.S. - this is inconsistent. It hangs at different times, or sometimes not at all. So, maybe not related to the color.


New demo uploaded: Chonky Text in 6502 Assembly

Posted: Wed Mar 03, 2021 5:49 pm
by gavinhaslehurst


19 minutes ago, SlithyMatt said:




I think it would be great for pinball, but I tried using a different color and it hanged:



image.png.046b5c3cd85e3cd24ea619f78544b9c6.png



It runs fine as long as you keep the default colors.



P.S. - this is inconsistent. It hangs at different times, or sometimes not at all. So, maybe not related to the color.



I noticed this Matt. I think there's a problem with my code somewhere. I'll take a look at some point.  If you spot it, let me know!  (You are an assembly legend) 


New demo uploaded: Chonky Text in 6502 Assembly

Posted: Wed Mar 03, 2021 5:51 pm
by gavinhaslehurst


Just now, gavinhaslehurst said:




I noticed this Matt. I think there's a problem with my code somewhere. I'll take a look at some point.  If you spot it, let me know!  (You are an assembly legend) 



Ps I suspect it'll work better if I write direct to vera instead of using CHROUT. And it'll be faster... just need to rewatch your tutorial ?


New demo uploaded: Chonky Text in 6502 Assembly

Posted: Wed Mar 03, 2021 5:52 pm
by SlithyMatt

Do you have a GitHub? It would make it easier for folks to review, use, contribute, etc.


New demo uploaded: Chonky Text in 6502 Assembly

Posted: Wed Mar 03, 2021 5:56 pm
by gavinhaslehurst


4 minutes ago, SlithyMatt said:




Do you have a GitHub? It would make it easier for folks to review, use, contribute, etc.



This did not occur to me!  I'll look into this.  It's been a long time since I've really done any proper coding. This lock down fascination got out of hand! 


New demo uploaded: Chonky Text in 6502 Assembly

Posted: Wed Mar 03, 2021 5:58 pm
by SlithyMatt

Unless you are hosting a serious, multi-contributor project, free accounts give you everything you need.