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

Data types and functions for VRAM access. More...

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

Go to the source code of this file.

Macros

#define VMEM_H
 

Typedefs

typedef uint32_t vmemptr_t
 Type for VRAM address.
 

Functions

void vmem_set_read_address (vmemptr_t loc)
 MSX Set VRAM address for sequential reading of VRAM.
 
void vmem_set_write_address (vmemptr_t loc)
 MSX Set VRAM address for sequential writing of VRAM.
 
uint8_t vmem_get (void)
 MSX Read 1 byte from VRAM.
 
void vmem_set (uint8_t val)
 MSX Write 1 byte to VRAM.
 
void vmem_read (vmemptr_t src, void *dst, uint16_t len)
 MSX Read a series of bytes from VRAM.
 
void vmem_write (vmemptr_t dst, void *src, uint16_t len)
 MSX Write a series of bytes to VRAM.
 
void vmem_memset (vmemptr_t dst, uint8_t val, uint16_t len)
 MSX Fill a series of bytes in VRAM with the specified value.
 

Detailed Description

Data types and functions for VRAM access.

Definition in file vmem.h.

Macro Definition Documentation

◆ VMEM_H

#define VMEM_H

Definition at line 24 of file vmem.h.