Previous 15994 Revisions Next

r8154 Monday 24th May, 2010 at 17:41:55 UTC by Angelo Salese
[X1]: fixed broken timer TV recording menu
[src/mess/drivers]x1.c

src/mess/drivers/x1.c
r8153r8154
516516
517517static UINT8 sub_cmd;//,key_flag;
518518static UINT8 sub_cmd_length;
519static UINT8 sub_val[4];
519static UINT8 sub_val[8];
520520
521521static UINT8 check_keyboard_press(running_machine *machine)
522522{
r8153r8154
768768   if(sub_cmd == 0xe9)
769769      cmt_command(space->machine,data);
770770
771   if((data & 0xf0) == 0xd0) //reads here tv recording timer data.
772   {
773      sub_val[0] = 0;
774      sub_val[1] = 0;
775      sub_val[2] = 0;
776      sub_val[3] = 0;
777      sub_val[4] = 0;
778      sub_val[5] = 0;
779      sub_cmd_length = 6;
780   }
781
771782   switch(data)
772783   {
773784      case 0xe3:
r8153r8154
21002111   timer_pulse(machine, ATTOTIME_IN_HZ(240), NULL, 0, keyboard_callback);
21012112   timer_pulse(machine, ATTOTIME_IN_HZ(16), NULL, 0, cmt_wind_timer);
21022113}
2114
21032115static PALETTE_INIT(x1)
21042116{
21052117   int i;

Previous 15994 Revisions Next


© 1998-2018 The MESS Team