This version of debug library outputs information to SavageEd.exe.

Functions available:

These are implemented as macros contained in DbgWin.hhf

dbg.cls;
	clears all data on displayed on the debug window.

dbg.separator;
	displays a dashed line on the debug window.

dbg.put ( arg0, arg1, arg2, ...);
	works like stdout.put.  result is displayed on the
	debug window (plus new line).

dbg.putz (addr);
	pass address of a zero-terminated string.  displays the
	string on the debug window (plus new line).

dbg.dumpmem (addr, size);
	addr = address of memory to dump
	size = size of memory to dump
	displays the hex + ascii values of the desired memory
	on the debug window.

dbg.dumpregs;
	displays the contents of the general purpose registers
	on the debug window.

To use:

Include DbgWin.hhf in your programms.
Define a global variable "debug" as true.
The best place to do this is via the HLA commandline, pass
the parameter:  -ddebug
Eg:  HLA -ddebug myprog.hla

Have the debug window (SavageEd in this case) running.


