[Lapetus-cvs] lapetus vdp1.c,1.2,1.3 vdpinit.c,1.5,1.6
Status: Inactive
Brought to you by:
cyberwarriorx
From: Theo B. <cyb...@us...> - 2008-01-09 05:56:03
|
Update of /cvsroot/lapetus/lapetus In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv25747 Modified Files: vdp1.c vdpinit.c Log Message: -Fixed a couple of bugs, etc. Index: vdp1.c =================================================================== RCS file: /cvsroot/lapetus/lapetus/vdp1.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- vdp1.c 7 Jul 2007 03:37:41 -0000 1.2 +++ vdp1.c 9 Jan 2008 05:55:59 -0000 1.3 @@ -181,7 +181,7 @@ { volatile vdp1cmd_struct *tbl=(volatile vdp1cmd_struct *)(VDP1_RAM+(commandnum * 0x20)); - tbl->CMDCTRL = ((sprite->attr >> 12) & 0x7FF0) | 0x0005; + tbl->CMDCTRL = ((sprite->attr >> 12) & 0x7FF0) | 0x0006; tbl->CMDLINK = sprite->linkaddr / 8; tbl->CMDPMOD.all = (u16)sprite->attr | 0xC0; tbl->CMDCOLR = sprite->bank; Index: vdpinit.c =================================================================== RCS file: /cvsroot/lapetus/lapetus/vdpinit.c,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- vdpinit.c 7 Jul 2007 03:37:41 -0000 1.5 +++ vdpinit.c 9 Jan 2008 05:55:59 -0000 1.6 @@ -196,6 +196,7 @@ case SCREEN_RBG0: // RBG0 { vdp2settings.PRIR.all = priority; + VDP2_REG_PRIR = vdp2settings.PRIR.all; break; } default: break; @@ -255,6 +256,8 @@ void VdpEnableColorOffset(u16 screen, int select) { // Adjust select first + screen = 1 << screen; + if (select == 0) vdp2settings.CLOFSL &= ~screen; else @@ -277,3 +280,15 @@ } ////////////////////////////////////////////////////////////////////////////// + +void VdpEnableLineWindow(int screennum, int windownum, u16 mode, u32 linetbladdr) +{ +} + +////////////////////////////////////////////////////////////////////////////// + +void VdpDisableLineWindow(void) +{ +} + +////////////////////////////////////////////////////////////////////////////// |