openMSX
|
Go to the source code of this file.
Classes | |
class | openmsx::VDPAccessSlots::Calculator |
VDP-VRAM access slot calculator, meant to be used in the inner loops of the VDPCmdEngine commands. More... | |
Namespaces | |
namespace | openmsx |
This file implemented 3 utility functions: | |
namespace | openmsx::VDPAccessSlots |
Enumerations | |
enum class | openmsx::VDPAccessSlots::Delta : int { openmsx::VDPAccessSlots::D0 = 0 * TICKS , openmsx::VDPAccessSlots::D1 = 1 * TICKS , openmsx::VDPAccessSlots::D16 = 2 * TICKS , openmsx::VDPAccessSlots::D24 = 3 * TICKS , openmsx::VDPAccessSlots::D28 = 4 * TICKS , openmsx::VDPAccessSlots::D32 = 5 * TICKS , openmsx::VDPAccessSlots::D40 = 6 * TICKS , openmsx::VDPAccessSlots::D48 = 7 * TICKS , openmsx::VDPAccessSlots::D64 = 8 * TICKS , openmsx::VDPAccessSlots::D72 = 9 * TICKS , openmsx::VDPAccessSlots::D88 = 10 * TICKS , openmsx::VDPAccessSlots::D104 = 11 * TICKS , openmsx::VDPAccessSlots::D120 = 12 * TICKS , openmsx::VDPAccessSlots::D128 = 13 * TICKS , openmsx::VDPAccessSlots::D136 = 14 * TICKS } |
Functions | |
EmuTime | openmsx::VDPAccessSlots::getAccessSlot (EmuTime::param frame, EmuTime::param time, Delta delta, const VDP &vdp) |
Return the time of the next available access slot that is at least 'delta' cycles later than 'time'. | |
Calculator | openmsx::VDPAccessSlots::getCalculator (EmuTime::param frame, EmuTime::param time, EmuTime::param limit, const VDP &vdp) |
When many calls to getAccessSlot() are needed, it's more efficient to instead use this function. | |
Variables | |
constexpr int | openmsx::VDPAccessSlots::TICKS = VDP::TICKS_PER_LINE |