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

Stream like access functions for VRAM. More...

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

Go to the source code of this file.

Functions

bool vmem_is_opened (void)
 MSX Tests whether VRAM accessor is opened or not.
 
void vmem_open (vmemptr_t loc)
 MSX Open VRAM accessor.
 
void vmem_close (void)
 MSX Close VRAM accessor.
 
void vmem_dup (uint16_t offset, size_t len)
 MSX Duplicate a byte sequence of VRAM starting from the specified offset to current position and later.
 
vmemptr_t vmem_ptr (void)
 Get current position of VRAM accessor.
 
void vmem_skip (size_t len)
 Advance the current position of VRAM accessor.
 
void vmem_write_chunk (const uint8_t *src, uint16_t len)
 Write a chunk to VRAM.
 
void vmem_read_chunk (uint8_t *dst, uint16_t len)
 Read a chunk from VRAM.
 

Detailed Description

Stream like access functions for VRAM.

Definition in file vmem_rw.h.