← Workbench

text-engine

A small text engine to print colored strings and numbers

Stage
Working
Machine
Commodore 64
Language
Assembly (KickAssembler)
Started
2026-03-15
Written
by hand
Download text-engine — Studio project (ZIP)

Source, project file, both built C64 programs (demo and engine test) and a HOWTO · open the folder in Rebound Retro Studio

10.6 kB (10618 bytes)
SHA-256: 42d28b79eca502cd32985e50d7681177ecae65b1ea11653f87bcd2b477564717

While learning the very basics of 6502 assembly, I quickly realised that printing strings takes a bit of work. In my world, I usually start thinking about writing reusable code for such tasks.

Therefore I created this little text engine, which I want to use in my future projects. It is not yet polished, feature-complete or bug-free, but it essentially does what it is supposed to do. I’ll add improvements as I go.

Here’s what it can do (for now):

  • Print strings
  • Print 8-bit or 16-bit numbers
  • Print coloured strings
  • Print text centred or at a specified line and column
  • Print numbers with or without leading zeros

See HOWTO.md for instructions on how to use it.

Comments

No comments yet — be the first.

Comments appear after moderation.