Previous 15994 Revisions Next

r6540 Saturday 5th December, 2009 at 00:02:14 UTC by Curt Coder
[BETA] Fixed display flickering.
[docs]messnew.txt
[src/mess/drivers]beta.c mpf1.c
[src/mess/includes]beta.h

src/mess/includes/beta.h
r6539r6540
2121   UINT8 ls145_p;
2222   UINT8 segment;
2323
24   emu_timer *led_refresh_timer;
25
2426   /* devices */
2527   const device_config *speaker;
2628};
src/mess/drivers/mpf1.c
r6539r6540
126126   PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("CBR") PORT_CODE(KEYCODE_N)
127127   PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("PC") PORT_CODE(KEYCODE_M)
128128   PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("REG") PORT_CODE(KEYCODE_COMMA)
129   PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("ADR") PORT_CODE(KEYCODE_STOP)
129   PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("ADDR") PORT_CODE(KEYCODE_STOP)
130130   PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("DEL") PORT_CODE(KEYCODE_SLASH)
131131   PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("RELA") PORT_CODE(KEYCODE_RCONTROL)
132132   PORT_BIT(0xc0, IP_ACTIVE_LOW, IPT_UNUSED)
src/mess/drivers/beta.c
r6539r6540
1111    TODO:
1212
1313    - write EPROM back to file
14    - fix display flickering
1514
1615*/
1716
r6539r6540
7877
7978/* M6532 Interface */
8079
81static void update_display(beta_state *state)
80static TIMER_CALLBACK( led_refresh )
8281{
82   beta_state *state = machine->driver_data;
83
8384   if (state->ls145_p < 6)
8485   {
8586      output_set_digit_value(state->ls145_p, state->segment);
r6539r6540
148149
149150   /* display */
150151   state->segment = BITSWAP8(data, 7, 3, 4, 1, 0, 2, 5, 6) & 0x7f;
151   update_display(state);
152   timer_adjust_oneshot(state->led_refresh_timer, ATTOTIME_IN_USEC(70), 0);
152153
153154   /* EPROM data */
154155   state->eprom_data = data;
r6539r6540
241242   /* find devices */
242243   state->speaker = devtag_get_device(machine, SPEAKER_TAG);
243244
245   state->led_refresh_timer = timer_alloc(machine, led_refresh, 0);
246
244247   /* register for state saving */
245248   state_save_register_global(machine, state->eprom_oe);
246249   state_save_register_global(machine, state->eprom_ce);
r6539r6540
298301/* System Drivers */
299302
300303/*    YEAR  NAME    PARENT  COMPAT  MACHINE INPUT   INIT    CONFIG  COMPANY         FULLNAME    FLAGS */
301COMP( 1984, beta,   0,      0,      beta,   beta,   0,      0,   "Pitronics",   "Beta",      GAME_IMPERFECT_GRAPHICS | GAME_SUPPORTS_SAVE )
304COMP( 1984, beta,   0,      0,      beta,   beta,   0,      0,      "Pitronics",   "Beta",      GAME_IMPERFECT_GRAPHICS | GAME_SUPPORTS_SAVE )
docs/messnew.txt
r6539r6540
3636
3737System Driver Changes:
3838----------------------
39- [BETA] Fixed display flickering. [Curt Coder]
40
3941- [EXL100] Added 7041 rom dump.  [Wilbert Pol]
4042
4143- [EXIDY] Improved sound compatibility.  [Robbbert]
r6539r6540
4749
4850- [INTV] Fixed intvkbd. Fixed disassembler.  [Robbbert]
4951
52- [MPF1] Converted to use driver state, added speech and printer
53  ROMs, implemented MONI/INTR keys, monitor BREAK logic, added
54  artwork for mpf1b, added layout for mpf1p. [Curt Coder]
55
5056- [ORIC] Telstrat regression has been fixed.  [Robbbert]
5157
5258- [SMS] Added SegaScope (3D-Glasses) support to Sega Master System I

Previous 15994 Revisions Next


© 1998-2018 The MESS Team