cba54b205b
- refactor code for transfer buffer reads/writes, real mode int 0x21 calls, and assembler segment declarations - define transfer buffer size in one place - beef up error checking for transfer buffer operations (prevent buffer overflows) - also optimize such operations to transfer dword by dword where feasible
45 lines
672 B
Lua
45 lines
672 B
Lua
bundle {
|
|
name = "headers",
|
|
srcs = {
|
|
"./libsysasm.h"
|
|
}
|
|
}
|
|
|
|
acklibrary {
|
|
name = "lib",
|
|
srcs = {
|
|
"./_hol0.s",
|
|
"./brk.s",
|
|
"./close.s",
|
|
"./errno.s",
|
|
"./getpid.s",
|
|
"./isatty.s",
|
|
"./rename.s",
|
|
"./sbrk.c",
|
|
"./sys_cpyin.s",
|
|
"./sys_cpyout.s",
|
|
"./sys_dpmidos.s",
|
|
"./sys_exists.s",
|
|
"./sys_getdate.s",
|
|
"./sys_gettime.s",
|
|
"./sys_isopen.s",
|
|
"./sys_isreadyr.s",
|
|
"./sys_rawcreat.s",
|
|
"./sys_rawlseek.s",
|
|
"./sys_rawopen.s",
|
|
"./sys_rawread.s",
|
|
"./sys_rawwrite.s",
|
|
"./sys_scpyout.s",
|
|
"./sys_xret.s",
|
|
"./unlink.s",
|
|
"plat/msdos/libsys+srcs",
|
|
},
|
|
deps = {
|
|
"plat/msdos/libsys+headers",
|
|
"+headers"
|
|
},
|
|
vars = {
|
|
plat = "msdos386"
|
|
}
|
|
}
|