Previous 199869 Revisions Next

r19494 Wednesday 12th December, 2012 at 14:55:29 UTC by Angelo Salese
Added y register [3]
[src/mess/drivers]pc9801.c

trunk/src/mess/drivers/pc9801.c
r19493r19494
3838   floppy issues TODO (certain fail)
3939   - 46 Okunen Monogatari - The Shinkaron
4040   - AD&D Champions of Krynn
41   - Aoki Ookami no Shiroki Mejika - Gengis Khan
4142   - Bokosuka Wars
4243   - Dokkin Minako Sensei (2dd image)
4344   - Jangou 2: floppy fails to load after the title screen;
r19493r19494
5657   - Animahjong V3: accesses port 0x88, tile selection pointer has a gfx clearance bug;
5758   - Anniversary - Memories of Summer: thinks that a button is pressed, has window masking bugs during intro;
5859   - Another Genesis: fails loading;
60   - Apple Club 1: how to pass?
61   (Applesauce Pirates)
5962
6063   - Brandish 2: Intro needs some window masking effects;
6164   - Dragon Buster: missing bitplanes for the PCG (or not?), slight issue with window masking;
r19493r19494
6972   - Uchiyama Aki no Chou Bangai: keyboard irq is fussy (sometimes it doesn't register a key press);
7073   - Uno: uses EGC
7174
75   Notes:
76   - Apple Club 1/2 needs data disks to load properly;
77
7278========================================================================================
7379
7480    This series features a huge number of models released between 1982 and 1997. They
r19493r19494
341347
342348   UINT8 m_vrtc_irq_mask;
343349   UINT8 m_video_ff[8],m_gfx_ff;
344   UINT8 m_video_reg[6];
350   UINT8 m_txt_scroll_reg[8];
345351   UINT8 m_pal_clut[4];
346352
347353   UINT8 *m_tvram;
r19493r19494
739745            int res_x,res_y;
740746
741747            res_x = (x*8+xi) * (state->m_video_ff[WIDTH40_REG]+1);
742            res_y = y*lr+yi;
748            res_y = y*lr+yi - (state->m_txt_scroll_reg[3] & 0xf);
743749
744750            if(!device->machine().primary_screen->visible_area().contains(res_x, res_y))
745751               continue;
r19493r19494
11621168{
11631169   if((offset & 1) == 0)
11641170   {
1165      printf("Write to display register [%02x] %02x\n",offset+0x70,data);
1166      m_video_reg[offset >> 1] = data;
1171//      printf("Write to display register [%02x] %02x\n",offset+0x70,data);
1172      m_txt_scroll_reg[offset >> 1] = data;
1173
1174      //popmessage("%02x %02x %02x %02x",m_txt_scroll_reg[0],m_txt_scroll_reg[1],m_txt_scroll_reg[2],m_txt_scroll_reg[3]);
11671175   }
11681176   else // odd
11691177   {

Previous 199869 Revisions Next


© 1997-2024 The MAME Team