libmsx
C library for MSX
Loading...
Searching...
No Matches
Building blocks for inter-memory transfer.

Building blocks for copying and transferring data between different types of memory devices. More...

+ Collaboration diagram for Building blocks for inter-memory transfer.:

Functions

void bmem_to_mem (size_t len)
 Copy chunk from banked-memory to RAM.
 
void bmem_to_mem_u32 (uint32_t len)
 Copy chunk from banked-memory to RAM.
 
void bmem_to_vmem (size_t len)
 Copy chunk from banked-memory to VRAM.
 
void bmem_to_vmem_u32 (uint32_t len)
 Copy chunk from banked-memory to VRAM.
 
void mem_to_vmem (size_t len)
 Copy chunk from ROM/RAM to VRAM.
 
void mem_to_vmem_u32 (uint32_t len)
 Copy chunk from ROM/RAM to VRAM.
 
void vmem_to_mem (size_t len)
 Copy chunk from VRAM to ROM/RAM.
 
void vmem_to_mem_u32 (uint32_t len)
 Copy chunk from VRAM to ROM/RAM.
 

Detailed Description

Building blocks for copying and transferring data between different types of memory devices.

Function Documentation

◆ bmem_to_mem()

void bmem_to_mem ( size_t  len)

Copy chunk from banked-memory to RAM.

Parameters
lensize of chunk in bytes.
Precondition
bmem_is_opened() && mem_is_opened()

◆ bmem_to_mem_u32()

void bmem_to_mem_u32 ( uint32_t  len)

Copy chunk from banked-memory to RAM.

Parameters
lensize of chunk in bytes.
Precondition
bmem_is_opened() && mem_is_opened()
Note
This is a wrapper function of bmem_to_mem().

◆ bmem_to_vmem()

void bmem_to_vmem ( size_t  len)

Copy chunk from banked-memory to VRAM.

Parameters
lensize of chunk in bytes.
Precondition
bmem_is_opened() && vmem_is_opened()
Note
This is a wrapper function of bmem_to_vmem_u32().

◆ bmem_to_vmem_u32()

void bmem_to_vmem_u32 ( uint32_t  len)

Copy chunk from banked-memory to VRAM.

Parameters
lensize of chunk in bytes.
Precondition
bmem_is_opened() && vmem_is_opened()

◆ mem_to_vmem()

void mem_to_vmem ( size_t  len)

Copy chunk from ROM/RAM to VRAM.

Parameters
lensize of chunk in bytes.
Precondition
mem_is_opened() && vmem_is_opened()

◆ mem_to_vmem_u32()

void mem_to_vmem_u32 ( uint32_t  len)

Copy chunk from ROM/RAM to VRAM.

Parameters
lensize of chunk in bytes.
Precondition
mem_is_opened() && vmem_is_opened()
Note
This is a wrapper function of mem_to_vmem().

◆ vmem_to_mem()

void vmem_to_mem ( size_t  len)

Copy chunk from VRAM to ROM/RAM.

Parameters
lensize of chunk in bytes.
Precondition
vmem_is_opened() && mem_is_opened()

◆ vmem_to_mem_u32()

void vmem_to_mem_u32 ( uint32_t  len)

Copy chunk from VRAM to ROM/RAM.

Parameters
lensize of chunk in bytes.
Precondition
vmem_is_opened() && mem_is_opened()
Note
This is a wrapper function of vmem_to_mem().