libmsx
C library for MSX
Loading...
Searching...
No Matches
xmem.h
Go to the documentation of this file.
1// -*- coding: utf-8-unix -*-
2/*
3 * Copyright (c) 2021-2024 Daishi Mori (mori0091)
4 *
5 * This software is released under the MIT License.\n
6 * See https://github.com/mori0091/libmsx/blob/main/LICENSE
7 *
8 * GitHub libmsx project\n
9 * https://github.com/mori0091/libmsx
10 */
21#ifndef XMEM_H_
22#define XMEM_H_
23
24#include "bmem_rd.h"
25#include "mem_rw.h"
26#include "vmem_rw.h"
27
44void bmem_to_mem(size_t len);
45
54void bmem_to_mem_u32(uint32_t len);
55
64void bmem_to_vmem(size_t len);
65
73void bmem_to_vmem_u32(uint32_t len);
74
82void mem_to_vmem(size_t len);
83
92void mem_to_vmem_u32(uint32_t len);
93
101void vmem_to_mem(size_t len);
102
111void vmem_to_mem_u32(uint32_t len);
112
115#endif // XMEM_H_
Stream like access functions for Banked Memory.
void bmem_to_vmem(size_t len)
Copy chunk from banked-memory to VRAM.
void bmem_to_mem_u32(uint32_t len)
Copy chunk from banked-memory to RAM.
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.
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 bmem_to_mem(size_t len)
Copy chunk from banked-memory to RAM.
Stream like access functions for ROM / RAM.
Stream like access functions for VRAM.