Unsafe primitive functions for VDP (Video Display Proccessor) access.
More...
Unsafe primitive functions for VDP (Video Display Proccessor) access.
◆ VDP_SET_CONTROL_REGISTER()
void VDP_SET_CONTROL_REGISTER |
( |
uint8_t |
reg, |
|
|
uint8_t |
val |
|
) |
| |
|
inline |
MSX
Write a value to the specified VDP control register.
- Parameters
-
reg | VDP control register number. |
val | Value to be written. |
- Attention
- Unsafe but fast.
- See also
- vdp_set_control()
Definition at line 46 of file vdp_unsafe.h.
◆ VDP_SET_CONTROL_REGISTER_POINTER()
void VDP_SET_CONTROL_REGISTER_POINTER |
( |
uint8_t |
reg | ) |
|
|
inline |
MSX2
Set VDP control register number for subsequent writing to the VDP control register.
- Parameters
-
reg | VDP control register number. |
- Attention
- Unsafe but fast.
- Note
- Same as
VDP_SET_CONTROL_REGISTER(17, reg | 0x80)
.
- See also
- VDP_SET_CONTROL_REGISTER_VALUE()
Definition at line 65 of file vdp_unsafe.h.
◆ VDP_SET_CONTROL_REGISTER_POINTER_AUTO_INCREMENT()
void VDP_SET_CONTROL_REGISTER_POINTER_AUTO_INCREMENT |
( |
uint8_t |
reg | ) |
|
|
inline |
◆ VDP_SET_CONTROL_REGISTER_VALUE()
void VDP_SET_CONTROL_REGISTER_VALUE |
( |
uint8_t |
val | ) |
|
|
inline |
◆ VDP_SET_STATUS_REGISTER_POINTER()
void VDP_SET_STATUS_REGISTER_POINTER |
( |
uint8_t |
reg | ) |
|
|
inline |
◆ VDP_GET_STATUS_REGISTER_VALUE()
uint8_t VDP_GET_STATUS_REGISTER_VALUE |
( |
void |
| ) |
|
|
inline |
MSX
Reads a value from VDP status register.
- Returns
- a value.
- Attention
- Unsafe but fast.
- See also
- vdp_get_status()
Definition at line 132 of file vdp_unsafe.h.
◆ VDP_SET_VMEM_WRITE_POINTER()
void VDP_SET_VMEM_WRITE_POINTER |
( |
vmemptr_t |
loc | ) |
|
|
inline |
◆ VDP_SET_VMEM_READ_POINTER()
void VDP_SET_VMEM_READ_POINTER |
( |
vmemptr_t |
loc | ) |
|
|
inline |
◆ VDP_SET_VMEM_VALUE()
void VDP_SET_VMEM_VALUE |
( |
uint8_t |
val | ) |
|
|
inline |
◆ VDP_GET_VMEM_VALUE()
uint8_t VDP_GET_VMEM_VALUE |
( |
void |
| ) |
|
|
inline |