|
|
| version 1.8, 2003/12/12 01:04:39 | version 1.9, 2004/01/22 01:10:03 |
|---|---|
| Line 264 void bios0x18(void) { | Line 264 void bios0x18(void) { |
| break; | break; |
| case 0x0a: // CRTモードの設定 | case 0x0a: // CRTモードの設定 |
| #if 1 | |
| mem[MEMB_CRT_STS_FLAG] = 0x80 | (CPU_AL & 0x0f); | mem[MEMB_CRT_STS_FLAG] = 0x80 | (CPU_AL & 0x0f); |
| // GDCバッファを空に | // GDCバッファを空に |
| if (gdc.m.cnt) { | if (gdc.m.cnt) { |
| Line 304 void bios0x18(void) { | Line 303 void bios0x18(void) { |
| gdcs.textdisp |= GDCSCRN_ALLDRAW2; | gdcs.textdisp |= GDCSCRN_ALLDRAW2; |
| gdc_restorekacmode(); | gdc_restorekacmode(); |
| break; | break; |
| #else | |
| // GDCバッファを空に | |
| if (gdc.m.cnt) { | |
| gdc_work(GDCWORK_MASTER); | |
| } | |
| gdc_forceready(&gdc.m); | |
| mem[MEMB_CRT_STS_FLAG] = CPU_AL; | |
| if (systemport_r(0x33) & 0x08) { | |
| mem[MEMB_CRT_STS_FLAG] |= 0x80; | |
| } | |
| #endif | |
| case 0x0b: // CRTモードのセンス | case 0x0b: // CRTモードのセンス |
| CPU_AL = mem[MEMB_CRT_STS_FLAG]; | CPU_AL = mem[MEMB_CRT_STS_FLAG]; |