Previous 199869 Revisions Next

r19188 Wednesday 28th November, 2012 at 14:57:37 UTC by Angelo Salese
Fixed compile warning
[src/mess/drivers]pc9801.c

trunk/src/mess/drivers/pc9801.c
r19187r19188
2020    - fix CPU for some clones;
2121    - "cache error"
2222    - undumped IDE ROM, kludged to work
23   - slave PIC never enables floppy IRQ (PC=0xffd08)
2324
24
2525    TODO: (PC-486MU)
2626    - Tries to read port C of i8255_sys (-> 0x35) at boot without setting up the control
2727      port. This causes a jump to invalid program area;
r19187r19188
546546   int x;
547547   UINT8 char_size,interlace_on;
548548   UINT8 kanji_on;
549   UINT16 tile;
549550
550551   if(state->m_video_ff[DISPLAY_REG] == 0) //screen is off
551552      return;
r19187r19188
553554   interlace_on = state->m_video_reg[2] == 0x10; /* TODO: correct? */
554555   char_size = (interlace_on) ? 16 : 8;
555556   kanji_on = 0;
557   tile = 0;
556558
557559   for(x=0;x<pitch;x++)
558560   {
r19187r19188
560562      UINT8 color;
561563      UINT8 attr,pen;
562564      UINT32 tile_addr;
563      UINT16 tile;
564565      UINT8 knj_tile;
565566
566567      tile_addr = addr+(x*(state->m_video_ff[WIDTH40_REG]+1));

Previous 199869 Revisions Next


© 1997-2024 The MAME Team