trunk/src/mame/video/stvvdp1.c
| r20552 | r20553 | |
| 1966 | 1966 | break; |
| 1967 | 1967 | |
| 1968 | 1968 | case 0x0002: |
| 1969 | case 0x0003: |
| 1969 | 1970 | if (VDP1_LOG) logerror ("Sprite List Distorted Sprite\n"); |
| 1970 | 1971 | if (VDP1_LOG) logerror ("(A: %d %d)\n",stv2_current_sprite.CMDXA,stv2_current_sprite.CMDYA); |
| 1971 | 1972 | if (VDP1_LOG) logerror ("(B: %d %d)\n",stv2_current_sprite.CMDXB,stv2_current_sprite.CMDYB); |
| r20552 | r20553 | |
| 1984 | 1985 | break; |
| 1985 | 1986 | |
| 1986 | 1987 | case 0x0005: |
| 1988 | // case 0x0007: // mirror? |
| 1987 | 1989 | if (VDP1_LOG) logerror ("Sprite List Polyline\n"); |
| 1988 | 1990 | stv2_current_sprite.ispoly = 1; |
| 1989 | 1991 | stv_vdp1_draw_poly_line(machine, *cliprect); |
| r20552 | r20553 | |
| 1996 | 1998 | break; |
| 1997 | 1999 | |
| 1998 | 2000 | case 0x0008: |
| 2001 | // case 0x000b: // mirror? |
| 1999 | 2002 | if (VDP1_LOG) logerror ("Sprite List Set Command for User Clipping (%d,%d),(%d,%d)\n", stv2_current_sprite.CMDXA, stv2_current_sprite.CMDYA, stv2_current_sprite.CMDXC, stv2_current_sprite.CMDYC); |
| 2000 | 2003 | state->m_vdp1.user_cliprect.set(stv2_current_sprite.CMDXA, stv2_current_sprite.CMDXC, stv2_current_sprite.CMDYA, stv2_current_sprite.CMDYC); |
| 2001 | 2004 | break; |
| r20552 | r20553 | |
| 2012 | 2015 | break; |
| 2013 | 2016 | |
| 2014 | 2017 | default: |
| 2015 | | popmessage ("VDP1: Sprite List Illegal, contact MAMEdev"); |
| 2018 | popmessage ("VDP1: Sprite List Illegal %02x, contact MAMEdev",stv2_current_sprite.CMDCTRL & 0xf); |
| 2016 | 2019 | state->m_vdp1.lopr = (position * 0x20) >> 3; |
| 2017 | 2020 | state->m_vdp1.copr = (position * 0x20) >> 3; |
| 2018 | 2021 | return; |