Closed tom-seddon closed 11 months ago
When updating the ROM, SELFUPDATE swaps the old and new ROMs. When all goes well, you end up with the new ROM in the ROM bank, and the old ROM in RAM (hopefully where RTOOL can find it). My thinking here was that if you find any obvious immediate problems, and your BBC B has no other FS, and you've still got RTOOL in the EEPROM/flash bank, you can do *ROM then CHAIN"RTOOL" then P to restore the old version.
I don't think this is actually all that useful though.
Got some corrupted ROM images from toggling the write protect switch while the system was running. Might be cartridge-specific? Anyway, decided to leave this as-is.
First off, use *SAVE to save old ROM to disk. Don't just leave it in RAM. This isn't much use if you get completely hosed, but at least you've got a copy of a known good version on your PC. Worst case, use the bootstrap process to get it back onto your beeb.
Secondly, use *SAVE to save new ROM to disk. No reason not to!
Then, if the bank isn't writeable, don't just quit automatically. Ask what to do. 4 options:
L<<filename>>
thenP<<bank>>
thenQ
, then EXEC it and CHAIN RTOOL. Use case here is that the BLFS is in an RTOOL-friendly EEPROM/flash deviceL<<filename>>
so the new ROM is already loaded?