Having a direct port of CP/M is very nice, so a big thanks to David on this. I've also started watching the videos... and will dive deeper into those. I've sorta figured out the BIOS interface, which is different to what I'm using now, but that should be pretty easy to change over. Most of the 6502 code I've seen or written has used the A/Y register pair for passing data/addresses/parameters and the X register for passing a command (as does DOS/65), so this CP/M port has the X/Y registers swapped in usage, not a big problem, but leveraging some of the CMOS instructions/addressing modes might be more cumbersome, but time will tell.
Sadly, I'm not a CC65 user but will look at it more closely.... but will likely look to move it over to WDC Tools (hate it or love it... it's what I use).
Chances are I can port it over to a modified version of my C02 Pocket (reconfigured for 56KB and RAM and 8KB of EPROM) and modify the BIOS to boot from the Microdrive. Ah... another project
As the initial port seems to favor older retro machines, using newer storage (which all default to 512-byte blocks), I'll likely use a similar blocking routine to what DOS/65 uses. Unless I'm not up to date... I believe that CP/M 2.2 is limited to an 8MB maximum disk size and a maximum file size of 512KB. Is this correct??