|
|
| version 1.4, 2004/03/10 23:01:07 | version 1.5, 2004/03/19 00:30:00 |
|---|---|
| Line 1 | Line 1 |
| #include "compiler.h" | |
| #include "cpucore.h" | |
| #include "pccore.h" | |
| #include "iocore.h" | |
| #include "bios.h" | |
| #include "biosmem.h" | |
| // ¤¤¤é¤Í | |
| void bios0x08(void) { | |
| UINT16 catimcnt; | |
| catimcnt = GETBIOSMEM16(MEMW_CA_TIM_CNT); | |
| catimcnt--; | |
| SETBIOSMEM16(MEMW_CA_TIM_CNT, catimcnt); | |
| if (catimcnt == 0) { | |
| pic.pi[0].imr |= PIC_SYSTEMTIMER; | |
| iocore_out8(0x00, 0x20); | |
| CPU_INTERRUPT(7, -1); | |
| } | |
| else { | |
| iocore_out8(0x00, 0x20); | |
| bios0x1c_03(); | |
| } | |
| } | |