|
|
| version 1.33, 2005/05/13 05:46:24 | version 1.35, 2005/05/15 18:48:36 |
|---|---|
| Line 235 static void b0patch(void) { | Line 235 static void b0patch(void) { |
| REG8 c; | REG8 c; |
| REG8 cl; | REG8 cl; |
| REG8 last; | REG8 last; |
| addr = ES_BASE + CPU_BP; | addr = CPU_BP; |
| size = CPU_BX; | size = CPU_BX; |
| cnt = 0; | cnt = 0; |
| last = 0; | last = 0; |
| while(size--) { | while(size--) { |
| c = i286_memoryread(addr++); | c = MEML_READ8(ES_BASE, addr++); |
| cl = 0; | cl = 0; |
| do { | do { |
| REG8 now = c & 0x80; | REG8 now = c & 0x80; |
| Line 264 static void b0patch(void) { | Line 264 static void b0patch(void) { |
| } | } |
| } | } |
| if ((b0p.pos >> 3) < CPU_BX) { | if ((b0p.pos >> 3) < CPU_BX) { |
| UINT32 addr; | UINT addr; |
| REG8 c; | REG8 c; |
| addr = ES_BASE + CPU_BP + (b0p.pos >> 3); | addr = CPU_BP + (b0p.pos >> 3); |
| c = i286_memoryread(addr); | c = MEML_READ8(CPU_ES, addr); |
| c ^= (1 << (b0p.pos & 7)); | c ^= (1 << (b0p.pos & 7)); |
| b0p.pos++; | b0p.pos++; |
| i286_memorywrite(addr, c); | MEML_WRITE8(CPU_ES, addr, c); |
| } | } |
| } | } |
| } | } |
| Line 980 UINT bios0x1b_wait(void) { | Line 980 UINT bios0x1b_wait(void) { |
| REG8 bit; | REG8 bit; |
| if (fddmtr.busy) { | if (fddmtr.busy) { |
| CPU_IP--; | |
| CPU_REMCLOCK = -1; | CPU_REMCLOCK = -1; |
| } | } |
| else { | else { |