trunk/src/mess/drivers/pc9801.c
| r19817 | r19818 | |
| 69 | 69 | - Absolutely Mahjong: Transitions are too fast. |
| 70 | 70 | - Agumix Selects!: needs GDC = 5 MHz, interlace doesn't work properly; |
| 71 | 71 | - Alice no Yakata: doesn't set bitmap interlace properly, can't do disk swaps via the File Manager; |
| 72 | | - Animahjong V3: accesses port 0x88; |
| 73 | 72 | - Anniversary - Memories of Summer: thinks that a button is pressed; |
| 74 | 73 | - Another Genesis: fails loading; |
| 75 | 74 | - Apple Club 1: how to pass an hand? |
| r19817 | r19818 | |
| 82 | 81 | - Bakasuka Wars: drawing seems busted (either mouse or upd7220) |
| 83 | 82 | - Band-Kun: (how to run this without installing?) |
| 84 | 83 | - Battle Chess: wants some dip-switches to be on in DSW4, too slow during IA thinking? |
| 85 | | - Bishoujo Audition: Moans with a "(program) ended. remove the floppy disk and turn off the poewr." |
| 84 | - Bishoujo Audition: Moans with a "(program) ended. remove the floppy disk and turn off the power." |
| 86 | 85 | - Bishoujo Hunter ZX: Doesn't color cycle at intro (seems stuck?), doesn't clear text selection at new game screen; |
| 87 | 86 | - Bishoujo Shanshinkan: has white rectangles all over the place; |
| 88 | 87 | - Bishoujo Tsuushin: hangs with a beep while writing some intro text; |
| r19817 | r19818 | |
| 104 | 103 | - Policenauts: EMS error at boot; |
| 105 | 104 | |
| 106 | 105 | Notes: |
| 106 | - Animahjong V3 is your typical game with dual sound board support (generally OPN is used for SFX / samples and OPNA for BGM). |
| 107 | 107 | - Apple Club 1/2 needs data disks to load properly; |
| 108 | 108 | - Beast Lord: needs a titan.fnt, in MS-DOS |
| 109 | 109 | |
| r19817 | r19818 | |
| 3736 | 3736 | |
| 3737 | 3737 | static MACHINE_CONFIG_FRAGMENT( pc9801_cbus ) |
| 3738 | 3738 | MCFG_PC9801CBUS_SLOT_ADD("cbus0", pc9801_cbus, "pc9801_26", NULL) |
| 3739 | | // MCFG_PC9801CBUS_SLOT_ADD("cbus1", pc9801_cbus, NULL, NULL) |
| 3739 | MCFG_PC9801CBUS_SLOT_ADD("cbus1", pc9801_cbus, NULL, NULL) |
| 3740 | 3740 | // TODO: six max slots |
| 3741 | 3741 | MACHINE_CONFIG_END |
| 3742 | 3742 | |
trunk/src/mess/machine/pc9801_118.c
| r19817 | r19818 | |
| 6 | 6 | |
| 7 | 7 | TODO: |
| 8 | 8 | - preliminary, presumably needs CS-4231 too |
| 9 | - joystick code should be shared between -26, -86 and -118 |
| 9 | 10 | |
| 10 | 11 | ***************************************************************************/ |
| 11 | 12 | |
| r19817 | r19818 | |
| 96 | 97 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(2) PORT_NAME("P2 Joystick Button 2") |
| 97 | 98 | PORT_BIT( 0xc0, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 98 | 99 | |
| 99 | | // PORT_START("OPN_DSW") |
| 100 | | // PORT_CONFNAME( 0x01, 0x01, "PC-9801-118: Port Base" ) |
| 101 | | // PORT_CONFSETTING( 0x00, "0x088" ) |
| 102 | | // PORT_CONFSETTING( 0x01, "0x188" ) |
| 100 | PORT_START("OPN3_DSW") |
| 101 | PORT_CONFNAME( 0x01, 0x00, "PC-9801-118: Port Base" ) |
| 102 | PORT_CONFSETTING( 0x00, "0x088" ) |
| 103 | PORT_CONFSETTING( 0x01, "0x188" ) |
| 103 | 104 | INPUT_PORTS_END |
| 104 | 105 | |
| 105 | 106 | ioport_constructor pc9801_118_device::device_input_ports() const |
| r19817 | r19818 | |
| 170 | 171 | |
| 171 | 172 | void pc9801_118_device::device_start() |
| 172 | 173 | { |
| 173 | | UINT16 port_base = 0x100;//(ioport("OPN_DSW")->read() & 1) << 8; |
| 174 | | install_device(port_base + 0x0088, port_base + 0x008f, 0, 0, read8_delegate(FUNC(pc9801_118_device::pc9801_118_r), this), write8_delegate(FUNC(pc9801_118_device::pc9801_118_w), this) ); |
| 175 | | install_device(0xa460, 0xa463, 0, 0, read8_delegate(FUNC(pc9801_118_device::pc9801_118_ext_r), this), write8_delegate(FUNC(pc9801_118_device::pc9801_118_ext_w), this) ); |
| 176 | 174 | } |
| 177 | 175 | |
| 178 | 176 | |
| r19817 | r19818 | |
| 182 | 180 | |
| 183 | 181 | void pc9801_118_device::device_reset() |
| 184 | 182 | { |
| 183 | UINT16 port_base = (ioport("OPN3_DSW")->read() & 1) << 8; |
| 184 | install_device(port_base + 0x0088, port_base + 0x008f, 0, 0, read8_delegate(FUNC(pc9801_118_device::pc9801_118_r), this), write8_delegate(FUNC(pc9801_118_device::pc9801_118_w), this) ); |
| 185 | install_device(0xa460, 0xa463, 0, 0, read8_delegate(FUNC(pc9801_118_device::pc9801_118_ext_r), this), write8_delegate(FUNC(pc9801_118_device::pc9801_118_ext_w), this) ); |
| 185 | 186 | m_ext_reg = 1; // TODO: enabled or disabled? |
| 186 | 187 | } |
| 187 | 188 | |
trunk/src/mess/machine/pc9801_86.c
| r19817 | r19818 | |
| 6 | 6 | YM2203 |
| 7 | 7 | |
| 8 | 8 | TODO: |
| 9 | | - i/o port base jumper |
| 9 | - joystick code should be shared between -26, -86 and -118 |
| 10 | 10 | |
| 11 | 11 | ***************************************************************************/ |
| 12 | 12 | |
| r19817 | r19818 | |
| 107 | 107 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(2) PORT_NAME("P2 Joystick Button 2") |
| 108 | 108 | PORT_BIT( 0xc0, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 109 | 109 | |
| 110 | | // PORT_START("OPN_DSW") |
| 111 | | // PORT_CONFNAME( 0x01, 0x01, "PC-9801-86: Port Base" ) |
| 112 | | // PORT_CONFSETTING( 0x00, "0x088" ) |
| 113 | | // PORT_CONFSETTING( 0x01, "0x188" ) |
| 110 | PORT_START("OPNA_DSW") |
| 111 | PORT_CONFNAME( 0x01, 0x00, "PC-9801-86: Port Base" ) |
| 112 | PORT_CONFSETTING( 0x00, "0x088" ) |
| 113 | PORT_CONFSETTING( 0x01, "0x188" ) |
| 114 | 114 | INPUT_PORTS_END |
| 115 | 115 | |
| 116 | 116 | ioport_constructor pc9801_86_device::device_input_ports() const |
| r19817 | r19818 | |
| 171 | 171 | |
| 172 | 172 | void pc9801_86_device::device_start() |
| 173 | 173 | { |
| 174 | | UINT16 port_base = 0x100;//(ioport("OPN_DSW")->read() & 1) << 8; |
| 175 | | install_device(port_base + 0x0088, port_base + 0x008f, 0, 0, read8_delegate(FUNC(pc9801_86_device::pc9801_86_r), this), write8_delegate(FUNC(pc9801_86_device::pc9801_86_w), this) ); |
| 176 | | // install_device(0xa460, 0xa463, 0, 0, read8_delegate(FUNC(pc9801_86_device::pc9801_86_ext_r), this), write8_delegate(FUNC(pc9801_86_device::pc9801_86_ext_w), this) ); |
| 177 | 174 | |
| 178 | 175 | } |
| 179 | 176 | |
| r19817 | r19818 | |
| 184 | 181 | |
| 185 | 182 | void pc9801_86_device::device_reset() |
| 186 | 183 | { |
| 184 | UINT16 port_base = (ioport("OPNA_DSW")->read() & 1) << 8; |
| 185 | install_device(port_base + 0x0088, port_base + 0x008f, 0, 0, read8_delegate(FUNC(pc9801_86_device::pc9801_86_r), this), write8_delegate(FUNC(pc9801_86_device::pc9801_86_w), this) ); |
| 186 | // install_device(0xa460, 0xa463, 0, 0, read8_delegate(FUNC(pc9801_86_device::pc9801_86_ext_r), this), write8_delegate(FUNC(pc9801_86_device::pc9801_86_ext_w), this) ); |
| 187 | |
| 187 | 188 | } |
| 188 | 189 | |
| 189 | 190 | |
trunk/src/mess/machine/pc9801_26.c
| r19817 | r19818 | |
| 4 | 4 | |
| 5 | 5 | Legacy sound card for PC-98xx family, composed by a single YM2203 |
| 6 | 6 | |
| 7 | TODO: |
| 8 | - joystick code should be shared between -26, -86 and -118 |
| 9 | |
| 7 | 10 | ***************************************************************************/ |
| 8 | 11 | |
| 9 | 12 | #include "emu.h" |
| r19817 | r19818 | |
| 96 | 99 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 97 | 100 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 98 | 101 | |
| 99 | | // PORT_START("OPN_DSW") |
| 100 | | // PORT_CONFNAME( 0x01, 0x01, "PC-9801-26: Port Base" ) |
| 101 | | // PORT_CONFSETTING( 0x00, "0x088" ) |
| 102 | | // PORT_CONFSETTING( 0x01, "0x188" ) |
| 102 | PORT_START("OPN_DSW") |
| 103 | PORT_CONFNAME( 0x01, 0x01, "PC-9801-26: Port Base" ) |
| 104 | PORT_CONFSETTING( 0x00, "0x088" ) |
| 105 | PORT_CONFSETTING( 0x01, "0x188" ) |
| 103 | 106 | INPUT_PORTS_END |
| 104 | 107 | |
| 105 | 108 | ioport_constructor pc9801_26_device::device_input_ports() const |
| r19817 | r19818 | |
| 160 | 163 | |
| 161 | 164 | void pc9801_26_device::device_start() |
| 162 | 165 | { |
| 163 | | UINT16 port_base = 0x100;//(ioport("OPN_DSW")->read() & 1) << 8; |
| 164 | | install_device(port_base + 0x0088, port_base + 0x008b, 0, 0, read8_delegate(FUNC(pc9801_26_device::pc9801_26_r), this), write8_delegate(FUNC(pc9801_26_device::pc9801_26_w), this) ); |
| 166 | |
| 165 | 167 | } |
| 166 | 168 | |
| 167 | 169 | |
| r19817 | r19818 | |
| 171 | 173 | |
| 172 | 174 | void pc9801_26_device::device_reset() |
| 173 | 175 | { |
| 176 | UINT16 port_base = (ioport("OPN_DSW")->read() & 1) << 8; |
| 177 | install_device(port_base + 0x0088, port_base + 0x008b, 0, 0, read8_delegate(FUNC(pc9801_26_device::pc9801_26_r), this), write8_delegate(FUNC(pc9801_26_device::pc9801_26_w), this) ); |
| 174 | 178 | } |
| 175 | 179 | |
| 176 | 180 | |