jhuscott / virtualc64

Automatically exported from code.google.com/p/virtualc64
0 stars 0 forks source link

VirtualComponents need "tellMeYourConfiguration" feature #146

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Problem: 

If you read in a snapshot, some configuration parameters might have changed 
(PAL to NTSC for example, disc drive LED)
The does not notice this change.

Idee: 

Implement "tellMeYourConfiguration":

If invoked, each components writes its configuration into the message queue and 
the GUI will update properly.

Invoke this function automatically after loadSnapshot

TO BE CLEAN: 

Determine for each feature if it's a snapshotted feature or a stable feature ( 
won't be overwritten when a new snapshot file is loaded) 

E.g., driveLED is snapshotted, debugRasterlines is stable (not snapshotted) 

How do we call them? 

Internal state: Everything that is snapshotted
Configuration: Everything that keeps its value unless the user changes it

Idee: Only "configuration" features appear in the configuration dialog 
(PAL/NTSC in toolbar, then?)

Original issue reported on code.google.com by dirk.hof...@gmail.com on 2 Jan 2015 at 10:12

GoogleCodeExporter commented 9 years ago
fixed

VirtualComponents now have a ping() method

Original comment by dirk.hof...@gmail.com on 15 Jan 2015 at 3:03