Will eventually be a livecoding demo for the C64
Find a file
John Lorentzson c41fb46457 Make assembly program representation smarter
Storing assembly instructions in a list felt nice since that lets me
just fire and forget, but if we want to properly optimize short
branches (i.e. branches that do not require a full JMP) we'll need to
be able to rewrite assembly after linking, and I feel that's best done
by making assembly instructions hold a NEXT rather than poking at a
list clumsily.

The first linking pass was also moved out to a separate function since
we may want to run the first pass twice, first after the initial
assembling and second after expanding optimistic short branches (those
that turned out to be longer branches than 127/128 bytes) into a long
branch snippet (branch with inverted condition skipping over a JMP).
2025-07-03 10:30:14 +02:00
wip-dicander Added Marcus first effect, with help from Duuqnd and hugova 2025-04-03 23:22:57 +02:00
wip-duuqnd Make assembly program representation smarter 2025-07-03 10:30:14 +02:00
wip-hugo Add more more minute optimisations of circle draw 2025-07-02 02:15:06 +02:00
.gitignore update gitignore 2025-05-02 21:52:24 +02:00
README.md Initial commit 2025-02-27 21:57:44 +01:00

C64 Livecoding demo

WIP