|
|
| version 1.63, 2004/02/07 21:23:21 | version 1.69, 2004/02/18 03:24:48 |
|---|---|
| Line 34 | Line 34 |
| #include "np2ver.h" | #include "np2ver.h" |
| #include "calendar.h" | #include "calendar.h" |
| #include "timing.h" | #include "timing.h" |
| #include "keystat.h" | |
| #include "debugsub.h" | #include "debugsub.h" |
| Line 44 | Line 45 |
| 0, 0, 0, 0, | 0, 0, 0, 0, |
| {0x3e, 0x73, 0x7b}, 0, | {0x3e, 0x73, 0x7b}, 0, |
| 0, 0, {1, 1, 6, 1, 8, 1}, | 0, 0, {1, 1, 6, 1, 8, 1}, |
| {{0, {0, }}, {0, {0, }}}, | |
| "VX", PCBASECLOCK25, 4, | "VX", PCBASECLOCK25, 4, |
| {0x48, 0x05, 0x04, 0x00, 0x01, 0x00, 0x00, 0x6e}, | {0x48, 0x05, 0x04, 0x00, 0x01, 0x00, 0x00, 0x6e}, |
| Line 54 | Line 56 |
| 1, 0x82, | 1, 0x82, |
| 0, {0x17, 0x04, 0x1f}, {0x0c, 0x0c, 0x02, 0x10, 0x3f, 0x3f}, | 0, {0x17, 0x04, 0x1f}, {0x0c, 0x0c, 0x02, 0x10, 0x3f, 0x3f}, |
| 3, 1, 80, 0, 0, | 3, 1, 80, 0, 0, |
| {"", ""}, {"", "", "", ""}, "", "", ""}; | {"", ""}, |
| #if defined(SUPPORT_SCSI) | |
| {"", "", "", ""}, | |
| #endif | |
| "", "", ""}; | |
| PCCORE pccore = { PCBASECLOCK25, 4, | PCCORE pccore = { PCBASECLOCK25, 4, |
| 0, PCMODEL_VX, 0, 0, {0x3e, 0x73, 0x7b}, 0, | 0, PCMODEL_VX, 0, 0, {0x3e, 0x73, 0x7b}, 0, |
| Line 391 static void drawscreen(void) { | Line 397 static void drawscreen(void) { |
| tramflag.renewal |= 1; | tramflag.renewal |= 1; |
| } | } |
| if ((gdcs.textdisp & GDCSCRN_EXT) || // ver0.28 | if (gdcs.textdisp & GDCSCRN_EXT) { |
| (gdcs.grphdisp & GDCSCRN_EXT)) { | |
| gdc_updateclock(); | gdc_updateclock(); |
| } | } |
| if (drawframe) { | if (drawframe) { |
| if ((gdcs.textdisp & GDCSCRN_EXT) || // ver0.26 | if ((gdcs.textdisp & GDCSCRN_EXT) || |
| (gdcs.grphdisp & GDCSCRN_EXT)) { | (gdcs.grphdisp & GDCSCRN_EXT)) { |
| if (dispsync_renewalvertical()) { | if (dispsync_renewalvertical()) { |
| gdcs.textdisp |= GDCSCRN_ALLDRAW2; | gdcs.textdisp |= GDCSCRN_ALLDRAW2; |
| Line 589 UINT cflg; | Line 594 UINT cflg; |
| void pccore_exec(BOOL draw) { | void pccore_exec(BOOL draw) { |
| drawframe = draw; | drawframe = draw; |
| keyext_flash(); | keystat_sync(); |
| soundmng_sync(); | soundmng_sync(); |
| mouseif_sync(); | mouseif_sync(); |
| pal_eventclear(); | pal_eventclear(); |
| Line 638 void pccore_exec(BOOL draw) { | Line 643 void pccore_exec(BOOL draw) { |
| treip[trpos & (IPTRACE - 1)] = (CPU_CS << 16) + CPU_IP; | treip[trpos & (IPTRACE - 1)] = (CPU_CS << 16) + CPU_IP; |
| trpos++; | trpos++; |
| #endif | #endif |
| #if 1 | #if 0 |
| if ((CPU_CS == 0xf800) && (CPU_IP == 0x0B5B)) { | if ((CPU_CS == 0xf800) && (CPU_IP == 0x0B5B)) { |
| TRACEOUT(("%.2x %.2x %.2x %.2x %.2x %.2x %.2x %.2x %.2x %.2x", | TRACEOUT(("%.2x %.2x %.2x %.2x %.2x %.2x %.2x %.2x %.2x %.2x", |
| mem[0x9000], mem[0x9001], | mem[0x9000], mem[0x9001], |
| Line 675 void pccore_exec(BOOL draw) { | Line 680 void pccore_exec(BOOL draw) { |
| TRACEOUT(("%.4x:%.4x", CPU_CS, CPU_IP)); | TRACEOUT(("%.4x:%.4x", CPU_CS, CPU_IP)); |
| } | } |
| #endif | #endif |
| #if 1 // VX LIO | #if 0 // VX LIO |
| if (CPU_CS == 0xf990) { | if (CPU_CS == 0xf990) { |
| if (CPU_IP == 0x07BE) { | if (CPU_IP == 0x07BE) { |
| TRACEOUT(("%d,%d - %d,%d", CPU_BP, CPU_DX, CPU_SI, CPU_DI)); | TRACEOUT(("%d,%d - %d,%d", CPU_BP, CPU_DX, CPU_SI, CPU_DI)); |
| } | } |
| } | } |
| #endif | #endif |
| i286x_step(); | // i286x_step(); |
| // i286c_step(); | i286c_step(); |
| } | } |
| #endif | #endif |
| nevent_progress(); | nevent_progress(); |