First post, by keropi
- Rank
- l33t++
Hiya!
I started using an EGA/VGA combo card in my 286/EGA setup and Supaplex detects it as a VGA card even though the card is jumpered as an "EGA PURE" one (and working with a true EGA monitor) . So in the Supaplex SpeedFix documentation there is info on how to force EGA mode in the original non-patched game:
+------------------------------------------------------------+
| HOW TO FORCE THE EGA MODE WITH THE ORIGINAL SUPAPLEX CODE: |
+------------------------------------------------------------+
With one additional line, the above batch job can also force the video mode
on VGA cards to run as if it runs with an EGA card, and with debug mode on.
The behavior and the colors of Supaplex are totally different now.
Different code is used in the program, and the standard 16 colors are used in
stead of using the VGA palettes for nicer colors.
@echo off
echo g33 > supaplex.deb
echo t >> supaplex.deb
echo g103 >> supaplex.deb
echo t >> supaplex.deb
echo ecs:5378 0 >> supaplex.deb
echo ecs:a040 1 >> supaplex.deb
echo g >> supaplex.deb
echo q >> supaplex.deb
debug supaplex.exe < supaplex.deb
del supaplex.deb
June 15, 2007 SPFIX63a.DOC Page 32 of 50
The EGA mode is switched on with the line: echo ecs:5378 0 >> supaplex.deb
The debug mode is switched on with the line: echo ecs:a040 1 >> supaplex.deb
The lines with g33,t,g103,t are to persuade Supaplex to unpack itself.
Supaplex has to be unpacked, since the debug byte is inside of a packed block.
I tested with the "ecs:5378 0'" option only since I have no interest in the debug mode and it works fine. I unpacked the EXE with UNP but how do you translate the "ecs:5378 0" command? I looked some debug help online and it appears this is a search-and-replace function in a ram location but that's as far as I went 🤣
Any tips on how to proceed? 😊 TIA!