#include <stdio.h>#include <stdlib.h>#include <string.h>#include "cpu.h"#include "devices.h"#include "memory.h"#include "misc.h"#include "thirdparty/dec_kn01.h"Go to the source code of this file.
Classes | |
| struct | kn01_data |
| struct | vdac_data |
Functions | |
| DEVICE_ACCESS (kn01) | |
| DEVICE_ACCESS (vdac) | |
| void | dev_vdac_init (struct memory *mem, uint64_t baseaddr, unsigned char *rgb_palette, int color_fb_flag) |
| void | dev_kn01_init (struct memory *mem, uint64_t baseaddr, int color_fb) |
| void dev_kn01_init | ( | struct memory * | mem, |
| uint64_t | baseaddr, | ||
| int | color_fb | ||
| ) |
Definition at line 252 of file dev_kn01.cc.
References CHECK_ALLOCATION, kn01_data::color_fb, kn01_data::csr, dev_kn01_access(), DEV_KN01_LENGTH, DM_DEFAULT, KN01_CSR_MONO, and memory_device_register().
Referenced by MACHINE_SETUP().
| void dev_vdac_init | ( | struct memory * | mem, |
| uint64_t | baseaddr, | ||
| unsigned char * | rgb_palette, | ||
| int | color_fb_flag | ||
| ) |
Definition at line 233 of file dev_kn01.cc.
References CHECK_ALLOCATION, vdac_data::color_fb_flag, dev_vdac_access(), DEV_VDAC_LENGTH, DM_DEFAULT, memory_device_register(), and vdac_data::rgb_palette.
Referenced by MACHINE_SETUP().
| DEVICE_ACCESS | ( | kn01 | ) |
Definition at line 78 of file dev_kn01.cc.
References cpu::byte_order, kn01_data::csr, csr, data, EMUL_LITTLE_ENDIAN, fatal(), and MEM_WRITE.
| DEVICE_ACCESS | ( | vdac | ) |
Definition at line 111 of file dev_kn01.cc.
References vdac_data::color_fb_flag, vdac_data::cur_read_addr, vdac_data::cur_read_addr_overlay, vdac_data::cur_rgb, vdac_data::cur_rgb_overlay, vdac_data::cur_write_addr, vdac_data::cur_write_addr_overlay, data, debug, DEV_VDAC_MAP, DEV_VDAC_MAPRA, DEV_VDAC_MAPWA, DEV_VDAC_OVER, DEV_VDAC_OVERRA, DEV_VDAC_OVERWA, MEM_WRITE, vdac_data::rgb_palette, vdac_data::rgb_palette_overlay, vdac_data::sub_color, vdac_data::sub_color_overlay, and vdac_data::vdac_reg.
1.8.17