Previous 15994 Revisions Next

r8714 Wednesday 4th August, 2010 at 23:10:14 UTC by Angelo Salese
[PC-6001]: Removed a debug function
[src/mess/drivers]pc6001.c

src/mess/drivers/pc6001.c
r8713r8714
397397
398398static READ8_DEVICE_HANDLER(nec_ppi8255_r)
399399{
400   //printf("%02x R\n",offset);
401   static UINT8 test;
402
403   if(input_code_pressed_once(device->machine,KEYCODE_Z))
404      test^=1;
405
406   if(test)
407   {
408      static int test2;
409
410      if(input_code_pressed_once(device->machine,KEYCODE_A))
411         test2++;
412      if(input_code_pressed_once(device->machine,KEYCODE_S))
413         test2--;
414
415      cur_keycode = test2;
416      popmessage("%02x",test2);
417   }
418
419400   if (offset==2)
420401      return port_c_8255;
421402   else if(offset==0)
r8713r8714
431412
432413static WRITE8_DEVICE_HANDLER(nec_ppi8255_w)
433414{
434//   printf("%02x %02x W\n",offset,data);
435
436415   if (offset==3)
437416   {
438417      if(data & 1)

Previous 15994 Revisions Next


© 1998-2018 The MESS Team