trunk/src/mess/drivers/applix.c
| r22636 | r22637 | |
| 18 | 18 | - Keyboard is a standard pc keyboard |
| 19 | 19 | - Sound is stereo dac-sound, plus an analog output. Details unknown. |
| 20 | 20 | |
| 21 | | In non-debug mode it runs for a few seconds then freezes requiring MESS |
| 22 | | to be forceably closed. In debug mode, it can be seen that a processor |
| 23 | | exeception occurs, although sometimes the cpu 'just stops', causing a |
| 24 | | MESS freeze. Obviously the real machine doesn't do these things. |
| 21 | This system uses a number of unemulated opcodes (A0xx). Our M68000 core |
| 22 | mishandles this scenario, doing a random jump to nearby code. This |
| 23 | continues, filling up the stack, and eventually causes a total freeze. |
| 25 | 24 | |
| 26 | 25 | ****************************************************************************/ |
| 27 | 26 | |
| r22636 | r22637 | |
| 119 | 118 | // bits 2,3 joystick in |
| 120 | 119 | // bit 1 cassette in |
| 121 | 120 | // bit 0 something to do with audio |
| 122 | | return 0x70; // video test, screen changes colours. This is the only thing working atm. |
| 121 | return ioport("DSW")->read(); |
| 122 | // set dips to Off,Off,Off,On for a video test. |
| 123 | 123 | } |
| 124 | 124 | |
| 125 | 125 | READ8_MEMBER( applix_state::applix_pa_r ) |
| r22636 | r22637 | |
| 170 | 170 | |
| 171 | 171 | /* Input ports */ |
| 172 | 172 | static INPUT_PORTS_START( applix ) |
| 173 | PORT_START("DSW") |
| 174 | PORT_BIT( 0xf, 0, IPT_UNUSED ) |
| 175 | PORT_DIPNAME( 0x10, 0x00, "Switch 0") PORT_DIPLOCATION("SW2:1") |
| 176 | PORT_DIPSETTING( 0x10, DEF_STR(Off)) |
| 177 | PORT_DIPSETTING( 0x00, DEF_STR(On)) |
| 178 | PORT_DIPNAME( 0x20, 0x00, "Switch 1") PORT_DIPLOCATION("SW2:2") |
| 179 | PORT_DIPSETTING( 0x20, DEF_STR(Off)) |
| 180 | PORT_DIPSETTING( 0x00, DEF_STR(On)) |
| 181 | PORT_DIPNAME( 0x40, 0x00, "Switch 2") PORT_DIPLOCATION("SW2:3") |
| 182 | PORT_DIPSETTING( 0x40, DEF_STR(Off)) |
| 183 | PORT_DIPSETTING( 0x00, DEF_STR(On)) |
| 184 | PORT_DIPNAME( 0x80, 0x00, "Switch 3") PORT_DIPLOCATION("SW2:4") |
| 185 | PORT_DIPSETTING( 0x80, DEF_STR(Off)) |
| 186 | PORT_DIPSETTING( 0x00, DEF_STR(On)) |
| 173 | 187 | INPUT_PORTS_END |
| 174 | 188 | |
| 175 | 189 | |
| r22636 | r22637 | |
| 228 | 242 | |
| 229 | 243 | for (x = 0; x < x_count; x++) |
| 230 | 244 | { |
| 231 | | mem = vidbase + ma + x + ra * x_count; |
| 245 | mem = vidbase + ma*4 + x + ra*x_count; |
| 232 | 246 | chr = state->m_base[mem]; |
| 233 | 247 | |
| 234 | 248 | if (BIT(state->m_pa, 3)) |
| r22636 | r22637 | |
| 324 | 338 | |
| 325 | 339 | /* Driver */ |
| 326 | 340 | |
| 327 | | /* YEAR NAME PARENT COMPAT MACHINE INPUT INIT COMPANY FULLNAME FLAGS */ |
| 328 | | COMP( 1986, applix, 0, 0, applix, applix, driver_device, 0, "Applix Pty Ltd", "Applix 1616", GAME_NOT_WORKING | GAME_NO_SOUND) |
| 341 | /* YEAR NAME PARENT COMPAT MACHINE INPUT CLASS INIT COMPANY FULLNAME FLAGS */ |
| 342 | COMP( 1986, applix, 0, 0, applix, applix, driver_device, 0, "Applix Pty Ltd", "Applix 1616", GAME_NOT_WORKING | GAME_NO_SOUND) |