Jump to content

New demo uploaded: Chonky Text in 6502 Assembly


Recommended Posts

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


 

  • Like 1
Link to comment
Share on other sites

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.

Edited by SlithyMatt
  • Thanks 1
Link to comment
Share on other sites

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) 

  • Haha 1
Link to comment
Share on other sites

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 😁

  • Like 1
Link to comment
Share on other sites

Posted (edited)
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! 

Edited by gavinhaslehurst
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

Please review our Terms of Use