Login
Search for:


Previous | Next

From: Marko_Mäkelä
Date: 1998-09-15
Subject: Re: Snapshot files for emulators
On Tue, 15 Sep 1998, Rajnai Almos wrote:

> 15-23 TED special: 9 bytes of special values, required by proper TED
> emulation.

They are not enough. You need to store not only the current raster line,
but also the horizontal position, for instance. And not only the timer value that will be loaded when the timer next reaches zero, but also the current timer state. Also, I didn't see anything about the current values of sound registers or even about the values to be loaded to them.

Storing only the registers that can be directly read by the 7501 processor is not enough, you also have to store some internal states.

It would make sense to have some sort of tagged file format, so that you can add sections to the file later, and programs that don't recognize the sections (e.g. detailed state of the sound emulation) can simply skip over them. And the format could be changed later without having to be incompatible with old versions.

Marko

Copyright © Plus/4 World Team, 2001-2024. Support Plus/4 World on Patreon