From a54a2fabe6670179fda903e2e58ec8af2a3520f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20Fr=C3=B6schle?= Date: Sun, 7 Jul 2013 20:54:06 +0000 Subject: [PATCH] modified GFX initialisation (32 MHz) --- BaS_gcc/sources/BaS.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/BaS_gcc/sources/BaS.c b/BaS_gcc/sources/BaS.c index b75e3eb..379144e 100644 --- a/BaS_gcc/sources/BaS.c +++ b/BaS_gcc/sources/BaS.c @@ -227,10 +227,10 @@ void BaS(void) #ifdef _NOT_USED_ // 32MHz - move.l #0x037002ba,(a0)+ // horizontal 640x480 - move.l #0x020d020a,(a0)+ // vertikal 640x480 - move.l #0x02A001e0,(a0)+ // horizontal 320x240 - move.l #0x05a00160,(a0)+ // vertikal 320x240 + * (volatile uint32_t *) (0xf0000410 + 0) = 0x037002ba; /* horizontal 640x480 */ + * (volatile uint32_t *) (0xf0000410 + 4) = 0x020d020a; /* vertical 640x480 */ + * (volatile uint32_t *) (0xf0000410 + 8) = 0x02a001e0; /* horizontal 320x240 */ + * (volatile uint32_t *) (0xf0000410 + 12) = 0x05a00160; /* vertical 320x230 */ #endif /* _NOT_USED_ */ /* fifo on, refresh on, ddrcs and cke on, video dac on */