Previous 15994 Revisions Next

r15988 Tuesday 21st August, 2012 at 00:59:00 UTC by Angelo Salese
Documentation comments
[src/mess/drivers]vboy.c

src/mess/drivers/vboy.c
r15987r15988
88    and http://www.vr32.de/modules/dokuwiki/doku.php?
99
1010    TODO:
11    - fix Affine rotation
11   - 100us / 20us timers
12   - sound
1213    - per-game NVRAM hook-up (wariolnd, vleague, golf, others?)
1314    - boundh: game is way too fast
15    - galactic: ball goes out of bounds sometimes?
1416    - marioten: title screen logo is misplaced if Mario completes his animation
17    - nesterfb: ball stops when thrown
1518    - panicbom: brightness 10 overflows
19    - redalarm: gameplay doesn't work
1620    - spaceinv: Taito logo only if you press the button, framebuffer?
1721    - spaceinv: missing shots
18    - vleague / vproyak: keeps going into auto pause with 100 usec timer?
22    - vforce: hangs at title screen
23   - vlab: doesn't boot (irq issue?)
1924    - wariolnd: brightness gets suddently darker during intro, CPU bug?
25   - waterwld: doesn't accept start input at title screen;
2026
2127****************************************************************************/
2228
r15987r15988
647653      case 0x04:   //INTCLR
648654               logerror("Error reading INTCLR\n");
649655               break;
656/*
657      ---- -x-- ---- ---- LOCK (status column table address (CTA) lock)
658      ---- --x- ---- ---- SYNCE (status of sync signal enable)
659      ---- ---x ---- ---- RE (status of memory refresh cycle)
660      ---- ---- x--- ---- FCLK
661        ---- ---- -x-- ---- SCANRDY (active low)
662      ---- ---- --xx xx-- DPBSY (current framebuffer displayed)
663      ---- ---- ---- --x- DISP
664*/
650665      case 0x20:   //DPSTTS
651666      {
652667         UINT16 res;
r15987r15988
685700      case 0x40:   //XPSTTS, piXel Processor STaTuS
686701      {
687702         /*
703         x--- ---- ---- ---- SBOUT
704         ---x xxxx ---- ---- SBCOUNT
705         ---- ---- ---x ---- OVERTIME (process overflow)
688706            ---- ---- ---- x--- XPBSY1 (second framebuffer busy flag)
689707            ---- ---- ---- -x-- XPBSY0 (first framebfuffer busy flag)
708            ---- ---- ---- --x- XPEN (starts drawing at beginning of game frame)
709            ---- ---- ---- ---x XPRST (force drawing process to idle)
690710            */
691711         UINT8 drawfb = ((m_displayfb ^ 1) + 1) << 2;
692712         UINT16 res;
r15987r15988
697717         if(m_vip_regs.XPCTRL & 2 && m_row_num < 224/8) // screen active
698718            res |= drawfb;
699719
720         if(m_row_num < 224/8)
700721         {
701722            res |= 0x8000;
702723            res |= m_row_num<<8;
r15987r15988
764785               logerror("Error writing INTPND\n");
765786               break;
766787      case 0x02:   //INTENB
788               if(data & 0x2000)
789                  printf("SBHIT active\n");
767790               m_vip_regs.INTENB = data;
768791               m_set_irq(0);
769792               //printf("%04x ENB\n",data);
r15987r15988
777800      case 0x20:   //DPSTTS
778801               logerror("Error writing DPSTTS\n");
779802               break;
803/*
804      ---- -x-- ---- ---- LOCK (status column table address (CTA) lock)
805      ---- --x- ---- ---- SYNCE (status of sync signal enable)
806      ---- ---x ---- ---- RE (status of memory refresh cycle)
807      ---- ---- ---- --x- DISP
808      ---- ---- ---- ---x DPRST (Resets the VIP internal counter)
809*/
780810      case 0x22:   //DPCTRL
781811               m_vip_regs.DPCTRL = data & 0x0702;
782812

Previous 15994 Revisions Next


© 1998-2018 The MESS Team