110 |
offs = (unsigned long) XINT (address); |
offs = (unsigned long) XINT (address); |
111 |
CHECK_VECTOR (vector); |
CHECK_VECTOR (vector); |
112 |
len = XVECTOR (vector)-> size; |
len = XVECTOR (vector)-> size; |
113 |
if (len < 1 || len > 2048 || address < 0 || address > 0xfffff - len) |
if (len < 1 || len > 2048 || offs < 0 || offs > 0xfffff - len) |
114 |
return Qnil; |
return Qnil; |
115 |
buf = alloca (len); |
buf = alloca (len); |
116 |
dosmemget (offs, len, buf); |
dosmemget (offs, len, buf); |
135 |
offs = (unsigned long) XINT (address); |
offs = (unsigned long) XINT (address); |
136 |
CHECK_VECTOR (vector); |
CHECK_VECTOR (vector); |
137 |
len = XVECTOR (vector)-> size; |
len = XVECTOR (vector)-> size; |
138 |
if (len < 1 || len > 2048 || address < 0 || address > 0xfffff - len) |
if (len < 1 || len > 2048 || offs < 0 || offs > 0xfffff - len) |
139 |
return Qnil; |
return Qnil; |
140 |
buf = alloca (len); |
buf = alloca (len); |
141 |
|
|
155 |
all keys; otherwise it is only used when the ALT key is pressed. |
all keys; otherwise it is only used when the ALT key is pressed. |
156 |
The current keyboard layout is available in dos-keyboard-code. */) |
The current keyboard layout is available in dos-keyboard-code. */) |
157 |
(country_code, allkeys) |
(country_code, allkeys) |
158 |
Lisp_Object country_code; |
Lisp_Object country_code, allkeys; |
159 |
{ |
{ |
160 |
CHECK_NUMBER (country_code); |
CHECK_NUMBER (country_code); |
161 |
if (!dos_set_keyboard (XINT (country_code), !NILP (allkeys))) |
if (!dos_set_keyboard (XINT (country_code), !NILP (allkeys))) |