Previous 199869 Revisions Next

r22637 Wednesday 1st May, 2013 at 23:43:21 UTC by Robbbert
(MESS) Applix: added a note. Added dips.
[src/mess/drivers]applix.c

trunk/src/mess/drivers/applix.c
r22636r22637
1818    - Keyboard is a standard pc keyboard
1919    - Sound is stereo dac-sound, plus an analog output. Details unknown.
2020
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.
2524
2625****************************************************************************/
2726
r22636r22637
119118// bits 2,3 joystick in
120119// bit 1 cassette in
121120// 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.
123123}
124124
125125READ8_MEMBER( applix_state::applix_pa_r )
r22636r22637
170170
171171/* Input ports */
172172static 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))
173187INPUT_PORTS_END
174188
175189
r22636r22637
228242
229243   for (x = 0; x < x_count; x++)
230244   {
231      mem = vidbase + ma + x + ra * x_count;
245      mem = vidbase + ma*4 + x + ra*x_count;
232246      chr = state->m_base[mem];
233247
234248      if (BIT(state->m_pa, 3))
r22636r22637
324338
325339/* Driver */
326340
327/*    YEAR  NAME    PARENT  COMPAT   MACHINE    INPUT    INIT    COMPANY   FULLNAME       FLAGS */
328COMP( 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 */
342COMP( 1986, applix, 0,       0,     applix, applix, driver_device, 0, "Applix Pty Ltd", "Applix 1616", GAME_NOT_WORKING | GAME_NO_SOUND)

Previous 199869 Revisions Next


© 1997-2024 The MAME Team