home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.asm.x86      Ahh, the lost art of x86 assembly      4,675 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 4,066 of 4,675   
   JJ to All   
   Re: Easily convert 16bit asm to 32bit wi   
   04 Aug 20 15:10:18   
   
   From: jj4public@nospicedham.vfemail.net   
      
   On Mon, 3 Aug 2020 02:18:46 -0700 (PDT), 11mangu01@nospicedham.gmail.com   
   wrote:   
   > On Monday, 30 June 2014 04:12:52 UTC+1, William Gallant  wrote:   
   >> I have never found any 16bit to 32bit asm converters   
   >> ( always told there is none ). My theory is to take a   
   >> 16bit program and pass it through a modified DOS DEBUG   
   >> program such as Paul Vojta's DEBUGX.COM and spew   
   >> out 32bit. Does this seem possible?   
   >   
   > I think it is semi possible, i think a program could be made to run an   
   > assembaled assembaly file coded in 16 bit asm, and then from that   
   > generate a 32 or 64 bit asm file that gives an ok output.   
   >   
   > e.g:   
   >   
   [snip]   
   >   
   > but displaying text is easy and so more advanced things would not be able   
   > to translate very well but this is just a concept.   
      
   I actually need DEDBUG's binary data manipulation so much that I had to make   
   my own DEBUG clone to remake that sole functionality, using VBScript.   
      
   https://pastebin.com/XfctsB1e   
      
   The dis/assembler part was considered but I've changed my mind, considering   
   that 32/64 bit (non DOS) programs use a not-so-simple image structure. Not   
   to mention the overwhelming x86 & x64 instruction sets and operating   
   environments.   
      
   It would be great if there's a full 32/64 bit version of DEBUG, rather than   
   a 32/64 bit DEBUG but with 16-bit functionalities.   
      
   Or, is there a 32/64 bit console based debugger (for Windows) with assembler   
   and binary file & memory manipulation already? Just like what DEBUG can do?   
   So far, I only found the GUI ones.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca