|
|
| version 1.76, 2004/02/29 03:10:02 | version 1.87, 2004/05/07 11:42:29 |
|---|---|
| Line 52 | Line 52 |
| "VX", PCBASECLOCK25, 4, | "VX", PCBASECLOCK25, 4, |
| {0x48, 0x05, 0x04, 0x00, 0x01, 0x00, 0x00, 0x6e}, | {0x48, 0x05, 0x04, 0x00, 0x01, 0x00, 0x00, 0x6e}, |
| 1, 1, 2, 1, 0x000000, 0xffffff, | 1, 1, 2, 1, 0x000000, 0xffffff, |
| 22050, 800, 4, 0, | 22050, 500, 4, 0, |
| {0, 0, 0}, 0xd1, 0x7f, 0xd1, 0, 0, 1, | {0, 0, 0}, 0xd1, 0x7f, 0xd1, 0, 0, 1, |
| 3, {0x0c, 0x0c, 0x08, 0x06, 0x03, 0x0c}, 64, 64, 64, 64, 64, | 3, {0x0c, 0x0c, 0x08, 0x06, 0x03, 0x0c}, 64, 64, 64, 64, 64, |
| 1, 0x82, | 1, 0x82, |
| Line 69 | Line 69 |
| 0, 0, | 0, 0, |
| 4 * PCBASECLOCK25}; | 4 * PCBASECLOCK25}; |
| static const BYTE msw_default[8] = | |
| {0x48, 0x05, 0x04, 0x00, 0x01, 0x00, 0x00, 0x6e}; | |
| BYTE screenupdate = 3; | BYTE screenupdate = 3; |
| int screendispflag = 1; | int screendispflag = 1; |
| int soundrenewal = 0; | int soundrenewal = 0; |
| Line 349 void pccore_reset(void) { | Line 346 void pccore_reset(void) { |
| bios_initialize(); | bios_initialize(); |
| if (np2cfg.ITF_WORK) { | CS_BASE = 0xf0000; |
| CS_BASE = 0xf0000; | CPU_CS = 0xf000; |
| CPU_CS = 0xf000; | CPU_IP = 0xfff0; |
| CPU_IP = 0xfff0; | |
| } | |
| else { | |
| for (i=0; i<8; i++) { | |
| mem[0xa3fe2 + i*4] = msw_default[i]; | |
| } | |
| CS_BASE = 0xfd800; | |
| CPU_CS = 0xfd80; | |
| CPU_IP = 0x0002; | |
| } | |
| CPU_CLEARPREFETCH(); | CPU_CLEARPREFETCH(); |
| sysmng_cpureset(); | sysmng_cpureset(); |
| Line 548 void screenvsync(NEVENTITEM item) { | Line 536 void screenvsync(NEVENTITEM item) { |
| // #define IPTRACE (1 << 12) | // #define IPTRACE (1 << 12) |
| #if defined(TRACE) && IPTRACE | #if defined(TRACE) && IPTRACE |
| static UINT trpos = 0; | static UINT trpos = 0; |
| static UINT32 treip[IPTRACE]; | static UINT32 treip[IPTRACE]; |
| void iptrace_out(void) { | void iptrace_out(void) { |
| Line 586 UINT cflg; | Line 574 UINT cflg; |
| #endif | #endif |
| void pccore_postevent(UINT32 event) { // yet! | |
| (void)event; | |
| } | |
| void pccore_exec(BOOL draw) { | void pccore_exec(BOOL draw) { |
| drawframe = draw; | drawframe = draw; |
| keystat_sync(); | // keystat_sync(); |
| soundmng_sync(); | soundmng_sync(); |
| mouseif_sync(); | mouseif_sync(); |
| pal_eventclear(); | pal_eventclear(); |
| Line 623 void pccore_exec(BOOL draw) { | Line 616 void pccore_exec(BOOL draw) { |
| #endif | #endif |
| } | } |
| #if 1 // ndef TRACE | #if 0 // ndef TRACE |
| if (CPU_REMCLOCK > 0) { | if (CPU_REMCLOCK > 0) { |
| if (!(CPU_TYPE & CPUTYPE_V30)) { | if (!(CPU_TYPE & CPUTYPE_V30)) { |
| CPU_EXEC(); | CPU_EXEC(); |
| Line 652 void pccore_exec(BOOL draw) { | Line 645 void pccore_exec(BOOL draw) { |
| CPU_DX, CPU_DS, CPU_DI, mem[0xa3fe0])); | CPU_DX, CPU_DS, CPU_DI, mem[0xa3fe0])); |
| } | } |
| #endif | #endif |
| // if ((CPU_CS == 0x2516) && (CPU_IP == 0x97B0)) { | #if 0 |
| // TRACEOUT(("DS = %.4x", CPU_DS)); | if (CPU_IP == 0x2E4F) { |
| // } | TRACEOUT(("CS = %.4x - 0x2e4f", CPU_CS)); |
| // i286x_step(); | } |
| i286c_step(); | #endif |
| if (CPU_CS == 0xfd80) { | |
| TRACEOUT(("%.4x:%.4x - %.2x", CPU_CS, CPU_IP, CPU_AH)); | |
| } | |
| i286x_step(); | |
| // i286c_step(); | |
| } | } |
| #endif | #endif |
| nevent_progress(); | nevent_progress(); |