how to dump with DEBUG ?
Posted: 08 Jun 2011 18:33
Code: Select all
::--------------------------------------------------------------------------------------------------------------------------
run asm:
F 9000:0 L 200 0
A
Mov dx,9000
Mov es,dx
Xor bx,bx
Mov cx,0001
Mov dx,0080
Mov ax,0301
Int 13
Int 20
U 100 L 12
G
Q
(Note: use 0081, 0082, 0083 for 2nd, 3rd, 4th harddisk respectively)
"debug" < "asm"
::--------------------------------------------------------------------------------------------------------------------------
::--------------------------------------------------------------------------------------------------------------------------
write and run com
N _CHO.COM
E 0100 BB 80 00 43 80 3F 0D 75 FA C6 07 24 B4 09 BA 82
E 0110 00 39 DA 7F 02 CD 21 B4 4C CD 21
RCX
001B
W
Q
debug< "%scr%" >nul
_cho.com %date%
_cho.com . test first word
_cho.com . test second word.
::--------------------------------------------------------------------------------------------------------------------------
write asm ??
hexdump ??
Does anyone knows how to dump a .com file with debug ?
And the commands to create one from this asm ?
Where are the experts ? Guess I'll have to find the answer myself, I will