Xemu [doxygen]
hyppo 0a42be3a057156924bc1b626a687bd6e27349c45 @ Sat 19 Mar 02:15:11 CET 2022
|
#include "xemu/emutools.h"
#include "xemu/emutools_files.h"
#include "commodore_geos.h"
#include "xemu/cpu65.h"
#include "xemu/cia6526.h"
#include "xemu/emutools_hid.h"
#include "xemu/emutools_config.h"
#include "xemu/c64_kbd_mapping.h"
#include "geos.h"
Go to the source code of this file.
Functions | |
void | vic2_check_raster_interrupt (void) |
void | vic2_write_reg (int addr, Uint8 data) |
Uint8 | vic2_read_reg (int addr) |
void | vic2_render_screen (void) |
void | clear_emu_events (void) |
int | cpu65_trap_callback (const Uint8 opcode) |
void | cpu65_illegal_opcode_callback (void) |
Uint8 | cpu65_read_callback (Uint16 addr) |
void | cpu65_write_callback (Uint16 addr, Uint8 data) |
void | cpu65_write_rmw_callback (Uint16 addr, Uint8 old_data, Uint8 new_data) |
int | emu_callback_key (int pos, SDL_Scancode key, int pressed, int handled) |
int | main (int argc, char **argv) |
Variables | |
Uint8 | memory [IO_OFFSET+1] |
Uint8 | colour_sram [1024] |
#define BASIC_ROM_OFFSET 0x10000 |
Definition at line 65 of file commodore_geos.c.
#define CHAR_ROM_OFFSET 0x14000 |
Definition at line 67 of file commodore_geos.c.
#define CHECK_PIXEL_POINTER |
Definition at line 154 of file commodore_geos.c.
#define CPU_PORT_DEFAULT_VALUE0 0xFF |
Definition at line 62 of file commodore_geos.c.
#define CPU_PORT_DEFAULT_VALUE1 0xFF |
Definition at line 63 of file commodore_geos.c.
#define DISK_IMAGE_SIZE 819200 |
Definition at line 45 of file commodore_geos.c.
#define GET_READ_P | ( | a | ) | (memcfgs[cpu_port_memconfig][0][(a)>>12] + (a)) |
Definition at line 103 of file commodore_geos.c.
#define GET_WRITE_P | ( | a | ) | (memcfgs[cpu_port_memconfig][1][(a)>>12] + (a)) |
Definition at line 104 of file commodore_geos.c.
#define IO_OFFSET 0x15000 |
Definition at line 68 of file commodore_geos.c.
Definition at line 71 of file commodore_geos.c.
#define IS_P_IO | ( | p | ) | ((p) >= IO_VIRT_ADDR) |
Definition at line 105 of file commodore_geos.c.
#define KERNAL_PATCH_ADDR 0xE388 |
Definition at line 83 of file commodore_geos.c.
#define KERNAL_ROM_OFFSET 0x12000 |
Definition at line 66 of file commodore_geos.c.
#define MAP_BASIC memory + BASIC_ROM_OFFSET - 0xA000 |
Definition at line 74 of file commodore_geos.c.
Definition at line 80 of file commodore_geos.c.
#define MAP_CHRROM memory + CHAR_ROM_OFFSET - 0xD000 |
Definition at line 76 of file commodore_geos.c.
Definition at line 77 of file commodore_geos.c.
#define MAP_KERNAL memory + KERNAL_ROM_OFFSET - 0xE000 |
Definition at line 75 of file commodore_geos.c.
#define MAP_KERNAL_TWICE MAP_KERNAL,MAP_KERNAL |
Definition at line 81 of file commodore_geos.c.
#define MAP_RAM memory |
Definition at line 73 of file commodore_geos.c.
#define MAP_RAM_10_TIMES MAP_RAM_TWICE,MAP_RAM_TWICE,MAP_RAM_TWICE,MAP_RAM_TWICE,MAP_RAM_TWICE |
Definition at line 79 of file commodore_geos.c.
Definition at line 78 of file commodore_geos.c.
#define PATCH_NEW_BYTE CPU65_TRAP_OPCODE |
Definition at line 86 of file commodore_geos.c.
#define PATCH_OLD_BYTE 0x6C |
Definition at line 85 of file commodore_geos.c.
#define PATCH_P memory[KERNAL_PATCH_ADDR - 0xE000 + KERNAL_ROM_OFFSET] |
Definition at line 84 of file commodore_geos.c.
#define SPRITE_X_START_SCREEN 24 |
Definition at line 393 of file commodore_geos.c.
#define SPRITE_Y_START_SCREEN 50 |
Definition at line 394 of file commodore_geos.c.
void clear_emu_events | ( | void | ) |
void cpu65_illegal_opcode_callback | ( | void | ) |
Definition at line 709 of file commodore_geos.c.
Definition at line 718 of file commodore_geos.c.
int cpu65_trap_callback | ( | const Uint8 | opcode | ) |
Definition at line 677 of file commodore_geos.c.
Definition at line 727 of file commodore_geos.c.
Definition at line 743 of file commodore_geos.c.
int emu_callback_key | ( | int | pos, |
SDL_Scancode | key, | ||
int | pressed, | ||
int | handled | ||
) |
Definition at line 764 of file commodore_geos.c.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 797 of file commodore_geos.c.
void vic2_check_raster_interrupt | ( | void | ) |
Definition at line 211 of file commodore_geos.c.
Uint8 vic2_read_reg | ( | int | addr | ) |
Definition at line 258 of file commodore_geos.c.
void vic2_render_screen | ( | void | ) |
void vic2_write_reg | ( | int | addr, |
Uint8 | data | ||
) |
Definition at line 229 of file commodore_geos.c.
Uint8 colour_sram[1024] |
Definition at line 117 of file commodore_geos.c.
char * drive |
Definition at line 151 of file commodore_geos.c.
int fullscreen |
Definition at line 149 of file commodore_geos.c.
char* geosimg |
Definition at line 151 of file commodore_geos.c.
char * geoskernal |
Definition at line 151 of file commodore_geos.c.
Definition at line 70 of file commodore_geos.c.
char * rombasic |
Definition at line 151 of file commodore_geos.c.
char * romchar |
Definition at line 151 of file commodore_geos.c.
char * romkernal |
Definition at line 151 of file commodore_geos.c.
int sdlrenderquality |
Definition at line 150 of file commodore_geos.c.
int syscon |
Definition at line 149 of file commodore_geos.c.