Writing a 6502 assembler for CP/M-65, part 1/6 @hjalfi
Writing a 6502 assembler for CP/M-65, part 1/6  @hjalfi
Uploaded March 2023 | Updated November 2026, 2 hours ago
In whch yr hmbl svt writes a simple assembler for CP/M-65, which badly needs one. It's done in C, and is compiled with llvm-mos to run itself on CP/M-65. This means that it needs to be very small and very fast, but it also needs to be sophisticated enough to generate the relocatable binaries which CP/M-65 wants.

You can find the resulting source code in the CP/M-65 repository: github.com/davidgiven/cpm65 (Look in `apps/asm.c`.)
Writing a 6502 assembler for CP/M-65, part 1/6Darudes Sandstorm played on a Commodore PET (poorly)A Brother WP-1 serial interface #12: so many bugsReverse engineering an Alphasmart Dana laptop thing 6/13, more SPICompiling Pascal with a Pascal compiler compiled with a Pascal compiler on the neo6502, in real timeA Brother WP-1 serial interface #2: beginning VerilogHjalfi ports Fuzix to the ESP8266: #4: a brief visit to userlandHjalfi reverse engineers an Alphasmart Dana laptop thing: #1, figuring out the debug portPorting Python to a terrible $3 smartwatchInfrared spider photography 3/3, the resultsHjalfi ports Fuzix to the ESP8266: #13: bride of SD cardReverse engineering an Alphasmart Dana laptop thing 9/13, contrast fixes and the pen controller
Poking Technology |

Writing a 6502 assembler for CP/M-65, part 1/6

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER