3 ms·
Commodore’s Assemblers: Part 1: MOS Cross-Assembler
- mjcohen 5y agoWhen I did some assembly programming on the Commodore PET, before I got the dual-floppy drive (so I could run their assembler and do lots of other things), I wrote an assembler in Basic that took the source as data statements. Don't remember much since this was over 40 years ago, but is was good enough for me to use. I also got what was possibly the first external cassette drive for the PET on the west coast. Those were the days.
- cbm-vic-20 5y agoHere's the documentation and source of not just a cross-assembler but a 6502 emulator running on a PDP-11 running BASIC in the RSTS/E operating system. https://archive.org/details/TheSimulationOf6502Microprocessor/ https://archive.org/details/TheSimulationOf6502Microprocesso...
- skissane 5y agoDoes the "MOS Cross-Assembler" survive (in either source or binary form?)
- userbinator 5y agoTherefore, the assembler could not output a binary file, but instead wrote a portable, hex-encoded text file, like this That looks like a simplified and slightly altered version of https://en.wikipedia.org/wiki/Intel_hex_format https://en.wikipedia.org/wiki/Intel_hex_format , which is still relatively common in embedded development today.
- BenFeldman1930 5y agoIn the golden days, without Internet access and no CDs, computer magazines printed source code encoded in a hex format to save paper space. Each line with 10 or so hex-codes had a checksum to test your actual inputs against.