First post, by matze79
- Rank
- l33t
Hi,
this is a thread about Patching Tandy Games to 0E0 Port.
with debug.exe (MS-DOS Command) this can be done really easy, gamma from dosreloaded.de showed me howto make small adjustments to com files.
i patched digipak driver for tandy ex/tx, now its working with Port 0E0h.
Disassemble your Program (nbasm is really good, choose 16bit Mode)
We are looking for OUT C0,AL, lets see what it is in HEX Format
Use MS-DOS Debug:
debug
-a
out c0,al
(enter)
- u
We get this:
xxxx:0100 E6C0 OUT C0,AL
Now lets search for the opcode in hexformat:
debug myfile.com
-s 0 ffff e6 C0
Now we get several Hits:
--> 1. 1 Hit at xxxx:05AC
We examine the Position:
-u 05AC
We get: "xxxx:05AC E6C0 OUT C0,AL"
Now lets change the position to "out e0,al":
-a 05ac
OUT e0,al
(enter)
lets check if everything is right:
-u 05ac
--> it changed
Lets repeat with all other Positions!
Save with:
-w
Quit with:
-q
This will work with files up to 64kbyte, note that debug will complain about i can`t save to EXE or HEX Format.. simply rename files should to the trick ( i did only try yet with Digipak Driver TANEXTX.COM which worked very well!)
Dissembler:
http://www.fysnet.net/newbasic.htm - NewBasic x86 Assembler
Requires cwsdpmi.
Grab it here: https://sandmann.dotster.com/cwsdpmi/
Thanks
Matthias
https://www.retrokits.de - blog, retro projects, hdd clicker, diy soundcards etc
https://www.retroianer.de - german retro computer board