Viking
Joined: 29 Sep 2006
Posts: 42
Location: Sweden
Posted: Sat Oct 28, 2006 8:39 am
I was testing a bit to read in an LX file and I'm not sure how to proceed after I have read in the header
(LX header, the one after the dos stub header).
How to handle relocations in the exe?
This is only testprogram right now. And how to set upp the registers for a LX program. Let's say with a
simple "Hello World" program.
I have looked in the inf-files, such as omf.inf, lx.txt etc. But it's very compressed reading and I would
like some simple examples to look at. Does anyone know some good links?
How to load and execute os/2 LX files?
Re: How to load and execute os/2 LX files?
osfadmin
Site Admin
Joined: 24 Nov 2003
Posts: 60
Posted: Sat Oct 28, 2006 12:26 pm
Site Admin
Joined: 24 Nov 2003
Posts: 60
Posted: Sat Oct 28, 2006 12:26 pm
Check this sources http://dos32a.narechk.net/Viking wrote: I was testing a bit to read in an LX file and I'm not sure how to proceed after I have read in the header
(LX header, the one after the dos stub header).
How to handle relocations in the exe?
This is only testprogram right now. And how to set upp the registers for a LX program. Let's say with a
simple "Hello World" program.
I have looked in the inf-files, such as omf.inf, lx.txt etc. But it's very compressed reading and I would
like some simple examples to look at. Does anyone know some good links?
Re: How to load and execute os/2 LX files?
Viking
Joined: 29 Sep 2006
Posts: 42
Location: Sweden
Posted: Sun Oct 29, 2006 7:53 am
to read (only assembler), but it's better than just the "raw" spec files on LX.
Joined: 29 Sep 2006
Posts: 42
Location: Sweden
Posted: Sun Oct 29, 2006 7:53 am
Thanks. That's going to be helpful. Strange how a DOS-extender can use LX files, anyway. It's a bit hardosfadmin wrote:Check this sources http://dos32a.narechk.net/Viking wrote: I was testing a bit to read in an LX file and I'm not sure how to proceed after I have read in the header
(LX header, the one after the dos stub header).
How to handle relocations in the exe?
This is only testprogram right now. And how to set upp the registers for a LX program. Let's say with a
simple "Hello World" program.
I have looked in the inf-files, such as omf.inf, lx.txt etc. But it's very compressed reading and I would
like some simple examples to look at. Does anyone know some good links?
to read (only assembler), but it's better than just the "raw" spec files on LX.
Re: How to load and execute os/2 LX files?
osfadmin
Site Admin
Joined: 24 Nov 2003
Posts: 60
Posted: Sun Oct 29, 2006 12:08 pm
execution environment.
Site Admin
Joined: 24 Nov 2003
Posts: 60
Posted: Sun Oct 29, 2006 12:08 pm
Heh. LX is just format. You can store code in any (or most) format you want. Only code determineViking wrote:Thanks. That's going to be helpful. Strange how a DOS-extender can use LX files, anyway. It's a bit hardosfadmin wrote:Check this sources http://dos32a.narechk.net/Viking wrote: I was testing a bit to read in an LX file and I'm not sure how to proceed after I have read in the header
(LX header, the one after the dos stub header).
How to handle relocations in the exe?
This is only testprogram right now. And how to set upp the registers for a LX program. Let's say with a
simple "Hello World" program.
I have looked in the inf-files, such as omf.inf, lx.txt etc. But it's very compressed reading and I would
like some simple examples to look at. Does anyone know some good links?
to read (only asssebler), but it's better than just the "raw" spec files on LX.
execution environment.