Article ID: Q600002
The information in this article applies to:
- Direct I/O, version 4.0, 4.1
SUMMARY
The Microtek MICE-V25-Emulator comes with a symbolic debugger named USD. This
debugger is DOS based and controls the emulator using a dedicated interface card. This
articles explains how to configure your system to allow operation of the emulator.
MORE INFORMATION
After setting up the I/O port range in
Direct I/O according to your needs you have to patch the file USD.EXE to
prevent the program from switching from windowed to fullscreen mode and back. This will
cause all I/O permissions to be removed. For more informations see KB article Q700001.
Steps to patch the file
- Open the file USD.EXE in your favorite hex editor
- Locate at offset 0DFC0h the byte sequence
07 83 C4 0A 80 3E 86 D4 00 75 14 9A 3A 11 28 15
- Change this sequence to
07 83 C4 0A 80 3E 86 D4 00 EB 14 9A 3A 11 28 15
This will replace JNE by JMP and prevent the logo from being displayed.
- Save the file and quit the hex editor.
If you experience download problems on faster PCs you have to apply the following
additional patch to the file USD.EXE.
- Open the file USD.EXE in your favorite hex editor
- Locate at offset 21E30h the byte sequence
46 06 98 50 FF 36 D0 FE 9A 21 00 8C 20 83 C4 04
- Change this sequence to
46 06 98 50 FF 36 D0 FE 9A 3A 11 28 15 83 C4 04
This will replace a call to the original output routine with a call to our modified output
routine.
- Locate at offset 19BD0h the byte sequence
00 75 03 E9 C5 FE 8B E5 5D CB 55 8B EC 83 C4 F9
...
- Change this sequence to
00 75 03 E9 C5 FE 8B E5 5D CB 55 8B EC 8B 56 06
8A 46 08 EE 51 81 FA 00 02 75 33 EB 0D 90 90 90
90 90 90 90 90 90 90 90 90 90 3C 0B 75 1C 2E 8A
0E 81 11 80 F9 1B 75 12 EB 04 90 90 90 90 B9 06
00 51 33 C9 90 E2 FD 59 E2 F7 2E A2 81 11 59 5D
CB 00 D8 8B C3 A3 B8 F1 80 3E 3E 12 01 75 1F A0
Our modified output routine scans the output data stream for the sequence "1B
0B" and if found delays some time to allow the emulator to initialize itself.
- Save the file and quit the hex editor.
STATUS
This bug has been fixed in
Direct I/O
version 4.2.
This solution has been contributed by Rudolf Lehl (Tally Computerdrucker GmbH).