dos extender rtm32 - fileformat of the stub?

Developer's Forum, for discussion of bugs, code, and other developmental aspects of DOSBox.

dos extender rtm32 - fileformat of the stub?

Postby llm » 2010-9-18 @ 18:18

hello

does anyone know the stub format
of rtm32 (i think turbo c dos extender)

i want to extract the le/or pe part
and think that stub32 is added before the program

i've found several tools for dos/4gw based games but non for rtm32

any docs around?
llm
Newbie
 
Posts: 36
Joined: 2009-1-18 @ 16:57

Re: dos extender rtm32 - fileformat of the stub?

Postby wd » 2010-9-18 @ 21:31

rtm16/rtm32 is the runtime module of the borland compilers (turbo/borland c/pascal).

What exactly do you intend to do?
wd
DOSBox Author
 
Posts: 10818
Joined: 2003-12-03 @ 21:23

Re: dos extender rtm32 - fileformat of the stub?

Postby llm » 2010-9-19 @ 07:31

>rtm16/rtm32 is the runtime module of the
>borland compilers (turbo/borland c/pascal)

that is also my info - i was a little bit irritated due to the
fact that several game-folder i looked at got an rtm32 AND dos4/gw inside
(even the original frontier first encounters demo got both - but only uses the rtm32)

>What exactly do you intend to do?

find a way to get rid of the extender (for ease disassembling)
i've found an solution in dos32 - there is a utility that help me extracting the LE part of dos4/gws, and can also extract the PE part of rtm32 based games (its more like stripping because dos32 dos not really knows the rtm32 format)

it would be nice to have an document or code which describes the extender part of rtm32(16)
llm
Newbie
 
Posts: 36
Joined: 2009-1-18 @ 16:57

Re: dos extender rtm32 - fileformat of the stub?

Postby llm » 2010-9-20 @ 14:44

would be also very good to have a list of rtm32 using games
then i can use them as a analyse base

i know "frontier first encounters" uses rtm32
llm
Newbie
 
Posts: 36
Joined: 2009-1-18 @ 16:57

Re: dos extender rtm32 - fileformat of the stub?

Postby wd » 2010-9-20 @ 15:42

i was a little bit irritated due to the fact that several game-folder i looked at got an rtm32 AND dos4/gw inside
(even the original frontier first encounters demo got both - but only uses the rtm32)

Could be one of the additional programs (setup/installer) uses dos4gw.


find a way to get rid of the extender (for ease disassembling)

Don't know anything like that, if you're lucky IDA or something similar is capable
of detecting the extender and moves the entry point to the application one.


would be also very good to have a list of rtm32 using games
then i can use them as a analyse base

Jazz Jackrabbit should be one of them, but pmode borland games may be rare.
wd
DOSBox Author
 
Posts: 10818
Joined: 2003-12-03 @ 21:23

Re: dos extender rtm32 - fileformat of the stub?

Postby DosFreak » 2010-9-20 @ 15:45

I have the following listed as "Custom" on my list. (Never bothered to identify the extender when I went through them years ago).

Apache
Beneath A Steel Sky
Comanche Maximum Overkill
Fourth Generation
Jazz Jackrabbit
Pirates Gold
Space Nightmare
Tyrian
Ancient Domains of Mystery
User avatar
DosFreak
l33t++
 
Posts: 9915
Joined: 2002-6-30 @ 16:35
Location: Your Head

Re: dos extender rtm32 - fileformat of the stub?

Postby Zorbid » 2010-9-22 @ 09:37

IIRC, BASS uses the unreal mode hack (flat 32bit memory access).
User avatar
Zorbid
Member
 
Posts: 436
Joined: 2002-8-30 @ 18:38

Re: dos extender rtm32 - fileformat of the stub?

Postby wd » 2010-9-22 @ 14:00

rtm16/32 doesn't use flat realmode but protected mode (dpmi/vcpi etc).
wd
DOSBox Author
 
Posts: 10818
Joined: 2003-12-03 @ 21:23

Re: dos extender rtm32 - fileformat of the stub?

Postby llm » 2010-9-27 @ 19:46

thanks to all

i found serveral other rtm extender using games and my extractor is nearly working
llm
Newbie
 
Posts: 36
Joined: 2009-1-18 @ 16:57


Return to DOSBox Development

Who is online

Users browsing this forum: No registered users and 0 guests