#include <stdio.h>#include <stdlib.h>#include <string.h>#include "console.h"#include "cpu.h"#include "devices.h"#include "machine.h"#include "memory.h"#include "misc.h"Go to the source code of this file.
Classes | |
| struct | sgi_gbe_data |
Macros | |
| #define | FAKE_GBE_FB_ADDRESS 0x38000000 |
| #define | GBE_DEBUG |
| #define | MTE_TEST |
| #define | GBE_DEFAULT_XRES 640 |
| #define | GBE_DEFAULT_YRES 480 |
Functions | |
| DEVICE_TICK (sgi_gbe) | |
| DEVICE_ACCESS (sgi_gbe) | |
| void | dev_sgi_gbe_init (struct machine *machine, struct memory *mem, uint64_t baseaddr) |
| #define FAKE_GBE_FB_ADDRESS 0x38000000 |
Definition at line 46 of file dev_sgi_gbe.cc.
Referenced by dev_sgi_gbe_init().
| #define GBE_DEBUG |
Definition at line 48 of file dev_sgi_gbe.cc.
| #define GBE_DEFAULT_XRES 640 |
Definition at line 53 of file dev_sgi_gbe.cc.
Referenced by dev_sgi_gbe_init().
| #define GBE_DEFAULT_YRES 480 |
Definition at line 54 of file dev_sgi_gbe.cc.
Referenced by dev_sgi_gbe_init().
| #define MTE_TEST |
Definition at line 51 of file dev_sgi_gbe.cc.
Definition at line 412 of file dev_sgi_gbe.cc.
References sgi_gbe_data::bitdepth, CHECK_ALLOCATION, sgi_gbe_data::control, dev_fb_init(), dev_sgi_gbe_access(), DEV_SGI_GBE_LENGTH, DM_DEFAULT, FAKE_GBE_FB_ADDRESS, sgi_gbe_data::fb_data, GBE_DEFAULT_XRES, GBE_DEFAULT_YRES, machine_add_tickfunction(), memory_device_register(), set_grayscale_palette(), VFB_GENERIC, sgi_gbe_data::xres, and sgi_gbe_data::yres.
Referenced by MACHINE_SETUP().
| DEVICE_ACCESS | ( | sgi_gbe | ) |
Definition at line 206 of file dev_sgi_gbe.cc.
References sgi_gbe_data::bitdepth, sgi_gbe_data::control, data, debug, sgi_gbe_data::dotclock, fatal(), sgi_gbe_data::fb_data, sgi_gbe_data::freeze, sgi_gbe_data::frm_control, sgi_gbe_data::i2c, sgi_gbe_data::i2cfp, MEM_READ, MEM_WRITE, memory_readmax64(), memory_writemax64(), sgi_gbe_data::plane0ctrl, vfb_data::rgb_palette, vfb_data::update_x1, vfb_data::update_x2, vfb_data::update_y1, vfb_data::update_y2, sgi_gbe_data::xres, vfb_data::xsize, sgi_gbe_data::yres, and vfb_data::ysize.
| DEVICE_TICK | ( | sgi_gbe | ) |
Definition at line 85 of file dev_sgi_gbe.cc.
References sgi_gbe_data::bitdepth, debug, dev_fb_access(), sgi_gbe_data::fb_data, sgi_gbe_data::frm_control, cpu::mem, MEM_READ, MEM_WRITE, cpu::memory_rw, NO_EXCEPTIONS, PHYSICAL, sgi_gbe_data::xres, and sgi_gbe_data::yres.
1.8.13