#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "cpu.h"
#include "devices.h"
#include "machine.h"
#include "memory.h"
#include "misc.h"
#include "x11.h"
#include "thirdparty/bt459.h"
Go to the source code of this file.
Classes | |
struct | bt459_data |
Macros | |
#define | BT459_TICK_SHIFT 14 |
Functions | |
DEVICE_TICK (bt459) | |
DEVICE_ACCESS (bt459_irq) | |
DEVICE_ACCESS (bt459) | |
void | dev_bt459_init (struct machine *machine, struct memory *mem, uint64_t baseaddr, uint64_t baseaddr_irq, struct vfb_data *vfb_data, int planes, const char *irq_path, int type) |
Variables | |
int | quiet_mode |
#define BT459_TICK_SHIFT 14 |
Definition at line 56 of file dev_bt459.cc.
void dev_bt459_init | ( | struct machine * | machine, |
struct memory * | mem, | ||
uint64_t | baseaddr, | ||
uint64_t | baseaddr_irq, | ||
struct vfb_data * | vfb_data, | ||
int | planes, | ||
const char * | irq_path, | ||
int | type | ||
) |
Definition at line 522 of file dev_bt459.cc.
References BT459_BA, BT459_BBA, BT459_PX, BT459_TICK_SHIFT, CHECK_ALLOCATION, bt459_data::cursor_x, bt459_data::cursor_x_add, bt459_data::cursor_xsize, bt459_data::cursor_y, bt459_data::cursor_y_add, bt459_data::cursor_ysize, dev_bt459_access(), DEV_BT459_LENGTH, DM_DEFAULT, INTERRUPT_CONNECT, bt459_data::interrupt_time_reset_value, bt459_data::irq, machine_add_tickfunction(), memory_device_register(), bt459_data::planes, bt459_data::rgb_palette, vfb_data::rgb_palette, bt459_data::type, bt459_data::vfb_data, bt459_data::video_on, and vfb_data::xsize.
Referenced by dev_pmagja_init(), dev_px_init(), and dev_turbochannel_init().
DEVICE_ACCESS | ( | bt459 | ) |
Definition at line 306 of file dev_bt459.cc.
References bt459_data::bt459_reg, BT459_REG_CCOLOR_1, BT459_REG_CCOLOR_2, BT459_REG_CCOLOR_3, BT459_REG_CCR, BT459_REG_CRAM_BASE, BT459_REG_ID, BT459_REG_PRM, bt459_data::cur_addr_hi, bt459_data::cur_addr_lo, bt459_data::cursor_on, data, debug, DEV_BT459_NREGS, fatal(), if(), INTERRUPT_DEASSERT, bt459_data::irq, bt459_data::local_rgb_palette, MEM_WRITE, memory_readmax64(), bt459_data::need_to_redraw_whole_screen, bt459_data::need_to_update_cursor_shape, bt459_data::palette_sub_offset, bt459_data::planes, quiet_mode, bt459_data::rgb_palette, and bt459_data::video_on.
DEVICE_ACCESS | ( | bt459_irq | ) |
Definition at line 283 of file dev_bt459.cc.
References data, fatal(), INTERRUPT_DEASSERT, bt459_data::interrupts_enable, bt459_data::irq, MEM_READ, MEM_WRITE, memory_readmax64(), and memory_writemax64().
DEVICE_TICK | ( | bt459 | ) |
Definition at line 245 of file dev_bt459.cc.
References bt459_data::cursor_on, and bt459_data::need_to_update_cursor_shape.
int quiet_mode |
Definition at line 78 of file main.cc.
Referenced by DEVICE_ACCESS().