Previous 199869 Revisions Next

r19339 Wednesday 5th December, 2012 at 17:03:31 UTC by Angelo Salese
Added Font select
[src/mess/drivers]pc9801.c

trunk/src/mess/drivers/pc9801.c
r19338r19339
3535   List of per-game TODO:
3636   - 4D Boxing: tries to format User Disk;
3737   - Absolutely Mahjong: Epson splash screen doesn't appear at all, why?
38   - Dragon Buster: has lots of gfx artifacts;
38   - Dragon Buster: missing bitplanes for the PCG, slight issue with window masking;
3939   - Far Side Moon: doesn't detect neither mouse nor sound board;
4040   - First Queen: has broken text display;
4141   - Flappy Plus: keyboard is unresponsive;
r19338r19339
542542
543543
544544#define WIDTH40_REG 2
545#define FONTSEL_REG 3
545546#define INTERLACE_REG 4
546547#define MEMSW_REG   6
547548#define DISPLAY_REG 7
r19338r19339
625626      return;
626627
627628   interlace_on = state->m_video_ff[INTERLACE_REG];
628   char_size = (interlace_on) ? 16 : 8;
629   char_size = state->m_video_ff[FONTSEL_REG] ? 16 : 8;
629630   tile = 0;
630631
631632   for(x=0;x<pitch;x++)
r19338r19339
662663//         tile&=0x7fff;
663664         kanji_sel = 1;
664665      }
665      attr = (state->m_video_ram_1[(tile_addr*2 & 0x1fff) | 0x2000] & 0x00ff);
666      attr = (state->m_video_ram_1[(tile_addr*2 & 0x1fff) | 0x2000] & 0xff);
666667
667668      secret = (attr & 1) ^ 1;
668669      //blink = attr & 2;
r19338r19339
692693               else if(pcg_sel)
693694                  tile_data = (state->m_pcg_ram[0xac000*2+tile*0x40+yi*2+pcg_lr]);
694695               else
695                  tile_data = (state->m_char_rom[tile*char_size+interlace_on*0x800+yi]);
696                  tile_data = (state->m_char_rom[tile*char_size+state->m_video_ff[FONTSEL_REG]*0x800+yi]);
696697            }
697698
698699            if(reverse) { tile_data^=0xff; }

Previous 199869 Revisions Next


© 1997-2024 The MAME Team