[syslinux] Com32 error?
H. Peter Anvin
hpa at zytor.com
Mon Nov 18 12:07:22 PST 2002
G. Murali Krishnan wrote:
> Well I tried my first COM32 program, which is supposed to print
> "Hello, World" and then ":ello, World" in the next line.
> It prints the second line alright, but prints a "." instead of the
> first line.
The "." comes from SYSLINUX... it's just a loading symbol.
> I am using INT 22h for the first print and INT 21h (as in the sample
> code) for the second line. Here is the code itself. It is based on the
> sample code. Any pointers on whats wrong? Is there any place, where one
> can see more sample COM32 code?
Not at this time. I'm working on a newlib (libc) port for COM32, until
I have had time to finish that COM32 is a bit of an experimental feature.
> inreg.es =SEGMENT(msg);
> inreg.ebx.w[0]= OFFSET(msg); /* Pointer to msg */
You can't do this -- you need to copy "msg" down into the low memory
bounce buffer.
-hpa
More information about the Syslinux
mailing list