]> git.sesse.net Git - pistorm/commitdiff
Fix P96 2.1E(?) issues
authorbeeanyew <beeanyew@gmail.com>
Tue, 8 Jun 2021 08:04:27 +0000 (10:04 +0200)
committerbeeanyew <beeanyew@gmail.com>
Tue, 8 Jun 2021 08:04:27 +0000 (10:04 +0200)
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.

platforms/amiga/rtg/rtg_driver_amiga/pigfx-2.c
platforms/amiga/rtg/rtg_driver_amiga/pigfx020.card
platforms/amiga/rtg/rtg_driver_amiga/pigfx020i.card
platforms/amiga/rtg/rtg_driver_amiga/pigfx030.card

index d3f5bf965a863830e3a142fc93163910af8d86b0..6ac92290f34287f2d6317fba628a640b65d5f62e 100644 (file)
@@ -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;
index 13c99a34326aab901fe53a16d242ba86fb9c212d..2e04d1181a7939009c6e4be96bde8c3d7e8ee3c7 100644 (file)
Binary files a/platforms/amiga/rtg/rtg_driver_amiga/pigfx020.card and b/platforms/amiga/rtg/rtg_driver_amiga/pigfx020.card differ
index 9aac8dc942cc928619530a2c39a62d2560cc5b20..0e70d1a87a3b41503af5266c79fe66e8ca983c86 100644 (file)
Binary files a/platforms/amiga/rtg/rtg_driver_amiga/pigfx020i.card and b/platforms/amiga/rtg/rtg_driver_amiga/pigfx020i.card differ
index a7fa4177f9658479b759afbe95ab19d8a6051125..bfa07e55f7deedcd914b1668ba81cc875cec1871 100644 (file)
Binary files a/platforms/amiga/rtg/rtg_driver_amiga/pigfx030.card and b/platforms/amiga/rtg/rtg_driver_amiga/pigfx030.card differ