4 ms·
SWEET16: Interpreted byte-code instruction set invented by Steve Wozniak
- aoki 3y agoNo idea why this came up in HN, but I remember being boggled by this while reading Randy Hyde’s book on 6502 assembly. Made the idea of p-code and such seem more mundane, later.
- gabrielsroka 3y agoSweet16 came up yesterday in a different thread https://news.ycombinator.com/item?id=37871467 https://news.ycombinator.com/item?id=37871467
- lholden 3y agoThis isn't related to SWEET16 directly, but a workflow I enjoy for 6502 assembly is to use the zero page as a data stack. With a small set of macros and functions you can easily pass a very large number of values to a function this way. This also makes 16 bit (or 24, 32, etc) math a lot easier as well. You can use the actual stack for this, but it gets weird with JSR, especially when dealing with nested function calls. Of course, on systems that use the Zero Page for other uses (Like the Apple II) this isn't really an option. You can use a different location in memory, but it isn't as efficient.