Frank Kotler wrote:
> Alex Buell wrote:
....
>> I have made both the executables and sources freely available;
>> http://www.munted.org.uk/programming/vmode.zip
....
> I'll reboot
> to dos and give it a shot... sometime soon...
Yeah! Works great! I tried "mov ax, data", and as expected, it
eliminates the need for "+ OFFSET". Was this "converted" from a .com
file to .exe? In "-f obj" mode, Nasm knows the special symbol "..start"
for the entrypoint, and knows it needs to be "global". I was also
getting complaints from the linker about no stack segment...
segment stack stack
resw 100h ; should be "enough for anybody" :)
will shut *that* up.
(the first "stack" is just a name, and could be anything - the second
"stack" is crucial... so Nasm knows what to tell the linker)
I'm using David Lindauer's "val" modification "valx" as a linker (all
I've currently got installed on the "real dos" drive). May be different
for wlink... That's open Watcom's linker? "Should" work the same with
all (16-bit OMF) linkers, but that's probably a fantasy...
Nice job, Alex. Definitely worth the reboot! :)
Best,
Frank


|