libmsx
C library for MSX
Loading...
Searching...
No Matches

Device interface for PSG (AY-3-8910) an internal sound chip. More...

#include <stdint.h>
#include "io.h"
+ Include dependency graph for psg.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define PSG_H
 

Functions

void psg_init (void)
 MSX Initialize PSG registers R#0 to R#13 with psg_reg_initial_vector.
 
uint8_t psg_get (uint8_t reg)
 MSX Read the PSG register value.
 
void psg_set (uint8_t reg, uint8_t val)
 MSX Write the PSG register value.
 

Variables

const uint8_t psg_reg_initial_vector [14]
 Initial values for PSG registers R#0 to R#13.
 

Detailed Description

Device interface for PSG (AY-3-8910) an internal sound chip.

Definition in file psg.h.

Macro Definition Documentation

◆ PSG_H

#define PSG_H

Definition at line 24 of file psg.h.