6,024 karma · joined Apr 25, 2011 (15y ago) · 1,368 submissions
Making 8-bit dev tools since 2016: https://8bitworkshop.com/
comment 1w ago · link · parent
comment 1w ago · link · parent
comment 1w ago · link · parent
The Atari 2600 has horizontal object counters that you can't set directly, but they latch when you write to them, and they set the corresponding object to the X position of the beam at that cycle. Pole Position requires three of these objects to draw the left/right side of the road and center line, and they are supposed to meet at the horizon.
But the beam moves to the right 3 pixels for every CPU cycle, and writing with STA would result in each being separated by 9 pixels. What's the fix? Move the stack pointer to where the object pointers live (the 2600 maps the stack to zero page, where the RAM and registers live) and invoke BRK, making sure the BRK vector returns you to the next instruction. The object pointers are adjacent, so BRK writes to each object pointer on successive cycles, and now each of them is 1 cycle = 3 pixels apart.
comment 2w ago · link · parent
Symbolasm looks neat.
comment 1mo ago · link · parent
Assembly with an effect system and flow typing.
comment 1mo ago · link · parent
People have ported Atari 2600 games to it with the resulting ROM being byte-exact.
comment 1mo ago · link · parent
I think the space hasn't been explored fully, after all spreadsheets are a very popular two-dimensional programming language
comment 1mo ago · link · parent
I've had luck with just calling once a week or sending nastygrams asking why my claims are still denied, they usually say "oh that didn't go through I'll manually process that" and approve a few more each time. Incompetence vs maliciousness etc.
comment 1mo ago · link · parent
Article: https://8bitworkshop.com/docs/posts/2020/fuzzing-the-z-machi...
comment 1mo ago · link · parent
comment 1mo ago · link · parent
comment 2mo ago · link · parent
The NES has a 7-bit DAC, but since we're bit-banging with the CPU we only have enough time between samples for about 13 levels. Each level has its own toggle-wait-toggle-wait routine, and then we shift another bit and decide whether to branch to the next (level+1) routine or the previous (level-1) routine.
https://8bitworkshop.com/v3.12.1/?platform=apple2&file=delta...