Xemu [doxygen]  hyppo 0a42be3a057156924bc1b626a687bd6e27349c45 @ Sat 19 Mar 02:15:11 CET 2022
Functions | Variables
vic4_palette.c File Reference
#include "xemu/emutools.h"
#include "vic4_palette.h"
#include "vic4.h"
Include dependency graph for vic4_palette.c:

Go to the source code of this file.

Functions

void vic4_revalidate_all_palette (void)
 
void vic4_init_palette (void)
 
void vic4_write_palette_reg_red (unsigned int num, Uint8 data)
 
void vic4_write_palette_reg_green (unsigned int num, Uint8 data)
 
void vic4_write_palette_reg_blue (unsigned int num, Uint8 data)
 
void vic3_write_palette_reg_red (unsigned int num, Uint8 data)
 
void vic3_write_palette_reg_green (unsigned int num, Uint8 data)
 
void vic3_write_palette_reg_blue (unsigned int num, Uint8 data)
 
Uint8 vic4_read_palette_reg_red (unsigned int num)
 
Uint8 vic4_read_palette_reg_green (unsigned int num)
 
Uint8 vic4_read_palette_reg_blue (unsigned int num)
 
void check_if_rom_palette (int rom_pal)
 

Variables

Uint8 vic_palette_bytes_red [NO_OF_PALETTE_REGS]
 
Uint8 vic_palette_bytes_green [NO_OF_PALETTE_REGS]
 
Uint8 vic_palette_bytes_blue [NO_OF_PALETTE_REGS]
 
Uint32 vic_palettes [NO_OF_PALETTE_REGS]
 
Uint32palette = vic_palettes
 
Uint32spritepalette = vic_palettes
 
Uint32altpalette = vic_palettes
 
unsigned int palregaccofs
 

Function Documentation

◆ check_if_rom_palette()

void check_if_rom_palette ( int  rom_pal)

Definition at line 192 of file vic4_palette.c.

◆ vic3_write_palette_reg_blue()

void vic3_write_palette_reg_blue ( unsigned int  num,
Uint8  data 
)

Definition at line 171 of file vic4_palette.c.

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

◆ vic3_write_palette_reg_green()

void vic3_write_palette_reg_green ( unsigned int  num,
Uint8  data 
)

Definition at line 165 of file vic4_palette.c.

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

◆ vic3_write_palette_reg_red()

void vic3_write_palette_reg_red ( unsigned int  num,
Uint8  data 
)

Definition at line 159 of file vic4_palette.c.

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

◆ vic4_init_palette()

void vic4_init_palette ( void  )

Definition at line 62 of file vic4_palette.c.

◆ vic4_read_palette_reg_blue()

Uint8 vic4_read_palette_reg_blue ( unsigned int  num)

Definition at line 187 of file vic4_palette.c.

Here is the caller graph for this function:

◆ vic4_read_palette_reg_green()

Uint8 vic4_read_palette_reg_green ( unsigned int  num)

Definition at line 182 of file vic4_palette.c.

Here is the caller graph for this function:

◆ vic4_read_palette_reg_red()

Uint8 vic4_read_palette_reg_red ( unsigned int  num)

Definition at line 177 of file vic4_palette.c.

Here is the caller graph for this function:

◆ vic4_revalidate_all_palette()

void vic4_revalidate_all_palette ( void  )

Definition at line 51 of file vic4_palette.c.

◆ vic4_write_palette_reg_blue()

void vic4_write_palette_reg_blue ( unsigned int  num,
Uint8  data 
)

Definition at line 148 of file vic4_palette.c.

Here is the caller graph for this function:

◆ vic4_write_palette_reg_green()

void vic4_write_palette_reg_green ( unsigned int  num,
Uint8  data 
)

Definition at line 137 of file vic4_palette.c.

Here is the caller graph for this function:

◆ vic4_write_palette_reg_red()

void vic4_write_palette_reg_red ( unsigned int  num,
Uint8  data 
)

Definition at line 126 of file vic4_palette.c.

Here is the caller graph for this function:

Variable Documentation

◆ alpha_mask

Uint32 alpha_mask

Definition at line 40 of file vic4_palette.c.

◆ alpha_revmask

Uint32 alpha_revmask

Definition at line 40 of file vic4_palette.c.

◆ alpha_shift

Uint32 alpha_shift

Definition at line 40 of file vic4_palette.c.

◆ altpalette

Uint32* altpalette = vic_palettes

Definition at line 35 of file vic4_palette.c.

◆ blue_mask

Uint32 blue_mask

Definition at line 39 of file vic4_palette.c.

◆ blue_revmask

Uint32 blue_revmask

Definition at line 39 of file vic4_palette.c.

◆ blue_shift

Uint32 blue_shift

Definition at line 39 of file vic4_palette.c.

◆ green_mask

Uint32 green_mask

Definition at line 38 of file vic4_palette.c.

◆ green_revmask

Uint32 green_revmask

Definition at line 38 of file vic4_palette.c.

◆ green_shift

Uint32 green_shift

Definition at line 38 of file vic4_palette.c.

◆ palette

Uint32* palette = vic_palettes

Definition at line 33 of file vic4_palette.c.

◆ palregaccofs

unsigned int palregaccofs

Definition at line 42 of file vic4_palette.c.

◆ red_mask

Uint32 red_mask

Definition at line 37 of file vic4_palette.c.

◆ red_revmask

Uint32 red_revmask

Definition at line 37 of file vic4_palette.c.

◆ red_shift

Uint32 red_shift

Definition at line 37 of file vic4_palette.c.

◆ spritepalette

Uint32* spritepalette = vic_palettes

Definition at line 34 of file vic4_palette.c.

◆ vic_palette_bytes_blue

Uint8 vic_palette_bytes_blue[NO_OF_PALETTE_REGS]

Definition at line 31 of file vic4_palette.c.

◆ vic_palette_bytes_green

Uint8 vic_palette_bytes_green[NO_OF_PALETTE_REGS]

Definition at line 30 of file vic4_palette.c.

◆ vic_palette_bytes_red

Uint8 vic_palette_bytes_red[NO_OF_PALETTE_REGS]

Definition at line 29 of file vic4_palette.c.

◆ vic_palettes

Uint32 vic_palettes[NO_OF_PALETTE_REGS]

Definition at line 32 of file vic4_palette.c.