|
@@ -106,7 +106,7 @@
|
|
|
#define SMCR_ColAdrBits( x ) /* col. addr bits 8..11 */ \
|
|
|
(( (x) - 8 ) << FShft (SMCR_DCAC))
|
|
|
#define SMCR_RowAdrBits( x ) /* row addr bits 9..12 */\
|
|
|
- (( (x) - 9 ) << FShft (SMCR_DRAC)
|
|
|
+ (( (x) - 9 ) << FShft (SMCR_DRAC))
|
|
|
|
|
|
#define SNPR_VFBstart Fld(12,0) /* Video frame buffer addr */
|
|
|
#define SNPR_VFBsize Fld(11,12) /* Video frame buffer size */
|
|
@@ -394,7 +394,7 @@
|
|
|
#define VgaStatus (*((volatile Word *) SA1101_p2v (_VgaStatus)))
|
|
|
#define VgaInterruptMask (*((volatile Word *) SA1101_p2v (_VgaInterruptMask)))
|
|
|
#define VgaPalette (*((volatile Word *) SA1101_p2v (_VgaPalette)))
|
|
|
-#define DacControl (*((volatile Word *) SA1101_p2v (_DacControl))
|
|
|
+#define DacControl (*((volatile Word *) SA1101_p2v (_DacControl)))
|
|
|
#define VgaTest (*((volatile Word *) SA1101_p2v (_VgaTest)))
|
|
|
|
|
|
#define VideoControl_VgaEn 0x00000000
|