libmsx
C library for MSX
Loading...
Searching...
No Matches
vdp_unsafe.h File Reference

Unsafe primitive functions for VDP (Video Display Proccessor) access. More...

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

Go to the source code of this file.

Macros

#define VDP_UNSAFE_H_
 

Functions

void VDP_SET_CONTROL_REGISTER (uint8_t reg, uint8_t val)
 MSX Write a value to the specified VDP control register.
 
void VDP_SET_CONTROL_REGISTER_POINTER (uint8_t reg)
 MSX2 Set VDP control register number for subsequent writing to the VDP control register.
 
void VDP_SET_CONTROL_REGISTER_POINTER_AUTO_INCREMENT (uint8_t reg)
 MSX2 Set VDP control register number for subsequent writing to the series of VDP control registers.
 
void VDP_SET_CONTROL_REGISTER_VALUE (uint8_t val)
 MSX2 Write a value to the VDP control register pointed by R#17.
 
void VDP_SET_STATUS_REGISTER_POINTER (uint8_t reg)
 MSX2 Set VDP status register number for subsequent reading from the VDP status register.
 
uint8_t VDP_GET_STATUS_REGISTER_VALUE (void)
 MSX Reads a value from VDP status register.
 
void VDP_SET_VMEM_WRITE_POINTER (vmemptr_t loc)
 MSX Set VRAM address for subsequent writing to VRAM.
 
void VDP_SET_VMEM_READ_POINTER (vmemptr_t loc)
 MSX Set VRAM address for subsequent reading from VRAM.
 
void VDP_SET_VMEM_VALUE (uint8_t val)
 MSX Write a value to VRAM.
 
uint8_t VDP_GET_VMEM_VALUE (void)
 MSX Read a value from VRAM.
 

Detailed Description

Unsafe primitive functions for VDP (Video Display Proccessor) access.

Definition in file vdp_unsafe.h.

Macro Definition Documentation

◆ VDP_UNSAFE_H_

#define VDP_UNSAFE_H_

Definition at line 20 of file vdp_unsafe.h.