summaryrefslogtreecommitdiff
path: root/lib/ultralib/src/vimodes/vimodentschaf1.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ultralib/src/vimodes/vimodentschaf1.c')
-rw-r--r--lib/ultralib/src/vimodes/vimodentschaf1.c30
1 files changed, 20 insertions, 10 deletions
diff --git a/lib/ultralib/src/vimodes/vimodentschaf1.c b/lib/ultralib/src/vimodes/vimodentschaf1.c
index e6ad8bc..ccb6427 100644
--- a/lib/ultralib/src/vimodes/vimodentschaf1.c
+++ b/lib/ultralib/src/vimodes/vimodentschaf1.c
@@ -1,21 +1,31 @@
+/**
+ * @file vimodentschaf1.c
+ *
+ * NTSC HAF1 Video Mode
+ *
+ * H = High Resolution
+ * A = Anti-Aliased
+ * F = Deflickered Interlaced
+ * 1 = 16-bit Framebuffer
+ */
#include "PR/os.h"
#include "PR/rcp.h"
-#include "../io/viint.h"
+#include "PRinternal/viint.h"
OSViMode osViModeNtscHaf1 = {
OS_VI_NTSC_HAF1, // type
{
// comRegs
VI_CTRL_TYPE_16 | VI_CTRL_GAMMA_DITHER_ON | VI_CTRL_GAMMA_ON | VI_CTRL_DIVOT_ON | VI_CTRL_SERRATE_ON |
- VI_CTRL_PIXEL_ADV_3, // ctrl
- WIDTH(640), // width
- BURST(57, 34, 5, 62), // burst
- VSYNC(524), // vSync
- HSYNC(3093, 0), // hSync
- LEAP(3093, 3093), // leap
- HSTART(108, 748), // hStart
- SCALE(1, 0), // xScale
- VCURRENT(0), // vCurrent
+ VI_CTRL_ANTIALIAS_MODE_0 | VI_CTRL_PIXEL_ADV_3, // ctrl
+ WIDTH(640), // width
+ BURST(57, 34, 5, 62), // burst
+ VSYNC(524), // vSync
+ HSYNC(3093, 0), // hSync
+ LEAP(3093, 3093), // leap
+ HSTART(108, 748), // hStart
+ SCALE(1, 0), // xScale
+ VCURRENT(0), // vCurrent
},
{ // fldRegs
{