Exetools  

Go Back   Exetools > General > General Discussion

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 07-22-2011, 21:14
memo-5 memo-5 is offline
Friend
 
Join Date: Sep 2005
Posts: 84
Rept. Given: 15
Rept. Rcvd 3 Times in 3 Posts
Thanks Given: 64
Thanks Rcvd at 11 Times in 6 Posts
memo-5 Reputation: 3
16Bit DOS executable to 32Bit Windows Console app

Hi every body:
Is there any utility to transform 16Bit DOS executable to 32Bit Windows Console application?
Reply With Quote
  #2  
Old 07-23-2011, 03:08
chessgod101's Avatar
chessgod101 chessgod101 is offline
Co-Administrator
 
Join Date: Jan 2011
Location: United States
Posts: 539
Rept. Given: 2,242
Rept. Rcvd 704 Times in 224 Posts
Thanks Given: 754
Thanks Rcvd at 1,021 Times in 191 Posts
chessgod101 Reputation: 700-899 chessgod101 Reputation: 700-899 chessgod101 Reputation: 700-899 chessgod101 Reputation: 700-899 chessgod101 Reputation: 700-899 chessgod101 Reputation: 700-899 chessgod101 Reputation: 700-899
Not possible. It would require several changes and recompilation of the program for it to become a PE.
Reply With Quote
  #3  
Old 07-24-2011, 18:36
aldente aldente is offline
VIP
 
Join Date: Jul 2003
Posts: 266
Rept. Given: 27
Rept. Rcvd 7 Times in 5 Posts
Thanks Given: 36
Thanks Rcvd at 10 Times in 9 Posts
aldente Reputation: 7
If you just want to run this application on a modern Windows version, you should try out DOS Box.
You can even create a portable DOS Distribution with just our executable...

Just an idea for a workaround...
Reply With Quote
  #4  
Old 07-26-2011, 19:42
memo-5 memo-5 is offline
Friend
 
Join Date: Sep 2005
Posts: 84
Rept. Given: 15
Rept. Rcvd 3 Times in 3 Posts
Thanks Given: 64
Thanks Rcvd at 11 Times in 6 Posts
memo-5 Reputation: 3
Actually I don't need to run the application at all, the situation that I am facing is that I have about 50 DOS apps that I need to reverse and I hope to get benefit of hex-rays decompiler to speed up the process, but unfortunately hex-rays decompiler doesn't support 16 bit application!. so I am looking for a simple utility to transform 16 bit apps to 32 bit apps and I have the feeling that such utility exists.

Thank for the advice.
Reply With Quote
  #5  
Old 07-26-2011, 21:13
Kerlingen Kerlingen is offline
VIP
 
Join Date: Feb 2011
Posts: 338
Rept. Given: 0
Rept. Rcvd 278 Times in 100 Posts
Thanks Given: 0
Thanks Rcvd at 358 Times in 110 Posts
Kerlingen Reputation: 200-299 Kerlingen Reputation: 200-299 Kerlingen Reputation: 200-299
Such an utility does not exist. 16 bit DOS programming is totally different from Win32. I say only the words interrupt, segmentation and full control. Most people who started programming after Win95 wouldn't probably even understand the logic behind DOS singularity.

Why would anybody on earth have to reverse 50 DOS programs? Most of them will be probably older than 10 or 15 years.
Reply With Quote
  #6  
Old 07-26-2011, 22:32
yogi_saw yogi_saw is offline
Family
 
Join Date: Jul 2010
Posts: 173
Rept. Given: 57
Rept. Rcvd 52 Times in 32 Posts
Thanks Given: 3
Thanks Rcvd at 13 Times in 13 Posts
yogi_saw Reputation: 52
In that case u r approching wrong way. Try to search for decompiler instead converting 16 bit to 32 bit

try this
http://www.itee.uq.edu.au/~cristina/dcc.html
Reply With Quote
  #7  
Old 07-27-2011, 00:13
memo-5 memo-5 is offline
Friend
 
Join Date: Sep 2005
Posts: 84
Rept. Given: 15
Rept. Rcvd 3 Times in 3 Posts
Thanks Given: 64
Thanks Rcvd at 11 Times in 6 Posts
memo-5 Reputation: 3
Thank you yogi_saw, for the advice and the link, the problem with dcc decompiler that it's academic app and dos not work for many programs, I tried it long time ago and I failed to get it work with the target apps.
I will look into the code as soon as I get some free time.
Reply With Quote
  #8  
Old 02-13-2012, 20:55
redbull redbull is offline
Friend
 
Join Date: Mar 2004
Posts: 160
Rept. Given: 17
Rept. Rcvd 5 Times in 4 Posts
Thanks Given: 3
Thanks Rcvd at 6 Times in 6 Posts
redbull Reputation: 5
I have had a great deal of success debugging and running DOS and 16bit applications in DOSBOX. You can also script nice start up scripts. So you can create a batch file, put it on the desktop, double click and it will launch DOSBOX with your application running in it. DosBox can also be configured to turn off when you exit the program inside it.

Debugging I have always used either SoftIce or TR.

Softice wont work in DosBox (im sure) but TR 2.52 has been great.
Reply With Quote
  #9  
Old 02-14-2012, 14:16
giv's Avatar
giv giv is offline
VIP
 
Join Date: Jan 2011
Location: Romania
Posts: 1,663
Rept. Given: 803
Rept. Rcvd 1,283 Times in 561 Posts
Thanks Given: 228
Thanks Rcvd at 567 Times in 241 Posts
giv Reputation: 1100-1299 giv Reputation: 1100-1299 giv Reputation: 1100-1299 giv Reputation: 1100-1299 giv Reputation: 1100-1299 giv Reputation: 1100-1299 giv Reputation: 1100-1299 giv Reputation: 1100-1299 giv Reputation: 1100-1299
Quote:
Dcc has a fundamental implementation flaw that limits it to about 30KB of input binary program
Quote:
http://itee.uq.edu.au/~cristina/dcc.html
The end note.
Reply With Quote
The Following User Says Thank You to giv For This Useful Post:
memo-5 (07-15-2016)
  #10  
Old 02-15-2012, 16:38
ricnar456 ricnar456 is offline
Friend
 
Join Date: May 2002
Posts: 290
Rept. Given: 1
Rept. Rcvd 28 Times in 10 Posts
Thanks Given: 0
Thanks Rcvd at 52 Times in 40 Posts
ricnar456 Reputation: 28
Insight is a good debugger for 16 bits programs and work in XP in 7 etc.


http://ricardonarvaja.info/WEB/OTROS...K/insig124.zip

ricnar
Reply With Quote
The Following User Says Thank You to ricnar456 For This Useful Post:
memo-5 (07-15-2016)
  #11  
Old 03-08-2012, 23:14
dj-siba's Avatar
dj-siba dj-siba is offline
Musician Member
 
Join Date: Jun 2003
Location: Outside the dot
Posts: 324
Rept. Given: 34
Rept. Rcvd 43 Times in 21 Posts
Thanks Given: 57
Thanks Rcvd at 160 Times in 43 Posts
dj-siba Reputation: 42
Try :
LiuTaoTao TRACER
LADO's Tracer 1.0
and other debugers
all from here
http://www.exetools.com/debuggers.htm
Reply With Quote
Reply

Tags
dos console 16 32


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
convert 16bit app to 32bit Kyrios General Discussion 6 03-17-2005 16:53


All times are GMT +8. The time now is 00:41.


Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX, chessgod101
( Since 1998 )