Hummm... I don't think so.Mike wrote:If anything, you're proposing a hardware solution.eslapion wrote:I have a preference for "automated" solutions.
I could just write a simple BASIC program you could run before starting the Scott Adams game which is normally in ROM and that would do the job.
I base this assumption on the list of vectors found at $0314 to $0333. In there are vector labelled "Link to load RAM" and "Link to save RAM". These appear to be used when you JSR $FFD8 or JSR $FFD5. You can redirect the vectors at $0330 and $0332 to a new complete routine.
The BASIC program changes the vectors and "pokes" the new routines in the $02A1 - $02FF area.
The next question I asked myself is how do you handle the file name then ?
The answer I found is that the cursor and editing system still works when you play a Scott Adams game and so at any point you can clear the screen and just press enter and it will just tell you it didn't understand what you asked for and request again "What shall I do now ?"
So... clear the screen, type a series of 12 characters in the top left corner of the screen that will be used as file name, just move the cursor down once or twice, press enter and disregard the error message. At the request "What shall I do now ?" type SAVE GAME(RETURN)
Voilà...
Restoring a saved game is a case of knowing the method...
When you start the Scott Adams game, it will immediately ask you if you want to restore a saved game. It so happens the top line is blank.
First move the cursor to the top left cell, Yes you can simply type the HOME button, type the file name that contains the game you want to restore then move the cursor back down to the line where is was originally, type Y(RETURN).