hoglet67 / MMFS

Modern SD Card File System for Acorn 8-bit Machine (Master, Beeb, Electron)
68 stars 17 forks source link

ZMMFS: Hangs if SWRAM slot > Boot Loader slot #11

Closed hoglet67 closed 6 years ago

hoglet67 commented 6 years ago

This is because the boot loader fails to page back in the original ROM before exiting the service call.

The MOS uses &F4 (the shadow ROM number) to keep track of which ROM to dispatch the service call to next.

For example:

The bug was that the boot loader exited with &F4 = D, which resets the service call counter.

The result being that the boot loader sees the service call an infinite number of times.