Move line address in extended mode to other hardware constants (although
is it configurable).
This commit is contained in:
@@ -314,4 +314,6 @@ void common_init(PrivateData *p, unsigned char if_bit);
|
|||||||
|
|
||||||
#define HSCROLLAMOUNT 0x80 /* Only reachable with EXTREG set */
|
#define HSCROLLAMOUNT 0x80 /* Only reachable with EXTREG set */
|
||||||
|
|
||||||
|
#define LADDR 0x20 /* Default Lineaddress in ext_mode */
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -53,8 +53,10 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* Uncomment one of the lines below to select your desired delay generation
|
* Uncomment one of the lines below to select your desired delay generation
|
||||||
* mechanism. If both defines are commented, the original I/O read timing
|
* mechanism. Using DELAY_NANOSLEEP seems to provide the best performance.
|
||||||
* loop is used. Using DELAY_NANOSLEEP seems to provide the best performance.
|
*
|
||||||
|
* Setting this here, overrides the set or selected algorithm in timing.h.
|
||||||
|
* FIXME: Is this on purpose?
|
||||||
*/
|
*/
|
||||||
//#define DELAY_GETTIMEOFDAY
|
//#define DELAY_GETTIMEOFDAY
|
||||||
#define DELAY_NANOSLEEP
|
#define DELAY_NANOSLEEP
|
||||||
@@ -63,9 +65,6 @@
|
|||||||
/* Default parallel port address */
|
/* Default parallel port address */
|
||||||
#define LPTPORT 0x378
|
#define LPTPORT 0x378
|
||||||
|
|
||||||
/* Default Lineaddress in ext_mode */
|
|
||||||
#define LADDR 0x20
|
|
||||||
|
|
||||||
/* Autorepeat values */
|
/* Autorepeat values */
|
||||||
#define KEYPAD_AUTOREPEAT_DELAY 500
|
#define KEYPAD_AUTOREPEAT_DELAY 500
|
||||||
#define KEYPAD_AUTOREPEAT_FREQ 15
|
#define KEYPAD_AUTOREPEAT_FREQ 15
|
||||||
|
|||||||
Reference in New Issue
Block a user