152 vdp_port1 = (uint8_t)(((loc) >> 8) & 0x3F | 0x40);
171 vdp_port1 = (uint8_t)(((loc) >> 8) & 0x3F);
C language I/F for MSX BIOS routines.
uint8_t msx_get_version(void)
MSX Returns MSX system version code.
uint8_t VDP_GET_VMEM_VALUE(void)
MSX Read a value from VRAM.
void VDP_SET_CONTROL_REGISTER_VALUE(uint8_t val)
MSX2 Write a value to the VDP control register pointed by R#17.
void VDP_SET_VMEM_WRITE_POINTER(vmemptr_t loc)
MSX Set VRAM address for subsequent writing to VRAM.
void VDP_SET_VMEM_READ_POINTER(vmemptr_t loc)
MSX Set VRAM address for subsequent reading from VRAM.
void VDP_SET_STATUS_REGISTER_POINTER(uint8_t reg)
MSX2 Set VDP status register number for subsequent reading from the VDP status register.
void VDP_SET_CONTROL_REGISTER_POINTER_AUTO_INCREMENT(uint8_t reg)
MSX2 Set VDP control register number for subsequent writing to the series of VDP control registers.
uint8_t VDP_GET_STATUS_REGISTER_VALUE(void)
MSX Reads a value from VDP status register.
void VDP_SET_CONTROL_REGISTER(uint8_t reg, uint8_t val)
MSX Write a value to the specified VDP control register.
void VDP_SET_VMEM_VALUE(uint8_t val)
MSX Write a value to VRAM.
void VDP_SET_CONTROL_REGISTER_POINTER(uint8_t reg)
MSX2 Set VDP control register number for subsequent writing to the VDP control register.
uint32_t vmemptr_t
Type for VRAM address.
static volatile __sfr vdp_port1
static volatile __sfr vdp_port3
static volatile __sfr vdp_port0
Data types and functions for VRAM access.