Home
last modified time | relevance | path

Searched refs:spr_y (Results 1 – 20 of 20) sorted by relevance

/dports/games/libretro-fbneo/FBNeo-bbe3c05/src/burn/devices/
H A Dk1ge.cpp189 UINT8 spr_y = 0; in k1ge_draw_sprite_plane() local
203 spr_y = ( spr_data & 0x0200 ) ? ( spr_y + y ) : ( scroll_y + y ); in k1ge_draw_sprite_plane()
207 if ( ( line >= spr_y || spr_y > 0xf8 ) && line < ( ( spr_y + 8 ) & 0xff ) ) in k1ge_draw_sprite_plane()
210 spr[num_sprites].y = spr_y; in k1ge_draw_sprite_plane()
403 UINT8 spr_y = 0; in k2ge_draw_sprite_plane() local
417 spr_y = ( spr_data & 0x0200 ) ? ( spr_y + y ) : ( scroll_y + y ); in k2ge_draw_sprite_plane()
421 if ( ( line >= spr_y || spr_y > 0xf8 ) && line < ( ( spr_y + 8 ) & 0xff ) ) in k2ge_draw_sprite_plane()
424 spr[num_sprites].y = spr_y; in k2ge_draw_sprite_plane()
550 UINT8 spr_y = 0; in k2ge_k1ge_draw_sprite_plane() local
564 spr_y = ( spr_data & 0x0200 ) ? ( spr_y + y ) : ( scroll_y + y ); in k2ge_k1ge_draw_sprite_plane()
[all …]
H A Dtms9928a.cpp468 INT32 spr_y = readvmem( tms.spriteattribute + sprattr + 0 ); in TMS9928AScanline_INT() local
473 if ( spr_y == 208 ) in TMS9928AScanline_INT()
476 if ( spr_y > 0xE0 ) in TMS9928AScanline_INT()
477 spr_y -= 256; in TMS9928AScanline_INT()
480 spr_y++; in TMS9928AScanline_INT()
483 if ( spr_y <= y && y < spr_y + sprite_height ) in TMS9928AScanline_INT()
501 pataddr += ( ( ( y - spr_y ) & 0x1F ) >> 1 ); in TMS9928AScanline_INT()
503 pataddr += ( ( y - spr_y ) & 0x0F ); in TMS9928AScanline_INT()
/dports/emulators/mess/mame-mame0226/src/mame/video/
H A Dk1ge.cpp175 uint8_t spr_y = 0; in draw_sprite_plane() local
189 spr_y = ( spr_data & 0x0200 ) ? ( spr_y + y ) : ( scroll_y + y ); in draw_sprite_plane()
193 if ( ( line >= spr_y || spr_y > 0xf8 ) && line < ( ( spr_y + 8 ) & 0xff ) ) in draw_sprite_plane()
196 spr[num_sprites].y = spr_y; in draw_sprite_plane()
388 uint8_t spr_y = 0; in draw_sprite_plane() local
402 spr_y = ( spr_data & 0x0200 ) ? ( spr_y + y ) : ( scroll_y + y ); in draw_sprite_plane()
406 if ( ( line >= spr_y || spr_y > 0xf8 ) && line < ( ( spr_y + 8 ) & 0xff ) ) in draw_sprite_plane()
409 spr[num_sprites].y = spr_y; in draw_sprite_plane()
535 uint8_t spr_y = 0; in k1ge_draw_sprite_plane() local
549 spr_y = ( spr_data & 0x0200 ) ? ( spr_y + y ) : ( scroll_y + y ); in k1ge_draw_sprite_plane()
[all …]
/dports/emulators/mame/mame-mame0226/src/mame/video/
H A Dk1ge.cpp175 uint8_t spr_y = 0; in draw_sprite_plane() local
189 spr_y = ( spr_data & 0x0200 ) ? ( spr_y + y ) : ( scroll_y + y ); in draw_sprite_plane()
193 if ( ( line >= spr_y || spr_y > 0xf8 ) && line < ( ( spr_y + 8 ) & 0xff ) ) in draw_sprite_plane()
196 spr[num_sprites].y = spr_y; in draw_sprite_plane()
388 uint8_t spr_y = 0; in draw_sprite_plane() local
402 spr_y = ( spr_data & 0x0200 ) ? ( spr_y + y ) : ( scroll_y + y ); in draw_sprite_plane()
406 if ( ( line >= spr_y || spr_y > 0xf8 ) && line < ( ( spr_y + 8 ) & 0xff ) ) in draw_sprite_plane()
409 spr[num_sprites].y = spr_y; in draw_sprite_plane()
535 uint8_t spr_y = 0; in k1ge_draw_sprite_plane() local
549 spr_y = ( spr_data & 0x0200 ) ? ( spr_y + y ) : ( scroll_y + y ); in k1ge_draw_sprite_plane()
[all …]
/dports/games/libretro-fbalpha/fbalpha-84eb9d9/src/burn/devices/
H A Dtms9928a.cpp466 INT32 spr_y = readvmem( tms.spriteattribute + sprattr + 0 ); in TMS9928AScanline_INT() local
471 if ( spr_y == 208 ) in TMS9928AScanline_INT()
474 if ( spr_y > 0xE0 ) in TMS9928AScanline_INT()
475 spr_y -= 256; in TMS9928AScanline_INT()
478 spr_y++; in TMS9928AScanline_INT()
481 if ( spr_y <= y && y < spr_y + sprite_height ) in TMS9928AScanline_INT()
498 pataddr += ( ( ( y - spr_y ) & 0x1F ) >> 1 ); in TMS9928AScanline_INT()
500 pataddr += ( ( y - spr_y ) & 0x0F ); in TMS9928AScanline_INT()
/dports/emulators/mess/mame-mame0226/src/devices/video/
H A Dtms9928a.cpp563 int spr_y = m_vram_space->read_byte( m_spriteattribute + sprattr + 0 ); in device_timer() local
568 if ( spr_y == 208 ) in device_timer()
571 if ( spr_y > 0xE0 ) in device_timer()
572 spr_y -= 256; in device_timer()
575 spr_y++; in device_timer()
578 if ( spr_y <= y && y < spr_y + sprite_height ) in device_timer()
595 pataddr += ( ( ( y - spr_y ) & 0x1F ) >> 1 ); in device_timer()
597 pataddr += ( ( y - spr_y ) & 0x0F ); in device_timer()
/dports/emulators/mame/mame-mame0226/src/devices/video/
H A Dtms9928a.cpp563 int spr_y = m_vram_space->read_byte( m_spriteattribute + sprattr + 0 ); in device_timer() local
568 if ( spr_y == 208 ) in device_timer()
571 if ( spr_y > 0xE0 ) in device_timer()
572 spr_y -= 256; in device_timer()
575 spr_y++; in device_timer()
578 if ( spr_y <= y && y < spr_y + sprite_height ) in device_timer()
595 pataddr += ( ( ( y - spr_y ) & 0x1F ) >> 1 ); in device_timer()
597 pataddr += ( ( y - spr_y ) & 0x0F ); in device_timer()
/dports/emulators/mess/mame-mame0226/src/mame/drivers/
H A Dscv.cpp499 uint8_t spr_y = m_videoram[ 0x1200 + i * 4 ] & 0xfe; in screen_update_scv() local
517 if ( !spr_y ) in screen_update_scv()
528 spr_y -= 8; in screen_update_scv()
557 …draw_sprite( bitmap, spr_x, spr_y, tile_idx, col, left, right, top, bottom, clip, screen_start_spr… in screen_update_scv()
563 …draw_sprite( bitmap, spr_x, spr_y, tile_idx ^ ( 8 * x_32 + y_32 ), ( i & 0x40 ) ? spr_2col_lut1[co… in screen_update_scv()
569 …draw_sprite( bitmap, spr_x, spr_y, tile_idx, col, left, right, top, bottom, clip, screen_start_spr… in screen_update_scv()
572 …draw_sprite( bitmap, spr_x + 16, spr_y, tile_idx | 8, col, 1, 1, top, bottom, clip, screen_start_s… in screen_update_scv()
578 …draw_sprite( bitmap, spr_x, spr_y + 16, tile_idx | 1, col, left, right, 1, 1, clip, screen_start_s… in screen_update_scv()
581 …draw_sprite( bitmap, spr_x + 16, spr_y + 16, tile_idx | 9, col, 1, 1, 1, 1, clip, screen_start_spr… in screen_update_scv()
H A Dpokemini.cpp1573 int spr_y = ( m_p_ram[ spr + 1 ] & 0x7F ) - 16; in prc_counter_callback() local
1599 if ( spr_y + j >= 0 && spr_y + j < 64 ) in prc_counter_callback()
1601 uint16_t ram_addr = ( ( ( spr_y + j ) >> 3 ) * 96 ) + spr_x + i; in prc_counter_callback()
1607 m_p_ram[ ram_addr ] &= ~ ( 1 << ( ( spr_y + j ) & 0x07 ) ); in prc_counter_callback()
1610 m_p_ram[ ram_addr ] |= ( 1 << ( ( spr_y + j ) & 0x07 ) ); in prc_counter_callback()
1620 m_p_ram[ ram_addr ] &= ~ ( 1 << ( ( spr_y + j ) & 0x07 ) ); in prc_counter_callback()
1623 m_p_ram[ ram_addr ] |= ( 1 << ( ( spr_y + j ) & 0x07 ) ); in prc_counter_callback()
/dports/emulators/mame/mame-mame0226/src/mame/drivers/
H A Dscv.cpp499 uint8_t spr_y = m_videoram[ 0x1200 + i * 4 ] & 0xfe; in screen_update_scv() local
517 if ( !spr_y ) in screen_update_scv()
528 spr_y -= 8; in screen_update_scv()
557 …draw_sprite( bitmap, spr_x, spr_y, tile_idx, col, left, right, top, bottom, clip, screen_start_spr… in screen_update_scv()
563 …draw_sprite( bitmap, spr_x, spr_y, tile_idx ^ ( 8 * x_32 + y_32 ), ( i & 0x40 ) ? spr_2col_lut1[co… in screen_update_scv()
569 …draw_sprite( bitmap, spr_x, spr_y, tile_idx, col, left, right, top, bottom, clip, screen_start_spr… in screen_update_scv()
572 …draw_sprite( bitmap, spr_x + 16, spr_y, tile_idx | 8, col, 1, 1, top, bottom, clip, screen_start_s… in screen_update_scv()
578 …draw_sprite( bitmap, spr_x, spr_y + 16, tile_idx | 1, col, left, right, 1, 1, clip, screen_start_s… in screen_update_scv()
581 …draw_sprite( bitmap, spr_x + 16, spr_y + 16, tile_idx | 9, col, 1, 1, 1, 1, clip, screen_start_spr… in screen_update_scv()
H A Dpokemini.cpp1573 int spr_y = ( m_p_ram[ spr + 1 ] & 0x7F ) - 16; in prc_counter_callback() local
1599 if ( spr_y + j >= 0 && spr_y + j < 64 ) in prc_counter_callback()
1601 uint16_t ram_addr = ( ( ( spr_y + j ) >> 3 ) * 96 ) + spr_x + i; in prc_counter_callback()
1607 m_p_ram[ ram_addr ] &= ~ ( 1 << ( ( spr_y + j ) & 0x07 ) ); in prc_counter_callback()
1610 m_p_ram[ ram_addr ] |= ( 1 << ( ( spr_y + j ) & 0x07 ) ); in prc_counter_callback()
1620 m_p_ram[ ram_addr ] &= ~ ( 1 << ( ( spr_y + j ) & 0x07 ) ); in prc_counter_callback()
1623 m_p_ram[ ram_addr ] |= ( 1 << ( ( spr_y + j ) & 0x07 ) ); in prc_counter_callback()
/dports/graphics/aseprite/aseprite-1.2.9/src/doc/algorithm/
H A Drotate.cpp258 void putPixel(const Image* spr, int spr_x, int spr_y) { in putPixel() argument
261 int c = get_pixel_fast<RgbTraits>(spr, spr_x, spr_y); in putPixel()
276 void putPixel(const Image* spr, int spr_x, int spr_y) { in putPixel() argument
279 int c = get_pixel_fast<GrayscaleTraits>(spr, spr_x, spr_y); in putPixel()
294 void putPixel(const Image* spr, int spr_x, int spr_y) { in putPixel() argument
297 color_t c = get_pixel_fast<IndexedTraits>(spr, spr_x, spr_y); in putPixel()
308 void putPixel(const Image* spr, int spr_x, int spr_y) { in putPixel() argument
311 int c = get_pixel_fast<BitmapTraits>(spr, spr_x, spr_y); in putPixel()
/dports/games/libretro-emux/emux-640d4ba/controllers/video/
H A Dvdp.c462 uint16_t spr_y; in vdp_draw_line_sprites() local
513 spr_y = vdp->vram[sprite_attr_addr] + 1; in vdp_draw_line_sprites()
516 if ((vdp->v_counter < spr_y) || (vdp->v_counter >= (spr_y + h))) in vdp_draw_line_sprites()
564 y_off = vdp->v_counter - spr_y; in vdp_draw_line_sprites()
/dports/lang/huc/huc-3.21/include/pce/
H A Dsprites.inc85 ; spr_y(#y [,offset])
89 .macro spr_y
/dports/devel/allegro/allegro-4.4.3.1/src/
H A Drotate.c153 fixed spr_x, spr_y; in draw_scanline_modex() local
165 spr_y = l_spr_y; in draw_scanline_modex()
167 c = spr_line[spr_y >> 16][spr_x >> 16]; in draw_scanline_modex()
171 spr_y += spr_dy; in draw_scanline_modex()
/dports/games/NBlood/NBlood-a1689a4/source/duke3d/src/
H A Dactors.h215 spr_y, member
H A Dnetwork.cpp346 { ACTF(spr_y), 32 },
849 gameSprite->y = netActor->spr_y; in Net_CopySpriteFromNet()
1231 netActor->spr_y = gameSprite->y; in Net_CopySpriteToNet()
/dports/games/NBlood/NBlood-a1689a4/source/exhumed/src/
H A Dplayer.cpp1420 int spr_y = sprite[nPlayerSprite].y; in FuncPlayer() local
1461 sprite[nPlayerSprite].y = spr_y; in FuncPlayer()
1614 sprite[nPlayerSprite].y = spr_y; in FuncPlayer()
1699 sprite[nPlayerSprite].y = spr_y; in FuncPlayer()
1726 nPlayerDY[nPlayer] = sprite[nPlayerSprite].y - spr_y; in FuncPlayer()
/dports/emulators/mess/mame-mame0226/src/mame/machine/
H A Damstrad.cpp812 int16_t spr_y = m_asic.ram[ 0x2002 + i ] + ( m_asic.ram[ 0x2003 + i ] << 8 ); in amstrad_plus_update_video_sprites() local
819 …if ( spr_y <= m_asic.vpos && m_asic.vpos < spr_y + ( 16 << ymag ) && spr_x < (m_asic.h_end - horiz… in amstrad_plus_update_video_sprites()
821 uint16_t spr_addr = i * 32 + ( ( ( m_asic.vpos - spr_y ) >> ymag ) * 16 ); in amstrad_plus_update_video_sprites()
/dports/emulators/mame/mame-mame0226/src/mame/machine/
H A Damstrad.cpp812 int16_t spr_y = m_asic.ram[ 0x2002 + i ] + ( m_asic.ram[ 0x2003 + i ] << 8 ); in amstrad_plus_update_video_sprites() local
819 …if ( spr_y <= m_asic.vpos && m_asic.vpos < spr_y + ( 16 << ymag ) && spr_x < (m_asic.h_end - horiz… in amstrad_plus_update_video_sprites()
821 uint16_t spr_addr = i * 32 + ( ( ( m_asic.vpos - spr_y ) >> ymag ) * 16 ); in amstrad_plus_update_video_sprites()