| |
Strepto
Registered: Dec 2015 Posts: 11 |
Kefrens bars
I've been thinking about kefrens bars on the c64.
How do you think it is implemented?
Perhaps using repeated char lines and update the chars using cycle exact timing? |
|
... 20 posts hidden. Click here to view all posts.... |
| |
Krill
Registered: Apr 2002 Posts: 2980 |
Quoting Oswaldthat pha in the kernel is very sexy. Both of them are! =)
In my contribution to Singles Collection Volume 2 *, i used chained rts to go from one bar-drawing snippet to the next. Saves a lot of table-lookup overhead and allows for immediate mask and pattern arguments. There's some trickery going on to have more than 128 return addresses on the stack (as there are 216 rather wide bars).
* You can load and run file "06*" directly, and do use x64sc (not x64) if you must resort to an emulator. |
| |
Dano
Registered: Jul 2004 Posts: 234 |
Quote: Quoting Oswaldthat pha in the kernel is very sexy. Both of them are! =)
In my contribution to Singles Collection Volume 2 *, i used chained rts to go from one bar-drawing snippet to the next. Saves a lot of table-lookup overhead and allows for immediate mask and pattern arguments. There's some trickery going on to have more than 128 return addresses on the stack (as there are 216 rather wide bars).
* You can load and run file "06*" directly, and do use x64sc (not x64) if you must resort to an emulator.
like i told you on BCC this is about as clever, tricky and beautiful as it can get. some hardcore adress brainfuck with that stack-split. :) was fun to analyse how you got this done. HCL and i took a somewhat easier approach though. |
Previous - 1 | 2 | 3 - Next |