- //state_fio->FputUint32(STATE_VERSION);
- //state_fio->FputInt32(this_device_id);
-
- //state_fio->Fwrite(ram, sizeof(ram), 1);
- //state_fio->FputUint8(memory_bank);
- //state_fio->Fwrite(color_table, sizeof(color_table), 1);
- //state_fio->FputUint8(char_color);
- //state_fio->FputUint8(back_color);
- //state_fio->FputUint8(mp1710_enb);
- //state_fio->FputUint8(screen_mode);
- //state_fio->FputBool(screen_reversed);
- //state_fio->FputBool(drec_bit);
- //state_fio->FputBool(drec_in);
- //state_fio->FputUint32(drec_clock);
- //state_fio->FputUint8(key_column);
- //state_fio->FputUint8(key_data);
- //state_fio->FputBool(nmi_enb);
- //state_fio->FputBool(break_pressed);
- //state_fio->FputUint8(sound_sample);
- //state_fio->FputDouble(sound_accum);
- //state_fio->FputUint32(sound_clock);
- //state_fio->FputUint32(sound_mix_clock);
-}
-
-bool MEMORY::load_state(FILEIO* state_fio)
-{
- bool mb = false;
- if(state_entry != NULL) {
- mb = state_entry->load_state(state_fio);