My program was a plain com format assumed the mode it loaded already 32-bit. It can loaded anywhere and will detect it base address. I want to use it with HXRT and freeDOS, I tried to load HXRT DLL on syslinux but it contain interupt code on very kernel call and even worse, it was a x21 sofftware INT which is not supported by syslinux and I dont know should I run it on 32-bit mode or 16-bit mode. Any info?
16-bit INT 21h
it may run in a console window
if not, boot DOS from a floppy :bg
or try DOSBox
Sounds like as Dave said... you'll need to run under a DOS environment.
Do a Google for Ralph Brown's DOS Interrupts - A comrehensive listing of the DOS interrupts.
:bg
So every single call on HXRT DKRNL32.dll is a 16-bit call?? But it used a 32-bit address and there was no 66h prefix. Is that even able to use int x21 on 32-bit mode? It way too advance for me. Did not HXRT need a DOS environtment? So japhet should to be not creating himself that INT x21 Code.
Quote from: dedndave on October 19, 2011, 05:29:22 AM
16-bit INT 21h
it may run in a console window
if not, boot DOS from a floppy :bg
or try DOSBox
Owch, too bad, I already created the GUI, and I need to rewrite everything if I need to use DOS, I hate that GDT thingy :green. Maybe freeDOS had an INTx21 installer or something :green