3 ms·
Googled up an Apple ][ in-browser emu (what a time to be alive, etc) and poked around for a moment, think this might be it: https://i.imgur.com/jvFvdsF.png htt
by pvg 7y ago
Googled up an Apple ][ in-browser emu (what a time to be alive, etc) and poked around for a moment, think this might be it:
https://i.imgur.com/jvFvdsF.png https://i.imgur.com/jvFvdsF.png
Edit:
You can see how it's used here:
https://bigflake.com/disasm/applesoft/Applesoft.html https://bigflake.com/disasm/applesoft/Applesoft.html
It's actually two (overlapping) subroutines with entry points $B01 and $B07, their symbols in the source are CHRGET and CHRGOT. So 20-odd bytes in page zero for two calls. The code is, of course, also self-modifying. All in all, a fitting little tribute to Chuck Peddle.
- karmakaze 7y agoThat's funny, I still recognize some of the op-codes--though I was more familiar with them in decimal or their ATASCII characters. I used to be able to write machine language subroutines with character escapes in a string and JSR the string address from BASIC.