2 |
|
* Display_x.h - C64 graphics display, emulator window handling, |
3 |
|
* X specific stuff |
4 |
|
* |
5 |
< |
* Frodo (C) 1994-1997,2002 Christian Bauer |
5 |
> |
* Frodo (C) 1994-1997,2002-2004 Christian Bauer |
6 |
|
* |
7 |
|
* This program is free software; you can redistribute it and/or modify |
8 |
|
* it under the terms of the GNU General Public License as published by |
342 |
|
// Start timer for LED error blinking |
343 |
|
c64_disp = this; |
344 |
|
pulse_sa.sa_handler = (void (*)(int))pulse_handler; |
345 |
< |
pulse_sa.sa_flags = 0; |
345 |
> |
pulse_sa.sa_flags = SA_RESTART; |
346 |
|
sigemptyset(&pulse_sa.sa_mask); |
347 |
|
sigaction(SIGALRM, &pulse_sa, NULL); |
348 |
|
pulse_tv.it_interval.tv_sec = 0; |
774 |
|
} |
775 |
|
|
776 |
|
|
777 |
+ |
/* |
778 |
+ |
* Open/close joystick drivers given old and new state of |
779 |
+ |
* joystick preferences |
780 |
+ |
*/ |
781 |
+ |
|
782 |
+ |
void C64::open_close_joysticks(int oldjoy1, int oldjoy2, int newjoy1, int newjoy2) |
783 |
+ |
{ |
784 |
+ |
} |
785 |
+ |
|
786 |
+ |
|
787 |
+ |
/* |
788 |
+ |
* Poll joystick port, return CIA mask |
789 |
+ |
*/ |
790 |
+ |
|
791 |
+ |
uint8 C64::poll_joystick(int port) |
792 |
+ |
{ |
793 |
+ |
return 0xff; |
794 |
+ |
} |
795 |
+ |
|
796 |
+ |
|
797 |
|
/* |
798 |
|
* Allocate C64 colors |
799 |
|
*/ |