Finish clean-up
This commit is contained in:
@@ -35,7 +35,7 @@ namespace JabyEngine {
|
||||
Off = 1
|
||||
};
|
||||
|
||||
__new_declare_io_value(DisplayMode, uint32_t) {
|
||||
__declare_io_value(DisplayMode, uint32_t) {
|
||||
enum struct TVEncoding {
|
||||
NTSC = 0,
|
||||
PAL = 1,
|
||||
@@ -67,12 +67,12 @@ namespace JabyEngine {
|
||||
}
|
||||
};
|
||||
|
||||
__new_declare_io_value(GP0, uint32_t) {
|
||||
__declare_io_value(GP0, uint32_t) {
|
||||
static constexpr auto ID = BitRange::from_to(24, 31);
|
||||
static constexpr auto Value = BitRange::from_to(0, 23);
|
||||
};
|
||||
|
||||
__new_declare_io_value(GP1, uint32_t) {
|
||||
__declare_io_value(GP1, uint32_t) {
|
||||
static constexpr auto ID = BitRange::from_to(24, 31);
|
||||
static constexpr auto Value = BitRange::from_to(0, 23);
|
||||
};
|
||||
@@ -185,10 +185,10 @@ namespace JabyEngine {
|
||||
}
|
||||
};
|
||||
|
||||
__new_declare_io_value(GPUREAD, uint32_t) {
|
||||
__declare_io_value(GPUREAD, uint32_t) {
|
||||
};
|
||||
|
||||
__new_declare_io_value(GPUSTAT, uint32_t) {
|
||||
__declare_io_value(GPUSTAT, uint32_t) {
|
||||
static constexpr auto DrawingOddLinesInterlaced = Bit(31);
|
||||
static constexpr auto DMADirectionValue = BitRange::from_to(29, 30);
|
||||
static constexpr auto DMAReady = Bit(28);
|
||||
@@ -217,11 +217,11 @@ namespace JabyEngine {
|
||||
static constexpr auto TexturePageY256 = Bit(4);
|
||||
};
|
||||
|
||||
__new_declare_io_port(, GP0, 0x1F801810);
|
||||
__new_declare_io_port(, GP1, 0x1F801814);
|
||||
__declare_io_port(, GP0, 0x1F801810);
|
||||
__declare_io_port(, GP1, 0x1F801814);
|
||||
|
||||
__new_declare_io_port(const, GPUREAD, 0x1F801810);
|
||||
__new_declare_io_port(const, GPUSTAT, 0x1F801814);
|
||||
__declare_io_port(const, GPUREAD, 0x1F801810);
|
||||
__declare_io_port(const, GPUSTAT, 0x1F801814);
|
||||
}
|
||||
}
|
||||
#endif //!__JABYENGINE_GPU_IO_HPP__
|
Reference in New Issue
Block a user