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

Go to the source code of this file.

Macros

#define VIC_NEW_MODE   0x10
 
#define LEFT_BORDER_SIZE   32
 
#define RIGHT_BORDER_SIZE   32
 
#define TOP_BORDER_SIZE   16
 
#define BOTTOM_BORDER_SIZE   16
 
#define SCREEN_WIDTH   (640 + LEFT_BORDER_SIZE + RIGHT_BORDER_SIZE)
 
#define SCREEN_HEIGHT   (200 + TOP_BORDER_SIZE + BOTTOM_BORDER_SIZE)
 

Functions

void vic3_init (void)
 
void vic3_write_reg (int addr, Uint8 data)
 
Uint8 vic3_read_reg (int addr)
 
void vic3_write_palette_reg (int num, Uint8 data)
 
void vic3_check_raster_interrupt (void)
 
void vic3_select_bank (int bank)
 
void vic3_open_frame_access (void)
 
int vic3_render_scanline (void)
 

Variables

int vic_new_mode
 
Uint8 vic3_registers []
 
int cpu_cycles_per_scanline
 
int frameskip
 
char scanline_render_debug_info [320]
 
int show_drive_led
 

Macro Definition Documentation

◆ BOTTOM_BORDER_SIZE

#define BOTTOM_BORDER_SIZE   16

Definition at line 27 of file vic3.h.

◆ LEFT_BORDER_SIZE

#define LEFT_BORDER_SIZE   32

Definition at line 24 of file vic3.h.

◆ RIGHT_BORDER_SIZE

#define RIGHT_BORDER_SIZE   32

Definition at line 25 of file vic3.h.

◆ SCREEN_HEIGHT

#define SCREEN_HEIGHT   (200 + TOP_BORDER_SIZE + BOTTOM_BORDER_SIZE)

Definition at line 30 of file vic3.h.

◆ SCREEN_WIDTH

#define SCREEN_WIDTH   (640 + LEFT_BORDER_SIZE + RIGHT_BORDER_SIZE)

Definition at line 29 of file vic3.h.

◆ TOP_BORDER_SIZE

#define TOP_BORDER_SIZE   16

Definition at line 26 of file vic3.h.

◆ VIC_NEW_MODE

#define VIC_NEW_MODE   0x10

Definition at line 22 of file vic3.h.

Function Documentation

◆ vic3_check_raster_interrupt()

void vic3_check_raster_interrupt ( void  )

Definition at line 138 of file vic3.c.

◆ vic3_init()

void vic3_init ( void  )

Definition at line 926 of file vic3.c.

◆ vic3_open_frame_access()

void vic3_open_frame_access ( void  )

Definition at line 104 of file vic3.c.

◆ vic3_read_reg()

Uint8 vic3_read_reg ( int  addr)

Definition at line 854 of file vic3.c.

Here is the caller graph for this function:

◆ vic3_render_scanline()

int vic3_render_scanline ( void  )

Definition at line 571 of file vic3.c.

◆ vic3_select_bank()

void vic3_select_bank ( int  bank)

Definition at line 720 of file vic3.c.

◆ vic3_write_palette_reg()

void vic3_write_palette_reg ( int  num,
Uint8  data 
)

Definition at line 906 of file vic3.c.

◆ vic3_write_reg()

void vic3_write_reg ( int  addr,
Uint8  data 
)

Definition at line 745 of file vic3.c.

Here is the caller graph for this function:

Variable Documentation

◆ cpu_cycles_per_scanline

int cpu_cycles_per_scanline

Definition at line 64 of file vic3.c.

◆ frameskip

int frameskip

Definition at line 75 of file vic3.c.

◆ scanline_render_debug_info

char scanline_render_debug_info[320]

Definition at line 99 of file vic3.c.

◆ show_drive_led

int show_drive_led

Definition at line 60 of file vic3.c.

◆ vic3_registers

Uint8 vic3_registers[]

Definition at line 61 of file vic3.c.

◆ vic_new_mode

int vic_new_mode

Definition at line 62 of file vic3.c.