src/mess/drivers/pc98.c
| r6216 | r6217 | |
| 8 | 8 | |
| 9 | 9 | TODO: |
| 10 | 10 | - remove the A20 line hack |
| 11 | | - Understand what's going on at bp f8dfa (memo: bp f8dfa, do eip=dff) |
| 12 | 11 | |
| 12 | Debug tricks list (aka list of things that should be fixed): |
| 13 | - run a first time without doing anything; |
| 14 | - call the debugger then soft reset (the debugger will be called after the reset because the CPU is into an halt state); |
| 15 | - wpiset 35,1,r -> do eip=90 -> bpset f926c -> do eip=128d -> run until HALT |
| 16 | - soft reset -> wpiset 35,1,r -> do eip=90 again -> run until HALT |
| 17 | - soft reset -> modify I/O $43d with a 0x02 (should bankswitch with the basic ROM) -> run |
| 18 | - modify memory 0x53c from 0xc4 to 0x84 two times |
| 19 | |
| 13 | 20 | ======================================================================================== |
| 14 | 21 | |
| 15 | 22 | This series features a huge number of models released between 1982 and 1997. They |
| r6216 | r6217 | |
| 274 | 281 | |
| 275 | 282 | color = pen[2]<<2|pen[1]<<1|pen[0]<<0; |
| 276 | 283 | |
| 284 | if(attr & 4) |
| 285 | color^=7; |
| 286 | |
| 277 | 287 | if(((x*2+1)*8+xi)<video_screen_get_visible_area(screen->machine->primary_screen)->max_x && (y*8+yi)<video_screen_get_visible_area(screen->machine->primary_screen)->max_y) |
| 278 | 288 | *BITMAP_ADDR16(bitmap, y*8+yi, (x*2+1)*8+xi) = screen->machine->pens[color]; |
| 279 | 289 | |
| r6216 | r6217 | |
| 288 | 298 | |
| 289 | 299 | color = pen[2]<<2|pen[1]<<1|pen[0]<<0; |
| 290 | 300 | |
| 301 | if(attr & 4) |
| 302 | color^=7; |
| 303 | |
| 291 | 304 | if(((x*2+0)*8+xi)<video_screen_get_visible_area(screen->machine->primary_screen)->max_x && (y*8+yi)<video_screen_get_visible_area(screen->machine->primary_screen)->max_y) |
| 292 | 305 | *BITMAP_ADDR16(bitmap, y*8+yi, (x*2+0)*8+xi) = screen->machine->pens[color]; |
| 293 | 306 | } |