Bart Oldeman
89d97b18de
Fix ASMCFUNC (FAR) functions for ia16-elf-gcc.
...
We need to use make the functions vararg (,...) to make them cdecl.
For FAR functions we need wrappers.
2018-01-11 17:50:31 -05:00
Bart Oldeman
97003a8aca
Introduce popargs and arg macros to distinguish PASCAL/STDCALL conventions.
...
GCC has -mrtd but the args are pushed in reverse versus PASCAL. So asm
routines have to use macros to obtain the stack arguments.
For the complex call_nls assembly, revert the arguments in C using a
preprocessor macro.
2018-01-11 17:50:31 -05:00
Bart Oldeman
71a7d0d264
ia16-elf-gcc: provide GNU LD linker script and symbols to link kernel.
...
The resulting kernel and sys.com do not work yet (kernel prints 123 only).
Some functions in sys.com are placeholders.
2018-01-11 17:50:31 -05:00
Bart Oldeman
fbdbc4c25c
C source code changes so the kernel can compile with ia16-elf-gcc.
...
Use "make all COMPILER=gcc".
Linking does not work yet with these changes.
2018-01-11 17:50:31 -05:00
Bart Oldeman
0b26c3f18f
NLS: clean up to use the struct more and fewer relocations.
2018-01-11 17:50:31 -05:00
KJD
c9300387e7
Implement Int 2F/AX=120Bh based on RBIL description
2016-01-16 20:56:29 -05:00
lpproj
504fd16746
Enable to load DBCS table from COUNTRY.SYS
2014-11-22 11:42:05 +09:00
lpproj
0c6be32a7a
Add cross-compile capability on Windows with OpenWatcom and mingw32-make
...
(Remove dependance on 16bit DOS executables when building)
2014-11-22 11:38:43 +09:00
KJD
a260927440
Tell version info without booting kernel
2012-10-15 06:41:07 -04:00
KJD
c431157156
FreeDOS kernel current - 2041+svn1709
2012-10-14 20:08:06 -04:00