flat assembler
Message board for the users of flat assembler.

flat assembler > DOS > new version of DEBUG.COM

Author
Thread Post new topic Reply to topic
Japheth



Joined: 26 Oct 2004
Posts: 151
Hi,

I proudly present DEBUG.COM v1.0pre.

Although the version number suggests it, it is not the first version of this tool, it is a new (pre)release of the FreeDOS DEBUG, which intends to be fully compatible with MS-DOS DEBUG.

The features of this tool are:

- it has the same nice user interface as MS-DOS DEBUG.COM
- unlike the MS-DOS variant, it is aware of 32-bit cpus and FPU
- unlike the MS-DOS variant, it is aware of DPMI and can
debug 16 and 32-bit DPMI protected-mode applications.

it is not the final version yet, there are known bugs, I'm currently collecting the things which have to be implemented/fixed for the final 1.0. Therefore Feedback is welcome.

http://www.japheth.de/Download/debug105.zip (updated 04/01/2007)


Last edited by Japheth on 01 Apr 2007, 07:41; edited 1 time in total
Post 17 Nov 2006, 14:50
View user's profile Send private message Visit poster's website Reply with quote
Dex4u



Joined: 08 Feb 2005
Posts: 1601
Location: web
Nice work, but i think it needs converting to Fasm Wink .
Post 17 Nov 2006, 16:15
View user's profile Send private message Reply with quote
Goplat



Joined: 15 Sep 2006
Posts: 181
I can't get the DPMI version to work in XP, it just hangs without displaying anything. Running it in either dosbox or qemu with cwsdpmi does the same.
Post 17 Nov 2006, 16:57
View user's profile Send private message Reply with quote
Japheth



Joined: 26 Oct 2004
Posts: 151
> I can't get the DPMI version to work in XP,

Please download again.
Post 17 Nov 2006, 17:23
View user's profile Send private message Visit poster's website Reply with quote
Goplat



Joined: 15 Sep 2006
Posts: 181
Cool, now it works Very Happy
Post 17 Nov 2006, 19:35
View user's profile Send private message Reply with quote
rugxulo



Joined: 09 Aug 2005
Posts: 2335
Location: Usono (aka, USA)
Also, he's updated FreeDOS's EMM386:

Quote:

Jemm386 is an Expanded Memory Manager for DOS, based on the source of FreeDOS EMM386.
It has several advantages compared to FreeDOS and/or MS-DOS EMM386:

  • needs only 192 bytes DOS memory
  • needs very little extended memory
  • is faster
  • works with MS-DOS, FreeDOS and EDR-DOS
  • will use features implemented on later CPUs to further increase speed

Post 21 Nov 2006, 14:37
View user's profile Send private message Visit poster's website Reply with quote
rugxulo



Joined: 09 Aug 2005
Posts: 2335
Location: Usono (aka, USA)
FD debug 1.03 wrote:

1.01 [26 November 2006] bugfix: MC2 didn't work. Register names
can be used anywhere where a number is expected as input.
1.02 [29 November 2006] bugfix: 'i d' and 'o d' didn't work because
the parser assumed 'id' and 'od' commands. bugfix: 't=' and 'g='
didn't work in protected-mode. bugfix: loading a file at another
location than cs:100h was not supported in versions 0.99 - 1.01.
Debugger can be loaded high.
1.03 [1 February 2007] bugfix: previous version of DEBUG.COM did not
reliably reset "auto-reset" breakpoints (used for processing INTs).
DEBUGX.COM was not affected by this bug. 'di' now works in real-mode
as well. 'dm' command added.


Jemm386 5.40 wrote:

02/20/2007: v5.4

- some minor bugfixes.
- Jemm386 now moves its resident part to the first UMB which it supplies.
- NOHI option implemented.
- Jemm386 now uses the true (=zero-based) flat memory model.

01/11/2007: v5.34

- bugfix: Jemm386 always hooked int 15h, ah=4Fh, thus always acting as
if option ALTBOOT was set (bug introduced in v5.25).

01/06/2007: v5.33

