src/mess/drivers/pc8801.c
| r15900 | r15901 | |
| 36 | 36 | - Combat: mono gfx mode enabled, but I don't see any noticeable quirk? |
| 37 | 37 | - Cranston Manor (actually N88-Basic demo): no sound |
| 38 | 38 | - Datenshi Kyouko: gfx garbage on the right edge? |
| 39 | - Final Crisis: sound stuck with OPNA? |
| 39 | 40 | - Fire Hawk: tries to r/w the opn ports (probably crashed due to floppy?) |
| 41 | - Gegege no Kitarou: title screen text/bitmap contrast is pretty ugly (BTANB?); |
| 40 | 42 | - Grobda: palette is ugly (parent pc8801 only); |
| 41 | 43 | - Music Collection Vol. 2 - Final Fantasy Tokushuu: sound irq dies pretty soon |
| 42 | | - N88 Nihongo BASIC (app): cursor is too big? |
| 44 | - N-BASIC: cursor doesn't show up; |
| 45 | - Star Cruiser: bad kanji data? |
| 46 | - Star Cruiser: reads at i/o 0x8e? |
| 43 | 47 | - Wanderers from Ys: user data disk looks screwed? It loads with everything as maximum as per now ... |
| 44 | 48 | - Xevious: game is too fast (parent pc8801 only) |
| 45 | 49 | |
| r15900 | r15901 | |
| 91 | 95 | - F-15 Strike Eagle |
| 92 | 96 | - F2 Grand Prix ("Boot dekimasen") |
| 93 | 97 | - Fangs - The Saga of Wolf Blood (Crashes at the first random battle) |
| 98 | - Fantasian |
| 99 | - Final Zone |
| 100 | - Final Zone (demo) |
| 101 | - Fruit Panic |
| 102 | - FSD Sample Ongaku Shuu Vol. 1-7 |
| 103 | - Gaia no Kiba |
| 104 | - Gaiflame |
| 105 | - Gambler Jiko Chuushin ha |
| 106 | - Gambler Jiko Chuushin ha 2 |
| 107 | - Gambler Jiko Chuushin ha 3 |
| 108 | - Gambler Jiko Chuushin ha 3 (demo) |
| 109 | - Gambler Jiko Chuushin ha Mahjong Puzzle Collection |
| 110 | - Gambler Jiko Chuushin ha Mahjong Puzzle Collection (demo) |
| 111 | - Game Music Library |
| 112 | - Gaudi - Barcelona no Kaze (bad Wolfteam logo then black screen) |
| 113 | - GC-clusterz Music Disk Vol. 1-7 |
| 114 | - Genji |
| 115 | - Gokuraku Tengoku |
| 116 | - Grodius 3 (might not be floppy) |
| 117 | - Gun Ship (at gameplay) |
| 118 | (Hacker) |
| 94 | 119 | |
| 95 | 120 | - Harakiri |
| 96 | 121 | - Kaseijin (app) (code snippet is empty at some point) |
| r15900 | r15901 | |
| 772 | 797 | } |
| 773 | 798 | else // monochrome |
| 774 | 799 | { |
| 775 | | pal = 7; /* TODO: Bishoujo Baseball Gakuen wants this to be black somehow ... */ |
| 800 | pal = 7; /* TODO: Bishoujo Baseball Gakuen Pasoket logo wants this to be black somehow ... */ |
| 776 | 801 | gfx_mode = (attr & 0x80) >> 7; |
| 777 | 802 | reverse = (attr & 4) >> 2; |
| 778 | 803 | secret = (attr & 1); |
| r15900 | r15901 | |
| 2142 | 2167 | PORT_BIT( 0xfc, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 2143 | 2168 | |
| 2144 | 2169 | PORT_START("MOUSEX") |
| 2145 | | PORT_BIT( 0xff, 0x00, IPT_MOUSE_X ) PORT_RESET PORT_REVERSE PORT_SENSITIVITY(5) PORT_KEYDELTA(5) PORT_PLAYER(1) PORT_CONDITION("BOARD_CONFIG", 0x02, EQUALS, 0x02) |
| 2170 | PORT_BIT( 0xff, 0x00, IPT_MOUSE_X ) PORT_RESET PORT_REVERSE PORT_SENSITIVITY(20) PORT_KEYDELTA(20) PORT_PLAYER(1) PORT_CONDITION("BOARD_CONFIG", 0x02, EQUALS, 0x02) |
| 2146 | 2171 | |
| 2147 | 2172 | PORT_START("MOUSEY") |
| 2148 | | PORT_BIT( 0xff, 0x00, IPT_MOUSE_Y ) PORT_RESET PORT_REVERSE PORT_SENSITIVITY(5) PORT_KEYDELTA(5) PORT_PLAYER(1) PORT_CONDITION("BOARD_CONFIG", 0x02, EQUALS, 0x02) |
| 2173 | PORT_BIT( 0xff, 0x00, IPT_MOUSE_Y ) PORT_RESET PORT_REVERSE PORT_SENSITIVITY(20) PORT_KEYDELTA(20) PORT_PLAYER(1) PORT_CONDITION("BOARD_CONFIG", 0x02, EQUALS, 0x02) |
| 2149 | 2174 | |
| 2150 | 2175 | PORT_START("MEM") |
| 2151 | 2176 | PORT_CONFNAME( 0x0f, 0x0a, "Extension memory" ) |
| r15900 | r15901 | |
| 2540 | 2565 | |
| 2541 | 2566 | /* YM2203 Interface */ |
| 2542 | 2567 | |
| 2543 | | /* TODO: mouse routing (that's why I don't use DEVCB_INPUT_PORT here) */ |
| 2544 | 2568 | static READ8_DEVICE_HANDLER( opn_porta_r ) |
| 2545 | 2569 | { |
| 2546 | 2570 | pc8801_state *state = device->machine().driver_data<pc8801_state>(); |
| r15900 | r15901 | |
| 2552 | 2576 | shift = (state->m_mouse.phase & 1) ? 0 : 4; |
| 2553 | 2577 | res = (state->m_mouse.phase & 2) ? state->m_mouse.y : state->m_mouse.x; |
| 2554 | 2578 | |
| 2555 | | // popmessage("%02x %02x",state->m_mouse.x,state->m_mouse.y); |
| 2556 | 2579 | // printf("%d\n",state->m_mouse.phase); |
| 2557 | 2580 | |
| 2558 | 2581 | return ((res >> shift) & 0x0f) | 0xf0; |
| r15900 | r15901 | |
| 2681 | 2704 | MCFG_SPEAKER_STANDARD_MONO("mono") |
| 2682 | 2705 | MCFG_SOUND_ADD("opn", YM2203, MASTER_CLOCK) |
| 2683 | 2706 | MCFG_SOUND_CONFIG(pc88_ym2203_intf) |
| 2684 | | MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25) |
| 2707 | MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.00) |
| 2685 | 2708 | |
| 2686 | | MCFG_SOUND_ADD("opna", YM2608, MASTER_CLOCK*2) // TODO: irq timing issue? |
| 2709 | MCFG_SOUND_ADD("opna", YM2608, MASTER_CLOCK*2) |
| 2687 | 2710 | MCFG_SOUND_CONFIG(pc88_ym2608_intf) |
| 2688 | | MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25) |
| 2711 | MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.00) |
| 2689 | 2712 | |
| 2690 | 2713 | MCFG_SOUND_ADD(BEEPER_TAG, BEEP, 0) |
| 2691 | 2714 | MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.10) |