Previous 199869 Revisions Next

r32242 Sunday 21st September, 2014 at 03:27:46 UTC by R. Belmont
(MESS) concept: fix keyboard status to not return junk data, fixes bootup without -debug. [R. Belmont]
[src/mess/machine]concept.c

trunk/src/mess/machine/concept.c
r32241r32242
112112
113113inline void concept_state::post_in_KeyQueue(int keycode)
114114{
115//   printf("Post %x (%d) in keyqueue\n", keycode, keycode);
115116   m_KeyQueue[(m_KeyQueueHead+m_KeyQueueLen) % KeyQueueSize] = keycode;
116117   m_KeyQueueLen++;
117118}
r32241r32242
213214*/
214215WRITE_LINE_MEMBER(concept_state::via_out_cb2)
215216{
216   LOG(("via_out_cb2: Sound control written: data=0x%2.2x\n", state));
217//   LOG(("via_out_cb2: Sound control written: data=0x%2.2x\n", state));
217218}
218219
219220/*
r32241r32242
294295
295296         case 1:
296297            /* always tell transmit is empty */
297            reply = m_KeyQueueLen ? 0x98 : 0x10;
298            break;
298            return m_KeyQueueLen ? 0x98 : 0x10;
299299         }
300300         break;
301301

Previous 199869 Revisions Next


© 1997-2024 The MAME Team