Home
last modified time | relevance | path

Searched refs:video_ram (Results 1 – 25 of 194) sorted by relevance

12345678

/dports/emulators/mess/mame-mame0226/src/mame/video/
H A Dsprint2.cpp115 uint8_t *video_ram = m_video_ram; in screen_update_sprint2() local
125 get_sprite_code(video_ram, i), in screen_update_sprint2()
128 get_sprite_x(video_ram, i), in screen_update_sprint2()
129 get_sprite_y(video_ram, i), 0); in screen_update_sprint2()
156 get_sprite_x(video_ram, i), in WRITE_LINE_MEMBER()
158 get_sprite_y(video_ram, i), in WRITE_LINE_MEMBER()
167 get_sprite_code(video_ram, i), in WRITE_LINE_MEMBER()
170 get_sprite_x(video_ram, i), in WRITE_LINE_MEMBER()
184 get_sprite_x(video_ram, j), in WRITE_LINE_MEMBER()
189 get_sprite_code(video_ram, i), in WRITE_LINE_MEMBER()
[all …]
H A Dleland.cpp267 u8 *video_ram = m_video_ram.get(); in vram_port_w() local
286 video_ram[addr & ~1] = state->m_latch[0]; in vram_port_w()
287 video_ram[addr | 1] = data; in vram_port_w()
292 video_ram[addr & ~1] = data; in vram_port_w()
293 video_ram[addr | 1] = state->m_latch[1]; in vram_port_w()
300 if (!(data & 0xf0)) data |= video_ram[addr] & 0xf0; in vram_port_w()
301 if (!(data & 0x0f)) data |= video_ram[addr] & 0x0f; in vram_port_w()
303 video_ram[addr] = data; in vram_port_w()
312 if (!(data & 0xf0)) data |= video_ram[addr | 1] & 0xf0; in vram_port_w()
315 video_ram[addr | 1] = data; in vram_port_w()
[all …]
/dports/emulators/mame/mame-mame0226/src/mame/video/
H A Dsprint2.cpp115 uint8_t *video_ram = m_video_ram; in screen_update_sprint2() local
125 get_sprite_code(video_ram, i), in screen_update_sprint2()
128 get_sprite_x(video_ram, i), in screen_update_sprint2()
129 get_sprite_y(video_ram, i), 0); in screen_update_sprint2()
156 get_sprite_x(video_ram, i), in WRITE_LINE_MEMBER()
158 get_sprite_y(video_ram, i), in WRITE_LINE_MEMBER()
167 get_sprite_code(video_ram, i), in WRITE_LINE_MEMBER()
170 get_sprite_x(video_ram, i), in WRITE_LINE_MEMBER()
184 get_sprite_x(video_ram, j), in WRITE_LINE_MEMBER()
189 get_sprite_code(video_ram, i), in WRITE_LINE_MEMBER()
[all …]
H A Dleland.cpp267 u8 *video_ram = m_video_ram.get(); in vram_port_w() local
286 video_ram[addr & ~1] = state->m_latch[0]; in vram_port_w()
287 video_ram[addr | 1] = data; in vram_port_w()
292 video_ram[addr & ~1] = data; in vram_port_w()
293 video_ram[addr | 1] = state->m_latch[1]; in vram_port_w()
300 if (!(data & 0xf0)) data |= video_ram[addr] & 0xf0; in vram_port_w()
301 if (!(data & 0x0f)) data |= video_ram[addr] & 0x0f; in vram_port_w()
303 video_ram[addr] = data; in vram_port_w()
312 if (!(data & 0xf0)) data |= video_ram[addr | 1] & 0xf0; in vram_port_w()
315 video_ram[addr | 1] = data; in vram_port_w()
[all …]
/dports/games/libretro-mame2003/mame2003-libretro-4358db4/src/vidhrdw/
H A Dvolfied_vidhrdw.c8 static UINT16* video_ram = NULL; variable
35 video_ram = auto_malloc(0x40000 * sizeof (UINT16)); in VIDEO_START()
36 if (video_ram == NULL) in VIDEO_START()
39 state_save_register_UINT16("volfied", 0, "video_ram", video_ram, 0x40000); in VIDEO_START()
55 return video_ram[offset]; in READ16_HANDLER()
64 COMBINE_DATA(&video_ram[offset]); in WRITE16_HANDLER()
122 UINT16* p = video_ram; in refresh_pixel_layer()
/dports/games/libretro-mame2003_plus/mame2003-plus-libretro-17e9889/src/vidhrdw/
H A Dvolfied_vidhrdw.c8 static UINT16* video_ram = NULL; variable
35 video_ram = auto_malloc(0x40000 * sizeof (UINT16)); in VIDEO_START()
36 if (video_ram == NULL) in VIDEO_START()
39 state_save_register_UINT16("volfied", 0, "video_ram", video_ram, 0x40000); in VIDEO_START()
55 return video_ram[offset]; in READ16_HANDLER()
64 COMBINE_DATA(&video_ram[offset]); in WRITE16_HANDLER()
122 UINT16* p = video_ram; in refresh_pixel_layer()
/dports/emulators/gbe/gbe/
H A Dmem.c36 unsigned char *video_ram = (char *)NULL; /* Mapped to 8 & 9 */ variable
77 ptr = video_ram + (bank * 0x2000); in memory_select_vram_bank()
92 video_ram = (char *)malloc(0x2000); /* 8 Kilobyte Video Ram */ in initialize_memory()
96 if(!video_ram) in initialize_memory()
100 memset(video_ram, 0, 0x2000); in initialize_memory()
102 memset(video_ram, 0, 0x4000); in initialize_memory()
127 install_memory(8, video_ram + 0x0000); in initialize_memory()
128 install_memory(9, video_ram + 0x1000); in initialize_memory()
148 if(video_ram) { in free_memory()
149 free(video_ram); in free_memory()
[all …]
H A Dvram.c146 tiles = video_ram; in vram_plot_line_sprites()
240 tiles = video_ram; in vram_plot_line_sprites_color()
337 tiles = &video_ram[0]; in vram_plot_line()
340 tiles = &video_ram[0x1000]; in vram_plot_line()
413 tiles = &video_ram[0]; in vram_plot_line_color()
416 tiles = &video_ram[0x1000]; in vram_plot_line_color()
505 tiles = video_ram; in vram_plot_line_window()
508 tiles = &video_ram[0x1000]; in vram_plot_line_window()
604 tiles = video_ram; in vram_plot_line_window_color()
607 tiles = &video_ram[0x1000]; in vram_plot_line_window_color()
[all …]
/dports/benchmarks/phoronix-test-suite/phoronix-test-suite-10.6.1/pts-core/objects/phodevi/components/
H A Dphodevi_gpu.php612 $video_ram = -1;
616 $video_ram = $vram;
653 $video_ram = $mem;
661 $video_ram = $info[0];
665 $video_ram *= 1024;
671 if(is_numeric($video_ram) && $video_ram > 1048576)
673 $video_ram = $video_ram / 1048576;
752 $video_ram = $info;
756 if($video_ram == -1 || !is_numeric($video_ram) || $video_ram < 64)
761 return $video_ram;
[all …]
/dports/emulators/atari800/atari800-3.1.0/src/
H A Dxep80.c618 memset(video_ram,c,0x2000); in FillMem()
807 UBYTE prev_char = video_ram[curs]; in AddCharAtCursor()
808 video_ram[curs] = byte; in AddCharAtCursor()
851 video_ram[curs] = 0x20; in CursorRight()
911 video_ram[curs] = prev_dropped; in DeleteChar()
922 video_ram[curs] = prev_dropped; in DeleteChar()
943 to_drop = video_ram[curs]; in InsertChar()
944 video_ram[curs] = prev_dropped; in InsertChar()
991 UBYTE prev = video_ram[curs]; in GoToNextTab()
993 video_ram[curs] = 0x20; in GoToNextTab()
[all …]
/dports/emulators/mess/mame-mame0226/src/mame/drivers/
H A Dvt240.cpp388 uint8_t *video_ram = (uint8_t *)(&m_video_ram[0]); in vram_w() local
458 video_ram[((m_scrl << 1) | 0) + (0x8000 * i)] = out; in vram_w()
459 video_ram[((m_scrl << 1) | 1) + (0x8000 * i)] = out2; in vram_w()
462 video_ram[(offset & 0x7fff) + (0x8000 * i)] = out; in vram_w()
472 data = (chr & ~m_mask) | (video_ram[offset] & m_mask); in vram_w()
474 data = (chr & data) | (video_ram[offset] & ~data); in vram_w()
480 data = video_ram[(offset & ~1) | 0]; in vram_w()
481 data2 = video_ram[(offset & ~1) | 1]; in vram_w()
483 video_ram[(offset & 0x8000) | (m_scrl << 1) | 0] = data; in vram_w()
484 video_ram[(offset & 0x8000) | (m_scrl << 1) | 1] = data2; in vram_w()
[all …]
H A Dvp101.cpp279 const uint32_t *video_ram = (const uint32_t *) &m_mainram[(m_fb_base/4) + (y * (0x1000/4)) + 4]; in screen_update() local
283 uint32_t word = *(video_ram++); in screen_update()
284 video_ram++; in screen_update()
310 const uint8_t *video_ram = (const uint8_t *) &m_mainram[(0x10000/4)+(y * 100)]; in vp50_screen_update() local
315 int r = pal_ram[video_ram[x]] >> 11; in vp50_screen_update()
316 int g = (pal_ram[video_ram[x]] >> 5) & 0x3f; in vp50_screen_update()
317 int b = pal_ram[video_ram[x]] & 0x1f; in vp50_screen_update()
/dports/emulators/mame/mame-mame0226/src/mame/drivers/
H A Dvt240.cpp388 uint8_t *video_ram = (uint8_t *)(&m_video_ram[0]); in vram_w() local
458 video_ram[((m_scrl << 1) | 0) + (0x8000 * i)] = out; in vram_w()
459 video_ram[((m_scrl << 1) | 1) + (0x8000 * i)] = out2; in vram_w()
462 video_ram[(offset & 0x7fff) + (0x8000 * i)] = out; in vram_w()
472 data = (chr & ~m_mask) | (video_ram[offset] & m_mask); in vram_w()
474 data = (chr & data) | (video_ram[offset] & ~data); in vram_w()
480 data = video_ram[(offset & ~1) | 0]; in vram_w()
481 data2 = video_ram[(offset & ~1) | 1]; in vram_w()
483 video_ram[(offset & 0x8000) | (m_scrl << 1) | 0] = data; in vram_w()
484 video_ram[(offset & 0x8000) | (m_scrl << 1) | 1] = data2; in vram_w()
[all …]
H A Dvp101.cpp279 const uint32_t *video_ram = (const uint32_t *) &m_mainram[(m_fb_base/4) + (y * (0x1000/4)) + 4]; in screen_update() local
283 uint32_t word = *(video_ram++); in screen_update()
284 video_ram++; in screen_update()
310 const uint8_t *video_ram = (const uint8_t *) &m_mainram[(0x10000/4)+(y * 100)]; in vp50_screen_update() local
315 int r = pal_ram[video_ram[x]] >> 11; in vp50_screen_update()
316 int g = (pal_ram[video_ram[x]] >> 5) & 0x3f; in vp50_screen_update()
317 int b = pal_ram[video_ram[x]] & 0x1f; in vp50_screen_update()
/dports/emulators/mess/mame-mame0226/src/mame/includes/
H A Dsprint2.h93 inline int get_sprite_code(uint8_t *video_ram, int n);
94 inline int get_sprite_x(uint8_t *video_ram, int n);
95 inline int get_sprite_y(uint8_t *video_ram, int n);
/dports/emulators/mame/mame-mame0226/src/mame/includes/
H A Dsprint2.h93 inline int get_sprite_code(uint8_t *video_ram, int n);
94 inline int get_sprite_x(uint8_t *video_ram, int n);
95 inline int get_sprite_y(uint8_t *video_ram, int n);
/dports/sysutils/u-boot-chip/u-boot-2021.07/drivers/video/
H A Dati_radeon_fb.c140 rinfo->video_ram = tmp & CONFIG_MEMSIZE_MASK; in radeon_identify_vram()
146 if (rinfo->video_ram == 0) { in radeon_identify_vram()
150 rinfo->video_ram = 8192 * 1024; in radeon_identify_vram()
194 rinfo->video_ram / 1024, in radeon_identify_vram()
594 rinfo->video_ram); in radeon_probe()
/dports/emulators/qemu42/qemu-4.2.1/roms/u-boot/drivers/video/
H A Dati_radeon_fb.c138 rinfo->video_ram = tmp & CONFIG_MEMSIZE_MASK; in radeon_identify_vram()
144 if (rinfo->video_ram == 0) { in radeon_identify_vram()
148 rinfo->video_ram = 8192 * 1024; in radeon_identify_vram()
192 rinfo->video_ram / 1024, in radeon_identify_vram()
592 rinfo->video_ram); in radeon_probe()
/dports/emulators/qemu-utils/qemu-4.2.1/roms/u-boot-sam460ex/drivers/video/
H A Dati_radeon_fb.c160 rinfo->video_ram = tmp & CONFIG_MEMSIZE_MASK; in radeon_identify_vram()
166 if (rinfo->video_ram == 0) { in radeon_identify_vram()
170 rinfo->video_ram = 8192 * 1024; in radeon_identify_vram()
214 rinfo->video_ram / 1024, in radeon_identify_vram()
615 rinfo->video_ram); in radeon_probe()
/dports/emulators/qemu5/qemu-5.2.0/roms/u-boot/drivers/video/
H A Dati_radeon_fb.c138 rinfo->video_ram = tmp & CONFIG_MEMSIZE_MASK; in radeon_identify_vram()
144 if (rinfo->video_ram == 0) { in radeon_identify_vram()
148 rinfo->video_ram = 8192 * 1024; in radeon_identify_vram()
192 rinfo->video_ram / 1024, in radeon_identify_vram()
592 rinfo->video_ram); in radeon_probe()
/dports/emulators/qemu5/qemu-5.2.0/roms/u-boot-sam460ex/drivers/video/
H A Dati_radeon_fb.c160 rinfo->video_ram = tmp & CONFIG_MEMSIZE_MASK; in radeon_identify_vram()
166 if (rinfo->video_ram == 0) { in radeon_identify_vram()
170 rinfo->video_ram = 8192 * 1024; in radeon_identify_vram()
214 rinfo->video_ram / 1024, in radeon_identify_vram()
615 rinfo->video_ram); in radeon_probe()
/dports/sysutils/u-boot-olinuxino-lime/u-boot-2021.07/drivers/video/
H A Dati_radeon_fb.c140 rinfo->video_ram = tmp & CONFIG_MEMSIZE_MASK; in radeon_identify_vram()
146 if (rinfo->video_ram == 0) { in radeon_identify_vram()
150 rinfo->video_ram = 8192 * 1024; in radeon_identify_vram()
194 rinfo->video_ram / 1024, in radeon_identify_vram()
594 rinfo->video_ram); in radeon_probe()
/dports/sysutils/u-boot-olinuxino-lime2/u-boot-2021.07/drivers/video/
H A Dati_radeon_fb.c140 rinfo->video_ram = tmp & CONFIG_MEMSIZE_MASK; in radeon_identify_vram()
146 if (rinfo->video_ram == 0) { in radeon_identify_vram()
150 rinfo->video_ram = 8192 * 1024; in radeon_identify_vram()
194 rinfo->video_ram / 1024, in radeon_identify_vram()
594 rinfo->video_ram); in radeon_probe()
/dports/emulators/qemu-powernv/qemu-powernv-3.0.50/roms/u-boot-sam460ex/drivers/video/
H A Dati_radeon_fb.c160 rinfo->video_ram = tmp & CONFIG_MEMSIZE_MASK; in radeon_identify_vram()
166 if (rinfo->video_ram == 0) { in radeon_identify_vram()
170 rinfo->video_ram = 8192 * 1024; in radeon_identify_vram()
214 rinfo->video_ram / 1024, in radeon_identify_vram()
615 rinfo->video_ram); in radeon_probe()
/dports/sysutils/u-boot-cubieboard2/u-boot-2021.07/drivers/video/
H A Dati_radeon_fb.c140 rinfo->video_ram = tmp & CONFIG_MEMSIZE_MASK; in radeon_identify_vram()
146 if (rinfo->video_ram == 0) { in radeon_identify_vram()
150 rinfo->video_ram = 8192 * 1024; in radeon_identify_vram()
194 rinfo->video_ram / 1024, in radeon_identify_vram()
594 rinfo->video_ram); in radeon_probe()

12345678