|
|
|
|
|
by lholden
984 days ago
|
|
This 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. |
|