VOGONS

Common searches


First post, by K1n9_Duk3

User metadata
Rank Member
Rank
Member

Here is a fix that will help you if you're trying to run Crystal Caves and/or Secret Agent on a real DOS PC and the display is only showing you vertical lines that stretch from the top of the screen all the way to the bottom, like in the following screenshot:

cc1-bug.png
Filename
cc1-bug.png
File size
608 Bytes
Views
167 views
File license
Fair use/fair dealing exception

Copy the following script and save it as a plain text file. Then get my patching utility and open the text file with it. Follow the instructions to patch the games' executables.

Note that there are at least two slightly different versions of CC1.EXE floating around. Both versions are supported by this patch, so it is completely normal to get one error message saying that the size of CC1.EXE doesn't match during the patching process. If you don't have all of these games, simply click "Cancel" when the program asks you to open an executable that you don't have. The program will continue with the other executales in the script.

This patch script will work on version 1.0 as well as version 1.0a of both games (1.0a is really just a hacked up v1.0, where two bytes have been changed to prevent the game from setting the date back to the 1900's).

%exefile cc1.exe 184304
%patch $28C6C
$D1 $EB # shr bx, 1
$8A $E3 # mov ah, bl
$BA $03D4w # mov dx, 3D4h
$B0 $13 # mov al, 13h
$EF # out dx, ax
$5D # pop bp
$CA $0002w # retf 2


%exefile cc1.exe 184288
%patch $28C5C
$D1 $EB # shr bx, 1
$8A $E3 # mov ah, bl
$BA $03D4w # mov dx, 3D4h
$B0 $13 # mov al, 13h
$EF # out dx, ax
$5D # pop bp
$CA $0002w # retf 2


%exefile cc2.exe 183296
%patch $2887C
$D1 $EB # shr bx, 1
$8A $E3 # mov ah, bl
$BA $03D4w # mov dx, 3D4h
$B0 $13 # mov al, 13h
$EF # out dx, ax
$5D # pop bp
$CA $0002w # retf 2


%exefile cc3.exe 189472
%patch $2A09C
$D1 $EB # shr bx, 1
$8A $E3 # mov ah, bl
$BA $03D4w # mov dx, 3D4h
$B0 $13 # mov al, 13h
$EF # out dx, ax
$5D # pop bp
$CA $0002w # retf 2


%exefile sam1.exe 188768
%patch $29E16
$D1 $EB # shr bx, 1
$8A $E3 # mov ah, bl
$BA $03D4w # mov dx, 3D4h
$B0 $13 # mov al, 13h
$EF # out dx, ax
$5D # pop bp
$CA $0002w # retf 2


%exefile sam2.exe 189744
%patch $2A1E6
$D1 $EB # shr bx, 1
$8A $E3 # mov ah, bl
$BA $03D4w # mov dx, 3D4h
Show last 18 lines
	$B0 $13		#	mov	al, 13h
$EF # out dx, ax
$5D # pop bp
$CA $0002w # retf 2


%exefile sam3.exe 189792
%patch $2A216
$D1 $EB # shr bx, 1
$8A $E3 # mov ah, bl
$BA $03D4w # mov dx, 3D4h
$B0 $13 # mov al, 13h
$EF # out dx, ax
$5D # pop bp
$CA $0002w # retf 2


%end

Reply 1 of 2, by keropi

User metadata
Rank l33t++
Rank
l33t++

thanks for sharing K1n9_Duk3 !
never had this issue but it's good to remember this patch exists now

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

Reply 2 of 2, by firage

User metadata
Rank Oldbie
Rank
Oldbie

This patch has fixed the games for the ET4000/W32p. Crystal Caves and Secret Agent compatibility was really the only issue that bothered me personally about these video cards previously. Very happy now - thanks again K1n9_Duk3!

(The first Apogee title screen will look more like a black screen with just a few stripes, just because there's a lot of black on that one line it draws for the entire screen. So the example shot here has a little more color going on than the bug will show at first.)

I found v1.0 executables to be preferable to the Y2K patched v1.0a. My 486's system clock runs fast using v1.0a and it stays wrong until booted, while v1.0 seems to stay accurate.

My Big Red Switch 486