Previous 15994 Revisions Next

r15851 Saturday 11th August, 2012 at 17:53:46 UTC by Angelo Salese
[PC-8801]: Fixed regression with Daisenryaku 88 text tilemap
[src/mess/drivers]pc8801.c

src/mess/drivers/pc8801.c
r15850r15851
1010
1111    - add differences between various models;
1212    - implement proper upd3301 / i8257 support;
13    - mouse support;
13    - fix "jumps" in mouse support pointer (noticeable in Balance of Power);
1414    - RTC support;
1515    - Add limits for extend work RAM;
1616    - What happens to the palette contents when the analog/digital palette mode changes?
r15850r15851
3939    - Chitei Tanken: 200 B/W Mode, gfxs looks misplaced
4040    - Chou Bishoujo Densetsu CROQUIS: accesses ports 0xa0-0xa3 and 0xc2-0xc3
4141    - Combat: mono gfx mode enabled, but I don't see any noticeable quirk?
42    - Cranston Manor (actually N88-Basic demo): no sound
4243    - Fire Hawk: tries to r/w the opn ports (probably crashed due to floppy?)
4344    - Grobda: palette is ugly (parent pc8801 only);
4445   - Music Collection Vol. 2 - Final Fantasy Tokushuu: sound irq dies pretty soon
r15850r15851
7071   - Chikyuu Senshi Rayieza (fdc CPU crashes)
7172   - Choplifter
7273   - Columns (code at 0x28c8, copy protection)
74   - Corridor ("THIS SYSTEM NOT KOEI SYSTEM" printed on screen)
75   - Craze (returns to basic after logo pops up, tries to self-modify program data via the window offset?)
76   - Crimson
77   - Crimson 3
7378    - Cuby Panic (copy protection routine at 0x911A)
79    - Daidasso (prints "BOOT dekimasen" on screen, can't boot)
80    - Daikoukai Jidai
81   (Damages & Dice)
7482    - 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)
7583    - Harakiri
7684    - MakaiMura (attempts to r/w the sio ports, but it's clearly crashed)
r15850r15851
718726         }
719727         else // monochrome
720728         {
721            pal = (state->m_txt_color) ? 7 : 0; // TODO: annoyingly, Alpha color is currently black with this
722            gfx_mode = 0;
729            pal = 7; /* TODO: Bishoujo Baseball Gakuen wants this to be black somehow ... */
730            gfx_mode = (attr & 0x80) >> 7;
723731            reverse = (attr & 4) >> 2;
724732            secret = (attr & 1);
725733            upper = (attr & 0x10) >> 4;
r15850r15851
728736            pal|=8; //text pal bank
729737
730738            if(attr & 0x80)
739            {
731740               popmessage("Warning: mono gfx mode enabled, contact MESSdev");
741            }
732742         }
733743
734744         pc8801_draw_char(machine,bitmap,x,y,pal,gfx_mode,reverse,secret,blink,upper,lower,y_size,monitor_24KHz,!width);
r15850r15851
953963
954964      window_offset = (offset & 0x3ff) + (m_window_offset_bank << 8);
955965
956      if((window_offset & 0xf000) == 0xf000)
966      if(((window_offset & 0xf000) == 0xf000) && (m_misc_ctrl & 0x10))
957967         printf("Read from 0xf000 - 0xffff window offset\n"); //accessed by Castle Excellent, no noticeable quirk
958968
959969      if(((window_offset & 0xf000) == 0xf000) && (m_misc_ctrl & 0x10))
r15850r15851
972982
973983      if(m_misc_ctrl & 0x40)
974984      {
975         m_vram_sel = 3;
985         if(!space.debugger_access())
986            m_vram_sel = 3;
987
976988         if(m_alu_ctrl2 & 0x80)
977989            return pc8801_alu_r(space,offset & 0x3fff);
978990      }
r15850r15851
10121024
10131025         window_offset = (offset & 0x3ff) + (m_window_offset_bank << 8);
10141026
1015         if((window_offset & 0xf000) == 0xf000)
1027         if(((window_offset & 0xf000) == 0xf000) && (m_misc_ctrl & 0x10))
10161028            printf("Write to 0xf000 - 0xffff window offset\n"); //accessed by Castle Excellent, no noticeable quirk
10171029
10181030         if(((window_offset & 0xf000) == 0xf000) && (m_misc_ctrl & 0x10))
r15850r15851
10321044   {
10331045      if(m_misc_ctrl & 0x40)
10341046      {
1035         m_vram_sel = 3;
1047         if(!space.debugger_access())
1048            m_vram_sel = 3;
1049
10361050         if(m_alu_ctrl2 & 0x80)
10371051         {
10381052            pc8801_alu_w(space,offset & 0x3fff,data);
r15850r15851
12631277
12641278WRITE8_MEMBER(pc8801_state::pc8801_misc_ctrl_w)
12651279{
1280   /*
1281   x--- ---- sound irq mask, active low
1282   --x- ---- analog (1) / digital (0) palette select
1283   */
1284
12661285   m_misc_ctrl = data;
12671286
12681287   #ifdef USE_PROPER_I8214

Previous 15994 Revisions Next


© 1998-2018 The MESS Team