Our great sponsors
-
RC6502-Apple-1-Replica
An expandable SBC-version of the Apple 1 computer, easy to get started with and lot of cool stuff that can be added to it!
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
The Apple 1 ROM is quite a tight piece of coding. Just 256 bytes which implements basic console IO, and memory editing in hex. And still two bytes left over.
One version with lots of comments: https://github.com/jefftranter/6502/blob/master/asm/wozmon/w...
You can see a classic assembly language space optimizing trick at PRBYTE. It first prints the upper half of the byte in hex with call to the PRHEX procedure, then falls through to PRHEX again to print the second half. Two entry points to a common routine.
If you fancy playing along on a PCB, there's a mini backplane and SBC version here:
https://github.com/tebl/RC6502-Apple-1-Replica