VOGONS


First post, by matze79

User metadata
Rank Oldbie
Rank
Oldbie

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

Last edited by matze79 on 2020-02-20, 12:03. Edited 1 time in total.

https://dosreloaded.de - The German Retro DOS PC Community
https://www.retroianer.de - under constructing since ever

Co2 - for a endless Summer

Reply 1 of 10, by matze79

User metadata
Rank Oldbie
Rank
Oldbie

Sierra Demopac #1: (AGI2915)

Filename
demopac1_0E0.zip
File size
194.2 KiB
Downloads
4 downloads
File comment
Sierra Demopac #1
File license
Fair use/fair dealing exception

https://dosreloaded.de - The German Retro DOS PC Community
https://www.retroianer.de - under constructing since ever

Co2 - for a endless Summer

Reply 2 of 10, by matze79

User metadata
Rank Oldbie
Rank
Oldbie

I think it would be possible to make some kind of autopatcher, like it exists for other Devices OPL2LPT for example.

https://dosreloaded.de - The German Retro DOS PC Community
https://www.retroianer.de - under constructing since ever

Co2 - for a endless Summer

Reply 3 of 10, by matze79

User metadata
Rank Oldbie
Rank
Oldbie

F-19 Stealth Fighter

Filename
TSOUND.EXE.gz
File size
3.92 KiB
Downloads
No downloads
File comment
Place in Game Directory
File license
Fair use/fair dealing exception

Zorro (Digipak Driver)

Filename
TANEXTX.COM.gz
File size
1.89 KiB
Downloads
No downloads
File comment
Place in Game Directory
File license
Fair use/fair dealing exception

https://dosreloaded.de - The German Retro DOS PC Community
https://www.retroianer.de - under constructing since ever

Co2 - for a endless Summer

Reply 4 of 10, by keropi

User metadata
Rank l33t++
Rank
l33t++

nice to see info on that!
patch some popular games - something sierra for example 😁

🎵Link to buy a PCMIDI mpu
🎧Orpheus soundcard project
💻WTB Amstrad PC7486SLC-33 system

Reply 5 of 10, by matze79

User metadata
Rank Oldbie
Rank
Oldbie

Already done, patched Sierra Demopac 1, you can upgrade most AGI Games to 2915 and use the Executable from the Demopac above 😀
Space Quest 1, Kings Quest 2 and Leisure Suit Larry etc should work just fine on 0E0.

Tried to patch Stunts, but somewhere there is still a instruction hidden, it simply does not play all channels.

https://dosreloaded.de - The German Retro DOS PC Community
https://www.retroianer.de - under constructing since ever

Co2 - for a endless Summer

Reply 6 of 10, by BloodyCactus

User metadata
Rank Oldbie
Rank
Oldbie

the problem with doing 's' searches, you dont know if your in the middle of another opcode or not so dont be surprised if sometimes you do this change and you get reboots.

also does not take into accout doing it via dx as in out dx,al

but a good start anyways

--/\-[ Stu : Bloody Cactus :: http://kråketær.com :: http://mega-tokyo.com ]-/\--

Reply 7 of 10, by matze79

User metadata
Rank Oldbie
Rank
Oldbie

Police Quest 2

Filename
JR.DRV.gz
File size
1.36 KiB
Downloads
No downloads
File comment
Replace JR.DRV
File license
Fair use/fair dealing exception

https://dosreloaded.de - The German Retro DOS PC Community
https://www.retroianer.de - under constructing since ever

Co2 - for a endless Summer

Reply 8 of 10, by matze79

User metadata
Rank Oldbie
Rank
Oldbie

Silpheed
Codename: Iceman

Filename
JR.DRV.gz
File size
2.04 KiB
Downloads
No downloads
File comment
Replace JR.DRV
File license
CC-BY-4.0
Last edited by matze79 on 2020-02-22, 20:58. Edited 1 time in total.

https://dosreloaded.de - The German Retro DOS PC Community
https://www.retroianer.de - under constructing since ever

Co2 - for a endless Summer

Reply 10 of 10, by matze79

User metadata
Rank Oldbie
Rank
Oldbie

Already patched the AGIT2917, but still have not patched all.

i trying some more funny Stuff, like disassembling and reassembling..
i got some small Games for testing.

https://dosreloaded.de - The German Retro DOS PC Community
https://www.retroianer.de - under constructing since ever

Co2 - for a endless Summer