Previous 15994 Revisions Next

r6217 Thursday 29th October, 2009 at 23:14:59 UTC by Angelo Salese
[PC98]: Updated notes
[src/mess/drivers]pc98.c

src/mess/drivers/pc98.c
r6216r6217
88
99   TODO:
1010   - remove the A20 line hack
11   - Understand what's going on at bp f8dfa (memo: bp f8dfa, do eip=dff)
1211
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
1320========================================================================================
1421
1522    This series features a huge number of models released between 1982 and 1997. They
r6216r6217
274281
275282               color = pen[2]<<2|pen[1]<<1|pen[0]<<0;
276283
284               if(attr & 4)
285                  color^=7;
286
277287               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)
278288                  *BITMAP_ADDR16(bitmap, y*8+yi, (x*2+1)*8+xi) = screen->machine->pens[color];
279289
r6216r6217
288298
289299               color = pen[2]<<2|pen[1]<<1|pen[0]<<0;
290300
301               if(attr & 4)
302                  color^=7;
303
291304               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)
292305                  *BITMAP_ADDR16(bitmap, y*8+yi, (x*2+0)*8+xi) = screen->machine->pens[color];
293306            }

Previous 15994 Revisions Next


© 1998-2018 The MESS Team