mirror of
https://github.com/holub/mame
synced 2025-06-26 14:24:12 +03:00
Merge pull request #1008 from bmunger/r9751
r9751: Add save state support, document progress, and clean up [Brandon Munger]
This commit is contained in:
commit
c3d64a5693
@ -324,6 +324,19 @@ pdc_device::pdc_device(const machine_config &mconfig, const char *tag, device_t
|
||||
|
||||
void pdc_device::device_start()
|
||||
{
|
||||
|
||||
/* Save States */
|
||||
save_item(NAME(reg_p0));
|
||||
save_item(NAME(reg_p1));
|
||||
save_item(NAME(reg_p2));
|
||||
save_item(NAME(reg_p3));
|
||||
save_item(NAME(reg_p4));
|
||||
save_item(NAME(reg_p5));
|
||||
save_item(NAME(reg_p6));
|
||||
save_item(NAME(reg_p7));
|
||||
save_item(NAME(reg_p21));
|
||||
save_item(NAME(reg_p38));
|
||||
save_item(NAME(fdd_68k_dma_address));
|
||||
}
|
||||
|
||||
//-------------------------------------------------
|
||||
|
@ -29,6 +29,21 @@
|
||||
* Memory map:
|
||||
* * 0x00000000 - 0x00ffffff : RAM 12MB to 16MB known, up to 128MB?
|
||||
* * 0x08000000 - 0x0800ffff : PROM Region
|
||||
* * 0x5ff00000 - 0x5fffffff : System boards
|
||||
* * 0xff010000 - 0xfff8ffff : CPU board registers
|
||||
*
|
||||
* Working:
|
||||
* * Floppy Disk IO (PDC device)
|
||||
* * SMIOC terminal (preliminary)
|
||||
*
|
||||
* TODO:
|
||||
* * Identify registers required for OS booting
|
||||
* * Hard disk support
|
||||
* * SMIOC ports (1-8)
|
||||
* * Identify various LED registers for system boards
|
||||
* * ROLMLink (RLI) board support
|
||||
* * Analog Telephone Interface (ATI) board support
|
||||
* * T1 (T1DN) board support
|
||||
*
|
||||
******************************************************************************/
|
||||
|
||||
@ -161,6 +176,17 @@ DRIVER_INIT_MEMBER(r9751_state,r9751)
|
||||
m_mem = &m_maincpu->space(AS_PROGRAM);
|
||||
|
||||
m_maincpu->interface<m68000_base_device>(ptr_m68000);
|
||||
|
||||
/* Save states */
|
||||
save_item(NAME(reg_ff050004));
|
||||
save_item(NAME(reg_fff80040));
|
||||
save_item(NAME(fdd_dest_address));
|
||||
save_item(NAME(fdd_cmd_complete));
|
||||
save_item(NAME(smioc_out_addr));
|
||||
save_item(NAME(smioc_dma_bank));
|
||||
save_item(NAME(fdd_dma_bank));
|
||||
save_item(NAME(timer_32khz_last));
|
||||
|
||||
}
|
||||
|
||||
void r9751_state::machine_reset()
|
||||
|
Loading…
Reference in New Issue
Block a user