flat assembler
Message board for the users of flat assembler.

Index > DOS > Suggested debugger for 16 bit mode.

Author
Thread Post new topic Reply to topic
FASMNOOB



Joined: 09 Feb 2012
Posts: 21
FASMNOOB 12 Feb 2012, 13:50
I'm wondering what steps to take to get a debugger to load a .fas file. I did see this thread on the subject but I tried OllyDBG to load a .fas file and it said it wasn't a valid 32-bit program.
Post 12 Feb 2012, 13:50
View user's profile Send private message Reply with quote
edfed



Joined: 20 Feb 2006
Posts: 4354
Location: Now
edfed 12 Feb 2012, 18:30
look here http://board.flatassembler.net/topic.php?p=114370, youshould use a plugin to load .fas file AS debug info for ollydbg. you cannot just load a .fas file in olydbg as an executable binary, because it inot an executable binary at all.
Post 12 Feb 2012, 18:30
View user's profile Send private message Visit poster's website Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20513
Location: In your JS exploiting you and your system
revolution 12 Feb 2012, 18:35
Also note that Ollydbg is a 32-bit debugger. It doesn't support 16-bit mode.
Post 12 Feb 2012, 18:35
View user's profile Send private message Visit poster's website Reply with quote
FASMNOOB



Joined: 09 Feb 2012
Posts: 21
FASMNOOB 13 Feb 2012, 11:22
Quote:
Also note that Ollydbg is a 32-bit debugger. It doesn't support 16-bit mode.


So now I'm confused, there is no way even with hacking to get it to work with 16 bit or there are workarounds.

Quote:
look here http://board.flatassembler.net/topic.php?p=114370, youshould use a plugin to load .fas file AS debug info for ollydbg. you cannot just load a .fas file in olydbg as an executable binary, because it inot an executable binary at all.


Tried that. I decided to just to TASM for my 16 bit stuff and translate them to FASM code once its debugged.
Post 13 Feb 2012, 11:22
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20513
Location: In your JS exploiting you and your system
revolution 13 Feb 2012, 11:31
FASMNOOB wrote:
So now I'm confused, there is no way even with hacking to get it to work with 16 bit or there are workarounds.
It would require a very considerable amount of hacking (code talk for: a complete rewrite) to get OllyDbg to work with 16-bit code.
Post 13 Feb 2012, 11:31
View user's profile Send private message Visit poster's website Reply with quote
sinsi



Joined: 10 Aug 2007
Posts: 794
Location: Adelaide
sinsi 13 Feb 2012, 12:24
http://japheth.de/
Look for 'debugger'
Post 13 Feb 2012, 12:24
View user's profile Send private message Reply with quote
rugxulo



Joined: 09 Aug 2005
Posts: 2341
Location: Usono (aka, USA)
rugxulo 16 Feb 2012, 19:26
Post 16 Feb 2012, 19:26
View user's profile Send private message Visit poster's website Reply with quote
DOS386



Joined: 08 Dec 2006
Posts: 1905
DOS386 19 Feb 2012, 08:36
GRDB | FreeDOS DEBUG | Insight (the right one) RTFW no "FAS" though
Post 19 Feb 2012, 08:36
View user's profile Send private message Reply with quote
ACP



Joined: 23 Sep 2006
Posts: 204
ACP 09 Mar 2012, 13:24
In good old times I've been most successful with Periscope debugger even without hardware add-on. Non-Windows version did worked under plain DOS in 16bit mode. Another debugger that a lot of people used was Borland Turbo Debugger. Another good but not widely used debugger is D86 from A86 package: http://eji.com/a86/

I like it becouse of two column disassembly display.

Unfortunately none of those packages support fas files. Also keep in mind that D86 does not work under DosBox if I remember correctly.
Post 09 Mar 2012, 13:24
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.