@@ -154,19 +154,6 @@ typedef struct
154154 {
155155 DevRec device ;
156156 PFV device_event ; /* Event handler for the keyboard. */
157- #ifdef DOS
158- u_char KeyMap [0x80 ]; /* The key translation table. Use the keycode you
159- get from the keyboard as an index. The value
160- gives the lispkeycode.*/
161- unsigned char lastbyte ; /* Last byte that we got from the keyboard. */
162- unsigned int keyeventsize ; /* The sizeof() one kbd event */
163- unsigned int maxkeyevent ; /* Offset to the end of the ringbuffer. */
164- int eurokbd ; /* Keep tabs of the euro-ness of the kbd */
165- PFV prev_handler ; /* The previous keyboard handler.
166- Keep this around
167- to restore when we exit Medley */
168- int URaid ; /* Put this in a better place later.. /jarl */
169- #endif /* DOS */
170157 } KbdInterfaceRec , * KbdInterface ;
171158
172159
@@ -221,20 +208,7 @@ typedef struct
221208 unsigned long oldstate ; /* Keep the old state around */
222209 unsigned long graphicsmode ; /* Magic cookie used to set the state. */
223210 unsigned long numberofbanks ;
224- #ifdef DOS
225- unsigned long BytesPerLine ;
226- unsigned long DisplayStartAddr ;
227- unsigned long DisplaySegSize ;
228- unsigned long DisplaySegMagnitude ;
229- unsigned long LinesPerBank ;
230- unsigned short LastLineLen [32 ]; /* length of last line fragment per bank */
231- unsigned short LinesInBank [32 ]; /* True # of full lines in this bank */
232- /* # of lines we can do with the full-line dumpline */
233- /* for sure. */
234- unsigned short LinesBeforeBank [32 ]; /* Scan lines before start of this bank. */
235-
236- void (* SwitchBank )(); /* Method to switch the bank (see vesa standard) */
237- #elif XWINDOW
211+ #if XWINDOW
238212 char * identifier ;
239213 int BitGravity ;
240214 Display * display_id ;
0 commit comments