As you may have read in
viewtopic.php?f=2&t=7337 about 6502 assembler in 6502 assembler, Dietrich Lausberg has published his CPM-65 system sources.
Dietrich build an Elektor Junior SBC long ago and expanded it to quite a system. He added hardware Elektor components, floppy and hard disk drives and wrote a CP/M inspired operating system, called CP/M-65, a Basic interpreter, Forth and and a 6502 assembler. Very impressive imho. He still uses and maintains the system!
I discovered his work in a post on the German
https://forum.classic-computing.de/forum/ Single board Computers thread on the Junior II (also worth reading about!) and asked Dietrich to publish the system. So he did!
It is small, capable and well maintained. Worth a read:
http://retro.hansotten.nl/6502-sbc/elek ... -emulator/ my intro with some background from emails from Dietrich.
https://github.com/Dietrich-L for his github with sources and an elekterminal emulator.
Hans