Previous 15994 Revisions Next

r13352 Wednesday 23rd November, 2011 at 10:06:04 UTC by Jonathan Gevaryahu
ep804: Fix flags and add a bunch of comments.
[src/mess/drivers]digel804.c

src/mess/drivers/digel804.c
r13351r13352
1212*  tentatively figure out how flow control from ACIA works (/NMI)?
1313*  hook up the speaker/beeper (port 0x45)
1414*  hook up vfd controller (done to stderr, no artwork)
15*  hook up leds on front panel (done to stderr)
15*  hook up leds on front panel (done to stderr for now)
1616*  hook up r6551 serial and attach terminal for sending to ep804
17*  /nmi is emulated correctly (i.e. its tied to +5v. that was easy!)
1718*
1819*  TODO:
1920*  figure out the rest of the i/o map
2021*  figure out why banked ram on 4.x causes glitches/sys errors; it works on 2.2
21*  actually hook up interrupts and nmi
22*  attach terminal to 6551 serial for recieving from ep804
23*  correctly hook up 10937 vfd controller
24*  hook up keypad and mode buttons
22*  actually hook up interrupts: they fire on keypresses and 6551/ACIA receives
23*  attach terminal to 6551/ACIA serial for recieving from ep804
24*  correctly hook up 10937 vfd controller: por is not hooked up
25*  hook up keypad via 74C923 and mode buttons via logic gate mess
2526*  artwork
2627*
2728******************************************************************************/
r13351r13352
215216
216217WRITE8_MEMBER( digel804_state::speaker_w )
217218{
218   // it APPEARS all writes here invert the speaker state, at least
219   // all writes to here invert the speaker state, verified from schematics
219220#ifdef PORT45_W_VERBOSE
220221   logerror("Digel804: port 0x45 speaker had %02x written to it!\n", data);
221222#endif
222   if ((data != 0x00) && (data != 0x01) && (data != 0x03))
223      logerror("Digel804: port 0x45 speaker control had unexpected data %02x written to it!\n", data);
224223   speaker_state ^= 0xFF;
225224   speaker_level_w(m_speaker, speaker_state);
226225}
r13351r13352
235234     * F* takes precedence over E*
236235     * higher numbers take precedence over lower ones
237236     * this value auto-latches on a key press and remains through multiple reads
237    * this is done by a 74C923 integrated circuit
238238    */
239239#ifdef PORT46_R_VERBOSE
240240   logerror("Digel804: returning 0xF0 for port 46 keypad read\n");
r13351r13352
489489******************************************************************************/
490490
491491/*    YEAR  NAME        PARENT      COMPAT  MACHINE     INPUT   INIT      COMPANY                     FULLNAME                                                    FLAGS */
492COMP( 1985, digel804,   0,          0,      digel804,   digel804, digel804,      "Digelec, Inc",   "Digelec 804 EPROM Programmer", GAME_NO_SOUND_HW )
493COMP( 1982, ep804,   digel804,          0,      ep804,   digel804, digel804,      "Wavetek/Digelec, Inc",   "EP804 EPROM Programmer", GAME_NO_SOUND_HW )
492COMP( 1985, digel804,   0,          0,      digel804,   digel804, digel804,      "Digelec, Inc",   "Digelec 804 EPROM Programmer", GAME_NOT_WORKING )
493COMP( 1982, ep804,   digel804,          0,      ep804,   digel804, digel804,      "Wavetek/Digelec, Inc",   "EP804 EPROM Programmer", GAME_NOT_WORKING )

Previous 15994 Revisions Next


© 1998-2018 The MESS Team