Vice State Loader

You need an actual VIC.

Moderator: Moderators

Post Reply
Vic20-Ian
Vic 20 Scientist
Posts: 1224
Joined: Sun Aug 24, 2008 1:58 pm

Vice State Loader

Post by Vic20-Ian »

Strange noodling while preparing to meet up with arch Swedish coder tomorrow evening in Vasteras.


How about a loader programme that could read VICE snapshot files.

e.g. Read Snapshot header containing states into tape buffer, load bulk of memory back into place , poke all the states back into place and jump to execution pointer?

Probably not possible and more likely not even needed just wondered if it could be done. :)
Vic20-Ian

The best things in life are Vic-20

Upgrade all new gadgets and mobiles to 3583 Bytes Free today! Ready
User avatar
Pedro Lambrini
Vic 20 Scientist
Posts: 1132
Joined: Mon Dec 01, 2008 11:36 am

Post by Pedro Lambrini »

It would be handy for saving high scores. That always drove me crazy about Vic games. Why couldn't they be coded to allow you to insert a blank tape or something and save you scores to that, why?! :P

Obviously, as an adult I'm a little more philosophical about this situation but Ians suggestion could be good if it's possible. :)
"...That of the Eastern tribe being like a multitude of colours as if a rainbow had settled upon its brow..." Daniels 1:3
Vic20-Ian
Vic 20 Scientist
Posts: 1224
Joined: Sun Aug 24, 2008 1:58 pm

Post by Vic20-Ian »

Building on that could we have a Vic Action Replay cartridge to save and restore the vic state to disk or better uIEC?

The Action Replay type cart should save and restore Vice format files.

Play on the vic at home, action replay store to uIEC, take the SD with you and carry on on Vice on the laptop. :wink:
Vic20-Ian

The best things in life are Vic-20

Upgrade all new gadgets and mobiles to 3583 Bytes Free today! Ready
tlr
Vic 20 Nerd
Posts: 594
Joined: Mon Oct 04, 2004 10:53 am

Post by tlr »

Something like this has been done by 1570 for the C64DTV emulation in vice.
It is a PC program that converts a snapshot file into an executable file for the DTV.
here: VSFReanimator

The same could be done for the vic20 emulation.
Vic20-Ian
Vic 20 Scientist
Posts: 1224
Joined: Sun Aug 24, 2008 1:58 pm

Post by Vic20-Ian »

Thanks TLR. Nice to know crazy ideas are not that crazy sometimes.

It could basically give us the ability to high score save or pause and continue anything on the Vic.

Imagine, plug a cart in the vic with SD card support, when you hit reset the Vic state is dumped to SD card in Vice snapshot format. Load it back up in Vice or reset the vic and reload from the SD at a later time.

The cart could be simpler if it was used in conjunction with uIEC.
Vic20-Ian

The best things in life are Vic-20

Upgrade all new gadgets and mobiles to 3583 Bytes Free today! Ready
tlr
Vic 20 Nerd
Posts: 594
Joined: Mon Oct 04, 2004 10:53 am

Post by tlr »

Vic20-Ian wrote:Imagine, plug a cart in the vic with SD card support, when you hit reset the Vic state is dumped to SD card in Vice snapshot format. Load it back up in Vice or reset the vic and reload from the SD at a later time.
This is basically what a freezer does for the c64.
Implementing it for the vic-20 is non-trivial because of architectural differences.
Vic20-Ian
Vic 20 Scientist
Posts: 1224
Joined: Sun Aug 24, 2008 1:58 pm

Post by Vic20-Ian »

Yes basically it is a freezer cart idea but I would like to extend it so that the frozen image could be used with Vice away from home on a laptop and then a vice snapshot with new highscores could be put on SD card and loaded back to the real Vic20
Vic20-Ian

The best things in life are Vic-20

Upgrade all new gadgets and mobiles to 3583 Bytes Free today! Ready
Post Reply