#include <stdio.h>#include <stdlib.h>#include <string.h>#include "cpu.h"#include "device.h"#include "devices.h"#include "machine.h"#include "memory.h"#include "misc.h"Go to the source code of this file.
Classes | |
| struct | gif_data |
Macros | |
| #define | DEV_PS2_GIF_LENGTH 0x10000 |
| #define | PS2_FB_ADDR 0x60000000ULL /* hopefully nothing else here */ |
Functions | |
| void | test_triangle (struct gif_data *d, int x1, int y1, int r1, int g1, int b1, int x2, int y2, int r2, int g2, int b2, int x3, int y3, int r3, int g3, int b3) |
| DEVICE_ACCESS (ps2_gif) | |
| DEVINIT (ps2_gif) | |
| #define DEV_PS2_GIF_LENGTH 0x10000 |
Definition at line 50 of file dev_ps2_gif.cc.
| #define PS2_FB_ADDR 0x60000000ULL /* hopefully nothing else here */ |
Definition at line 52 of file dev_ps2_gif.cc.
| DEVICE_ACCESS | ( | ps2_gif | ) |
Definition at line 207 of file dev_ps2_gif.cc.
References addr, gif_data::bytes_per_pixel, gif_data::cpu, data, debug, dev_fb_access(), DEV_PS2_GIF_LENGTH, fatal(), framebuffer_blockcopyfill(), cpu::mem, MEM_READ, MEM_WRITE, gif_data::vfb_data, gif_data::xsize, and gif_data::ysize.
| DEVINIT | ( | ps2_gif | ) |
Definition at line 399 of file dev_ps2_gif.cc.
References devinit::addr, gif_data::bytes_per_pixel, CHECK_ALLOCATION, gif_data::cpu, machine::cpus, dev_fb_init(), DEV_PS2_GIF_LENGTH, DM_DEFAULT, devinit::machine, machine::memory, memory_device_register(), devinit::name, PS2_FB_ADDR, test_triangle(), gif_data::transparent_text, gif_data::vfb_data, VFB_PLAYSTATION2, gif_data::xsize, and gif_data::ysize.
| void test_triangle | ( | struct gif_data * | d, |
| int | x1, | ||
| int | y1, | ||
| int | r1, | ||
| int | g1, | ||
| int | b1, | ||
| int | x2, | ||
| int | y2, | ||
| int | r2, | ||
| int | g2, | ||
| int | b2, | ||
| int | x3, | ||
| int | y3, | ||
| int | r3, | ||
| int | g3, | ||
| int | b3 | ||
| ) |
Definition at line 69 of file dev_ps2_gif.cc.
References gif_data::bytes_per_pixel, CHECK_ALLOCATION, gif_data::cpu, dev_fb_access(), cpu::mem, MEM_WRITE, gif_data::vfb_data, gif_data::xsize, and vfb_data::xsize.
Referenced by DEVINIT().
1.8.17