- memset(Pico_mcd->bios + 0x70, 0xff, 4); // reset hint vector (simplest way to implement reg6)
- Pico_mcd->m.state_flags = 0;
- Pico_mcd->s68k_regs[3] = 1; // 2M word RAM mode with m68k access after reset
+ cdc_init();
+ gfx_init();
+
+ // cold reset state (tested)
+ Pico_mcd->m.state_flags = PCD_ST_S68K_RST;
+ Pico_mcd->m.busreq = 2; // busreq on, s68k in reset
+ Pico_mcd->s68k_regs[3] = 1; // 2M word RAM mode, m68k access
+ memset(Pico_mcd->bios + 0x70, 0xff, 4);
+}
+
+void pcd_soft_reset(void)
+{
+ elprintf(EL_CD, "cd: soft reset");