Xemu [doxygen]  hyppo 0a42be3a057156924bc1b626a687bd6e27349c45 @ Sat 19 Mar 02:15:11 CET 2022
Macros | Functions | Variables
memory_mapper.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define SLOW_RAM_SIZE   (8 << 20)
 

Functions

void memory_init (void)
 
void memory_set_do_map (void)
 
void memory_set_vic3_rom_mapping (Uint8 value)
 
void memory_set_cpu_io_port (int addr, Uint8 value)
 
void memory_set_cpu_io_port_ddr_and_data (Uint8 p0, Uint8 p1)
 
Uint8 memory_get_cpu_io_port (int addr)
 
Uint8 memory_debug_read_phys_addr (int addr)
 
void memory_debug_write_phys_addr (int addr, Uint8 data)
 
Uint8 memory_debug_read_cpu_addr (Uint16 addr)
 
void memory_debug_write_cpu_addr (Uint16 addr, Uint8 data)
 

Variables

int map_mask
 
int map_offset_low
 
int map_offset_high
 
int map_megabyte_low
 
int map_megabyte_high
 
int rom_protect
 
int skip_unhandled_mem
 
Uint8 main_ram [512<< 10]
 
Uint8 colour_ram [0x8000]
 
Uint8 char_wom [0x2000]
 
Uint8 hypervisor_ram [0x4000]
 
Uint8 nvram [64]
 
Uint8 mega65_uuid [8]
 
Uint8 rtc_regs [6]
 
Uint8 slow_ram [SLOW_RAM_SIZE]
 
int cpu_rmw_old_data
 

Macro Definition Documentation

◆ SLOW_RAM_SIZE

#define SLOW_RAM_SIZE   (8 << 20)

Definition at line 44 of file memory_mapper.h.

Function Documentation

◆ memory_debug_read_cpu_addr()

Uint8 memory_debug_read_cpu_addr ( Uint16  addr)

Definition at line 973 of file memory_mapper.c.

◆ memory_debug_read_phys_addr()

Uint8 memory_debug_read_phys_addr ( int  addr)

Definition at line 954 of file memory_mapper.c.

◆ memory_debug_write_cpu_addr()

void memory_debug_write_cpu_addr ( Uint16  addr,
Uint8  data 
)

Definition at line 978 of file memory_mapper.c.

◆ memory_debug_write_phys_addr()

void memory_debug_write_phys_addr ( int  addr,
Uint8  data 
)

Definition at line 960 of file memory_mapper.c.

◆ memory_get_cpu_io_port()

Uint8 memory_get_cpu_io_port ( int  addr)

Definition at line 763 of file memory_mapper.c.

◆ memory_init()

void memory_init ( void  )

Definition at line 479 of file memory_mapper.c.

◆ memory_set_cpu_io_port()

void memory_set_cpu_io_port ( int  addr,
Uint8  value 
)

Definition at line 737 of file memory_mapper.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ memory_set_cpu_io_port_ddr_and_data()

void memory_set_cpu_io_port_ddr_and_data ( Uint8  p0,
Uint8  p1 
)

Definition at line 755 of file memory_mapper.c.

Here is the caller graph for this function:

◆ memory_set_do_map()

void memory_set_do_map ( void  )

Definition at line 774 of file memory_mapper.c.

Here is the caller graph for this function:

◆ memory_set_vic3_rom_mapping()

void memory_set_vic3_rom_mapping ( Uint8  value)

Definition at line 689 of file memory_mapper.c.

Variable Documentation

◆ char_wom

Uint8 char_wom[0x2000]

Definition at line 40 of file memory_mapper.h.

◆ colour_ram

Uint8 colour_ram[0x8000]

Definition at line 40 of file memory_mapper.h.

◆ cpu_rmw_old_data

int cpu_rmw_old_data

Definition at line 123 of file memory_mapper.c.

◆ hypervisor_ram

Uint8 hypervisor_ram[0x4000]

Definition at line 40 of file memory_mapper.h.

◆ main_ram

Uint8 main_ram[512<< 10]

Definition at line 47 of file memory_mapper.c.

◆ map_mask

int map_mask

Definition at line 142 of file memory_mapper.c.

◆ map_megabyte_high

int map_megabyte_high

Definition at line 38 of file memory_mapper.h.

◆ map_megabyte_low

int map_megabyte_low

Definition at line 38 of file memory_mapper.h.

◆ map_offset_high

int map_offset_high

Definition at line 38 of file memory_mapper.h.

◆ map_offset_low

int map_offset_low

Definition at line 38 of file memory_mapper.h.

◆ mega65_uuid

Uint8 mega65_uuid[8]

Definition at line 73 of file memory_mapper.c.

◆ nvram

Uint8 nvram[64]

Definition at line 71 of file memory_mapper.c.

◆ rom_protect

int rom_protect

Definition at line 144 of file memory_mapper.c.

◆ rtc_regs

Uint8 rtc_regs[6]

Definition at line 75 of file memory_mapper.c.

◆ skip_unhandled_mem

int skip_unhandled_mem

Definition at line 39 of file memory_mapper.h.

◆ slow_ram

Uint8 slow_ram[SLOW_RAM_SIZE]

Definition at line 77 of file memory_mapper.c.