18 sw t0, REG_GP1(a0) # GP1 0: reset
20 li t0, 0x03000000 # GP1 3: display enable
22 li t0, 0x08000009 # GP1 8: display mode (320x240 15bpp PAL)
24 li t0, 0x06c60260 # GP1 6: horiz. display range (608-3168)
26 li t0, 0x07049c1f # GP1 7: vert. display range (31-295)
29 li t0, 0xe1000600 # GP0 e1: draw mode (draw allowed & dither enable)
31 li t0, 0xe3000000 # draw area top left (0, 0)
33 li t0, 0xe4041d3f # draw area bottom right (319,263)
35 li t0, 0xe5000000 # draw offset (0, 0)
39 li t0, 0x02302010 # cmd 2: fill area (BBGGRR)
42 sw t0, REG_GP0(a0) # ... top left 0,0 (YYYYXXXX)
43 li t0, 0x00ef013f # ... size 319x239 (HHHHWWWW)
46 # draw gouraud triangle
49 li t0, 160 | (16 << 16)
54 li t0, 32 | (180 << 16)
59 li t0, 280 | (220 << 16)
68 # vi:ts=8 sts=8 sw=8 ft=mips: