Previous 15994 Revisions Next

r15885 Monday 13th August, 2012 at 20:51:00 UTC by Angelo Salese
Preliminary addition of crtc inverse flag
[src/mess/drivers]pc8801.c

src/mess/drivers/pc8801.c
r15884r15885
3232    - American Success: reads the light pen?
3333    - Balance of Power: uses the SIO port for something ...
3434    - Bishoujo Baseball Gakuen: checks ym2608 after intro screen;
35    - The Black Onyx: writes a katakana msg: "rino kata ha koko ni orimasen" then doesn't show up anything. (Needs user disk?)
35    - The Black Onyx: writes a katakana msg: "sono kata ha koko ni orimasen" then doesn't show up anything. (Needs user disk?)
3636    - Campaign Ban Daisenryaku 2: Hangs at title screen?
3737    - Can Can Bunny: bitmap artifacts on intro, caused by a fancy usage of the attribute vram;
3838    - Can Can Bunny: no sound (regression);
39    - Chitei Tanken: 200 B/W Mode, gfxs looks misplaced
4039    - Chou Bishoujo Densetsu CROQUIS: accesses ports 0xa0-0xa3 and 0xc2-0xc3
4140    - Combat: mono gfx mode enabled, but I don't see any noticeable quirk?
4241    - Cranston Manor (actually N88-Basic demo): no sound
r15884r15885
8483   - Dennou Tsuushin
8584    - Door Door MK-2 (sets up TC in the middle of execution phase read then wants status bit 6 to be low PC=0x7050 of fdc cpu)
8685   - Dragon Slayer - The Legend of Heroes 2
87   - (DraSle Login)
86   - Dungeon Buster
8887    - Harakiri
8988    - MakaiMura (attempts to r/w the sio ports, but it's clearly crashed)
9089    - Mr. Pro Yakyuu
r15884r15885
235234{
236235   UINT8 cmd,param_count,cursor_on,status,irq_mask;
237236   UINT8 param[8][5];
237   UINT8 inverse;
238238} crtc_t;
239239
240240class pc8801_state : public driver_device
r15884r15885
745745            lower = (attr & 0x20) >> 5;
746746            blink = (attr & 2) >> 1;
747747            pal|=8; //text pal bank
748            reverse ^= state->m_crtc.inverse;
748749
749750            if(attr & 0x80)
750751            {
r15884r15885
14151416      case 1:  // start display
14161417         m_crtc.status |= 0x10;
14171418         m_crtc.status &= (~0x08);
1418         if(data & 1)
1419            printf("CRTC reverse display ON\n");
1419         m_crtc.inverse = data & 1;
1420
1421         if(data & 1) /* Ink Pot uses it, but I want another test case before removing this log */
1422            printf("CRTC inverse mode ON\n");
14201423         break;
14211424      case 2:  // set irq mask
14221425         m_crtc.irq_mask = data & 3;

Previous 15994 Revisions Next


© 1998-2018 The MESS Team