-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathdxetemplate.txt
286 lines (269 loc) · 3.3 KB
/
dxetemplate.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
#include <assert.h>
#include <bios.h>
#include <conio.h>
#include <ctype.h>
#include <dirent.h>
#include <dpmi.h>
#include <fcntl.h>
#include <go32.h>
#include <io.h>
#include <math.h>
#include <netdb.h>
#include <pc.h>
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <strings.h>
#include <sys/exceptn.h>
#include <sys/farptr.h>
#include <sys/movedata.h>
#include <sys/stat.h>
#include <tcp.h>
#include <termios.h>
#include <time.h>
#include <unistd.h>
#include <unistd.h>
#include <zlib.h>
#include <locale.h>
#include "zipfile.h"
#include "intarray.h"
#include "bytearray.h"
#include "util.h"
#include "gccint8.h"
// symbols without include file from libgcc
extern BOOL _watt_do_exit;
extern long __divdi3 (long A, long B);
extern long __moddi3 (long A, long B);
extern unsigned long __udivdi3 (unsigned long A, unsigned long B);
extern unsigned long __udivmoddi4 (unsigned long A, unsigned long B, unsigned long *C);
extern long __divmoddi4 (long A, long B, long *C);
extern unsigned long __umoddi3 (unsigned long A, unsigned long B);
// stdio/files
closedir
fclose
fflush
fgetc
fgets
fopen
fprintf
fputc
fputs
fread
fseek
ftell
fwrite
getc
mkdir
opendir
printf
putc
readdir
rename
rmdir
snprintf
sprintf
vsprintf
stat
strerror
unlink
remove
setlocale
_truename
// time
clock
localtime
localtime_r
sleep
usleep
strftime
pctimer_get_ticks
pctimer_sleep
// copy/move/strings
atoi
bzero
memcpy
strcasecmp
strchr
strcpy
stricmp
strncasecmp
strncpy
strtol
strtoll
// memory/system
atexit
calloc
free
getenv
malloc
raise
realloc
realloc
signal
sigaction
// lowlevel
__dj_ctype_flags
__djgpp_ds_alias
__dpmi_allocate_dos_memory
__dpmi_free_dos_memory
__dpmi_get_protected_mode_interrupt_vector
__dpmi_int
__dpmi_int
__dpmi_set_protected_mode_interrupt_vector
_go32_dpmi_allocate_real_mode_callback_retf
__dpmi_simulate_real_mode_interrupt
_go32_dpmi_allocate_dos_memory
_farpeekb
_farpeekw
_get_dos_version
_go32_dpmi_lock_code
_go32_dpmi_lock_data
_go32_info_block
biosprint
dosmemget
dosmemput
inportb
inportl
inportw
outportb
outportl
outportw
// zipfile
check_zipfile1
check_zipfile2
read_zipfile1
read_zipfile2
// jSH
logfile
jsh_do_file
__divdi3
__divmoddi4
__dj_huge_valf
__dj_assert
__dj_stdout
__moddi3
__udivdi3
__udivmoddi4
__umoddi3
access
close
errno
fchmod
fchown
fcntl
fsync
ftruncate
getcwd
geteuid
getpid
gettimeofday
lseek
lstat
memcmp
memmove
open
read
putchar
puts
readlink
strcmp
strcspn
strlen
strncmp
strrchr
time
utimes
write
memset
fstat
fdopen
rand
perror
fscanf
__fpclassifyd
srand
vsnprintf
__dj_stdin
strdup
sscanf
__dj_stderr
strstr
// IntArray
IntArray_create
IntArray_destroy
IntArray_fromStruct
IntArray_push
// watt32
_w32_inet_pton
_watt_do_exit
accept
access
basename
bind
chmod
clearerr
connect
gai_strerror
getaddrinfo
getegid
geteuid
getgid
gethostbyname
getnameinfo
getpeername
getpid
getsockname
getsockopt
getuid
ioctlsocket
isatty
listen
pathconf
recv
recvfrom
select_s
send
sendto
setbuf
//setmode
setsockopt
setvbuf
shutdown
socket
tcgetattr
tcsetattr
watt_sock_init
// curl
__dj_ctype_tolower
ferror
freeaddrinfo
_os_flavor
getch
feof
_osmajor
read_s
strpbrk
memchr
strspn
fileno
strtoul
strcat
abort
setmode
vfprintf
stpcpy
qsort
_osminor
close_s
gmtime
delay
ut_clone_string
ByteArray_create
ByteArray_fromStruct
alarm
ByteArray_destroy
ByteArray_push
ByteArray_fromBytes
jsh_file_exists
// math
exp