From 90c802592b8c030a4b593fc7550685240d9a7f78 Mon Sep 17 00:00:00 2001 From: beeanyew Date: Tue, 8 Jun 2021 10:04:27 +0200 Subject: [PATCH] Fix P96 2.1E(?) issues The Picasso96 bundled with some WB installs was refusing to enumerate any modes when encountering a palette or graphics controller type higher than its old assigned maximum. This should fix the problem with sometimes being unable to find any graphics modes through the CyberGraphX API. NOTE: Requires reattaching the Picasso96 settings to the board, since the palette/graphics controller chip type has changed. --- .../amiga/rtg/rtg_driver_amiga/pigfx-2.c | 6 +++--- .../amiga/rtg/rtg_driver_amiga/pigfx020.card | Bin 5220 -> 5220 bytes .../amiga/rtg/rtg_driver_amiga/pigfx020i.card | Bin 4380 -> 4380 bytes .../amiga/rtg/rtg_driver_amiga/pigfx030.card | Bin 5220 -> 5220 bytes 4 files changed, 3 insertions(+), 3 deletions(-) diff --git a/platforms/amiga/rtg/rtg_driver_amiga/pigfx-2.c b/platforms/amiga/rtg/rtg_driver_amiga/pigfx-2.c index d3f5bf9..6ac9229 100644 --- a/platforms/amiga/rtg/rtg_driver_amiga/pigfx-2.c +++ b/platforms/amiga/rtg/rtg_driver_amiga/pigfx-2.c @@ -255,9 +255,9 @@ int __attribute__((used)) InitCard(__REGA0(struct BoardInfo* b)) { b->CardBase = (struct CardBase *)_gfxbase; b->ExecBase = SysBase; b->BoardName = "PiStorm RTG"; - b->BoardType = BT_MNT_ZZ9000; - b->PaletteChipType = PCT_MNT_ZZ9000; - b->GraphicsControllerType = GCT_MNT_ZZ9000; + b->BoardType = 14; + b->PaletteChipType = PCT_S3ViRGE; + b->GraphicsControllerType = GCT_S3ViRGE; b->Flags = BIF_INDISPLAYCHAIN | BIF_GRANTDIRECTACCESS | BIF_HARDWARESPRITE | BIF_FLICKERFIXER; b->RGBFormats = 1 | 2 | 512 | 1024 | 2048; diff --git a/platforms/amiga/rtg/rtg_driver_amiga/pigfx020.card b/platforms/amiga/rtg/rtg_driver_amiga/pigfx020.card index 13c99a34326aab901fe53a16d242ba86fb9c212d..2e04d1181a7939009c6e4be96bde8c3d7e8ee3c7 100644 GIT binary patch delta 28 jcmaE&@kC>TDic4Sq65RKA|6FYhIIlq44j)ym<)sfdVvQf delta 28 jcmaE&@kC>TDigo7q65RKB4I^GhIIlq3<8@?m<)sfd=Uph diff --git a/platforms/amiga/rtg/rtg_driver_amiga/pigfx020i.card b/platforms/amiga/rtg/rtg_driver_amiga/pigfx020i.card index 9aac8dc942cc928619530a2c39a62d2560cc5b20..0e70d1a87a3b41503af5266c79fe66e8ca983c86 100644 GIT binary patch delta 28 kcmbQEG)HNJDic4Sq65RKA|6FYhIIlq44j)ym|pM!0BeN@J^%m! delta 28 kcmbQEG)HNJDigo7q65RKB4I^GhIIlq3<8@?m|pM!0BscqSpWb4 diff --git a/platforms/amiga/rtg/rtg_driver_amiga/pigfx030.card b/platforms/amiga/rtg/rtg_driver_amiga/pigfx030.card index a7fa4177f9658479b759afbe95ab19d8a6051125..bfa07e55f7deedcd914b1668ba81cc875cec1871 100644 GIT binary patch delta 28 jcmaE&@kC>TDic4Sq65RKA|6FYhIIlq44j)ym<)sfdVvQf delta 28 jcmaE&@kC>TDigo7q65RKB4I^GhIIlq3<8@?m<)sfd=Uph -- 2.39.2