[syslinux] Comboot Menu
ganapathy murali krishnan
gmurali at cs.uchicago.edu
Thu Jan 22 15:48:10 PST 2004
Well I have come across a stumbling block... Hopefully somebody can help
me out here.
I have a C program, which uses only int 10h, and parts of int 21h
implemented by SYSLINUX. I do not use any standard include files, and
compiled by program using
wcl -3 -osx -mt filename.c (Open Watcom)
The resulting .COM file worked perfectly in DOS, and when I run the file
under ISOLINUX it gives an error "Using DOS Function call" or something
to that effect. I then disassembled the .COM file and sure enough, I see
that some of the startup code which Watcomm generated uses DOS
interrupts not implemented by ISOLINUX.
Specifically, the function numbers in question are
INT 21h, Functions 4Ah 40h 30h and INT 21h with AX=3D01h.
Is there a flag to Open Watcomm which bypasses its startup code or
something like that?
Or will implementing dummy versions of these in SYSLINUX help?
Basically, I am searching for some way to compile my C program which
uses only int 10h, int 16h and SYSLINUX compatible parts of 21h to a
.COM file which runs under ISOLINUX and preferably under DOS also if I
do not run the SYSLINUX specific interrupts (All my calls to SYSLINUX
API is wrapped around a check to see if we are running DOS 0.0).
- Murali
More information about the Syslinux
mailing list