davidgiven / cpm65

CP/M for the 6502
BSD 2-Clause "Simplified" License
267 stars 23 forks source link

Fix for make LLVM=<path> #60

Closed ivop closed 1 year ago

ivop commented 1 year ago

Hi,

Here's a small fix for make LLVM=\<path> and I updated the comments in atari800.S to reflect the current code. Some comments were referring to the old code before the XL port was done.

Funny how I (we?) never stumbled upon the bootloop bug that was there. Still, I need to check the SIO status after read/write and report an error if one occurred. Right now with CF/SD cards or emulation it hardly ever happens that a sector cannot be read or written to, but on a real floppy drive that's still a real possibility. Read or write sector now return with carry set in case of an error.

I saw your post on AtariAge about your Altirra Basic port. Nice work!

Regards, Ivo

davidgiven commented 1 year ago

I know why the carry bit never showed up before --- I only fairly recently got around to updating loader.S to actually check the carry bit. And then, of course, never tested it on an Atari.

Re the makefile fix: oops. Thanks!

(I actually need to redo the entire build system, which is becoming unmaintainable.)