]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
SX32Pro can support 128M RAM, fix memory mapping.
authorToni Wilen <twilen@winuae.net>
Sun, 14 Jan 2024 14:59:26 +0000 (16:59 +0200)
committerToni Wilen <twilen@winuae.net>
Sun, 14 Jan 2024 14:59:26 +0000 (16:59 +0200)
cpuboard.cpp
expansion.cpp

index 69683a82da10d62342bb263f3f19078c86f7c893..cec5ad2dd3b162dc6d27a066fed4908f7255a97b 100644 (file)
@@ -1861,7 +1861,7 @@ static void cpuboard_init_2(void)
                mapped_malloc(&blizzardea_bank);
 
                if (is_mtec_ematrix530(&currprefs) || is_sx32pro(&currprefs) || is_dce_typhoon2(&currprefs)) {
-                       if (cpuboard_size == 2 * 1024 * 1024 || cpuboard_size == 8 * 1024 * 1024 || cpuboard_size == 32 * 1024 * 1024) {
+                       if (cpuboard_size == 2 * 1024 * 1024 || cpuboard_size == 8 * 1024 * 1024 || cpuboard_size == 32 * 1024 * 1024 || is_sx32pro(&currprefs)) {
                                cpuboardmem1_bank.start = 0x18000000;
                                cpuboardmem1_bank.reserved_size = cpuboard_size / 2;
                                cpuboardmem1_bank.mask = cpuboardmem1_bank.reserved_size - 1;
index c9c494fa611516bf308ba96b8f6ddc4c4e84729a..44cbf6c2fa6697f68849db679a7e7cccdace62bf 100644 (file)
@@ -6896,7 +6896,7 @@ static const struct cpuboardsubtype dceboard_sub[] = {
                ROMTYPE_CB_SX32PRO, 0, 3,
                NULL, 0,
                BOARD_MEMORY_CUSTOM_32,
-               64 * 1024 * 1024
+               128 * 1024 * 1024
        },
        {
                _T("Typhoon MK2"),