Presume we want to write 0x2000 bytes from the PROM at 0xc800, offset 0,
into a DOS file called PROM.BIN....
DOS> debug
- m c800:0 100 2000 ! copy(move) c800:0 to ds:100, 2000 bytes
- rcx ! exam CX
:2000 ! Set byte-count in CX
- n prom.bin ! Name a file
- w ! Write the file
- q ! Quit
DOS> debug prom.bin ! load the file.
- u 100 ! Unassembly stuff
If you want the offsets to be correct, move the data from 100 hex where
DEBUG loads it to some unused segment, offset 0 (5000:0) perhaps.
Disassemble it from there
Cheers,
Dick Johnson
***** FILE SYSTEM MODIFIED *****
Penguin : Linux version 2.1.101 on an i586 machine (66.15 BogoMips).
Warning : It's hard to remain at the trailing edge of technology.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu