Skip to content

Commit 7210604

Browse files
authored
Changes C64 ROM auto-download from commodore.ca to zimmers.net (#163)
1 parent 157faeb commit 7210604

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

src/libraries/Highbyte.DotNet6502.Systems.Commodore64/Config/C64SystemConfig.cs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,13 +75,16 @@ public void SetRenderTargetType(Type renderTargetType)
7575
_isDirty = true;
7676
}
7777

78-
public static string DEFAULT_KERNAL_ROM_DOWNLOAD_BASE_URL = "https://www.commodore.ca/manuals/funet/cbm/firmware/computers/c64/";
78+
// Note: Original download URL on commodore.ca no longer works, Cloudflare bot detection probably uses TLS fingerprinting and detects .NET httpclient as a bot.
79+
//public static string DEFAULT_KERNAL_ROM_DOWNLOAD_BASE_URL = "https://www.commodore.ca/manuals/funet/cbm/firmware/computers/c64/";
80+
81+
public static string DEFAULT_KERNAL_ROM_DOWNLOAD_BASE_URL = "http://www.zimmers.net/anonftp/pub/cbm/firmware/computers/c64";
7982
public static string DEFAULT_KERNAL_ROM_DOWNLOAD_URL = $"{DEFAULT_KERNAL_ROM_DOWNLOAD_BASE_URL}/kernal.901227-03.bin";
8083
public static string DEFAULT_BASIC_ROM_DOWNLOAD_URL = $"{DEFAULT_KERNAL_ROM_DOWNLOAD_BASE_URL}/basic.901226-01.bin";
8184
public static string DEFAULT_CHARGEN_ROM_DOWNLOAD_URL = $"{DEFAULT_KERNAL_ROM_DOWNLOAD_BASE_URL}/characters.901225-01.bin";
8285

8386
// TODO: Decide if ROM checksums should exist in C64SystemConfig, C64Config, or in C64
84-
// ROM version info from: https://www.commodore.ca/manuals/funet/cbm/firmware/computers/c64/
87+
// ROM version info from: http://www.zimmers.net/anonftp/pub/cbm/firmware/computers/c64/
8588
// Checksums calculated with SHA1
8689
public const string KERNAL_ROM_NAME = "kernal";
8790
public static Dictionary<string, string> DefaultKernalROMChecksums = new()

0 commit comments

Comments
 (0)