- bugfix: Jemm386 erroneously might have disabled EMS (on EDR-DOS only?).
- reboot code slightly changed, there were still some machines (old 80486?)
were Ctrl-Alt-Del didn't work.

11/13/2006: v5.32

- removed an optimisation which PKZIP didn't like.


http://www.japheth.de
Post 26 Feb 2007, 18:56
View user's profile Send private message Visit poster's website Reply with quote
Japheth



Joined: 26 Oct 2004
Posts: 151
a new version of DEBUG.COM has been created:

http://www.japheth.de/Download/debug104.zip

which will automatically switch to low-level I/O routines if the InDOS flag is set, thus allowing to single-step through DOS code itself.

http://www.japheth.de/Jemm386.html has also been updated. The newest version can be loaded and unloaded without rebooting.
Post 05 Mar 2007, 08:59
View user's profile Send private message Visit poster's website Reply with quote
DOS386



Joined: 08 Dec 2006
Posts: 1904
Quote:
a new version of DEBUG.COM has been created:
http://www.japheth.de/Download/debug104.zip


Thanks.

Quote:
This debugger extends the DOS version in the
following ways:


Should be MS-DOS or MS-DOG probably ...

Could you please add some info also about how to use it ?

The manual does not really contain such info. Some online info about
M$-DOG DEBUG exists but does not actually help either:

Quote:
Why does the same memory location contain 2 different values
in 2 instances of DEBUG


Used latest NT-based ^^^ version of MS-DOS Sad Sad

BTW: I already found 1 bug using a debugger Smile ... but it was deb32,
not FD-DEBUG Shocked

_________________
Bug Nr.: 12345

Title: Hello World program compiles to 100 KB !!!

Status: Closed: NOT a Bug
Post 05 Mar 2007, 09:23
View user's profile Send private message Reply with quote
Japheth



Joined: 26 Oct 2004
Posts: 151
> Should be MS-DOS or MS-DOG probably ...

Might be, but the files are copyrighted Paul Vojta, which means I should be careful with modifications (additions are not that a problem).

> Could you please add some info also about how to use it ?

But it is self-explanatory Surprised . BTW, the main purpose of DEBUG.COM is for ASM learners, to provide a quick way trying out opcodes with the inline assembler. Although, it was the only debugger being able to debug Jemm386 switching from v86 back to real-mode, so it's beginning to become valuable even if used as debugger.

> BTW: I already found 1 bug using a debugger Smile ... but it was deb32,
> not FD-DEBUG Shocked

surely not the only bug in deb32 ... it needs a redesign ... since 10 years.
Post 05 Mar 2007, 09:43
View user's profile Send private message Visit poster's website Reply with quote
DOS386



Joined: 08 Dec 2006
Posts: 1904
Quote:
surely not the only bug in deb32


Found a bug in MY code using deb32 Shocked

Quote:
needs a redesign ... since 10 years.


Shocked Could be less complicated (less files) for my taste ...

but the manual of deb32 is better than of FD-DEBUG ... but still there is
space for improvements Wink

_________________
Bug Nr.: 12345

Title: Hello World program compiles to 100 KB !!!

Status: Closed: NOT a Bug
Post 05 Mar 2007, 10:17
View user's profile Send private message Reply with quote
rugxulo



Joined: 09 Aug 2005
Posts: 2335
Location: Usono (aka, USA)
DOS386 wrote:

Quote:
This debugger extends the DOS version in the
following ways:


Should be MS-DOS or MS-DOG probably ...

Could you please add some info also about how to use it ?



Not sure if this is what you're asking, but download DEBUGTUT.ZIP (or view online). Or, here's a seemingly better tutorial (haven't really checked this out, but it seems helpful).
Post 05 Mar 2007, 22:11
View user's profile Send private message Visit poster's website Reply with quote
rugxulo



Joined: 09 Aug 2005
Posts: 2335
Location: Usono (aka, USA)


Also, TDE (text editor) is now at 5.1v, and the error browser (manually jumping to code errors after trying to compile) correctly works with FASM now.
Post 24 May 2007, 08:02
View user's profile Send private message Visit poster's website 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-2019, Tomasz Grysztar.

Powered by rwasa.