Fix RTG driver build script, update driver to allow higher resolutions

This commit is contained in:
beeanyew
2021-05-05 09:40:16 +02:00
parent 1828e6a16e
commit 69ad2fb3a6
5 changed files with 8 additions and 8 deletions

View File

@@ -1,2 +1,2 @@
vc +aos68k -nostdlib -I$VBCC/targets/m68k-amigaos/include2 -c99 -O2 -o pigfx020.card pigfx.c -ldebug -lamiga -cpu=68020
vc +aos68k -nostdlib -I$VBCC/targets/m68k-amigaos/include2 -c99 -O2 -o pigfx030.card pigfx.c -ldebug -lamiga -cpu=68030
vc +aos68k -nostdlib -I$VBCC/targets/m68k-amigaos/include -c99 -O2 -o pigfx020.card pigfx.c -ldebug -lamiga -cpu=68020
vc +aos68k -nostdlib -I$VBCC/targets/m68k-amigaos/include -c99 -O2 -o pigfx030.card pigfx.c -ldebug -lamiga -cpu=68030

View File

@@ -1,2 +1,2 @@
vc +aos68k -nostdlib -I$VBCC/targets/m68k-amigaos/include2 -c99 -O2 -o pigfx020.card pigfx.c -ldebug -lamiga -cpu=68020
vc +aos68k -nostdlib -I$VBCC/targets/m68k-amigaos/include2 -c99 -O2 -o pigfx030.card pigfx.c -ldebug -lamiga -cpu=68030
vc +aos68k -nostdlib -I$VBCC/targets/m68k-amigaos/include -c99 -O2 -o pigfx020.card pigfx.c -ldebug -lamiga -cpu=68020
vc +aos68k -nostdlib -I$VBCC/targets/m68k-amigaos/include -c99 -O2 -o pigfx030.card pigfx.c -ldebug -lamiga -cpu=68030

View File

@@ -280,10 +280,10 @@ int InitCard(__REGA0(struct BoardInfo* b)) {
b->BitsPerCannon = 8;
for(i = 0; i < MAXMODES; i++) {
b->MaxHorValue[i] = 1920;
b->MaxVerValue[i] = 1080;
b->MaxHorResolution[i] = 1920;
b->MaxVerResolution[i] = 1080;
b->MaxHorValue[i] = 8192;
b->MaxVerValue[i] = 8192;
b->MaxHorResolution[i] = 8192;
b->MaxVerResolution[i] = 8192;
b->PixelClockCount[i] = 1;
}