summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/isa/mach32.h
diff options
context:
space:
mode:
author arbee <rb6502@users.noreply.github.com>2023-05-18 19:57:03 -0400
committer arbee <rb6502@users.noreply.github.com>2023-05-18 19:57:03 -0400
commit9de67ba5956f21cab6df8518835089bdf96548ee (patch)
tree09692682fed4d90f0278159d9052aaf77c1423e0 /src/devices/bus/isa/mach32.h
parent915cf99f06e9c492b140bcbcc88e6d121782593a (diff)
video/atirage.cpp: Extremely preliminary emulation of PCI ATI 3D Rage family SVGA chips. [R. Belmont]
apple/powermacg3.cpp: Hooked up ATI Rage II video, you can now enter and interact with Open Firmware. [R. Belmont]
Diffstat (limited to 'src/devices/bus/isa/mach32.h')
-rw-r--r--src/devices/bus/isa/mach32.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/devices/bus/isa/mach32.h b/src/devices/bus/isa/mach32.h
index 38b4f673530..09ad9475cb9 100644
--- a/src/devices/bus/isa/mach32.h
+++ b/src/devices/bus/isa/mach32.h
@@ -53,6 +53,7 @@ public:
// construction/destruction
mach32_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
virtual uint32_t screen_update(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect) override;
+ uint32_t draw_hw_cursor(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect);
required_device<mach32_8514a_device> m_8514a; // provides accelerated 2D drawing, derived from the Mach8 device
@@ -213,6 +214,13 @@ public:
void mach64_config1_w(uint16_t data) { } // why does the mach64 BIOS write to these, they are read only on the mach32 and earlier
void mach64_config2_w(uint16_t data) { }
+ void set_color(u8 index, u32 color);
+ u32 framebuffer_r(offs_t offset, u32 mem_mask);
+ void framebuffer_w(offs_t offset, u32 data, u32 mem_mask);
+ u32 framebuffer_be_r(offs_t offset, u32 mem_mask);
+ void framebuffer_be_w(offs_t offset, u32 data, u32 mem_mask);
+ u8 *get_framebuffer_addr() { return &vga.memory[0]; }
+
protected:
mach64_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock);
@@ -222,6 +230,8 @@ protected:
virtual void device_add_mconfig(machine_config &config) override;
required_device<mach64_8514a_device> m_8514a; // provides accelerated 2D drawing, derived from the Mach8 device
+
+private:
};
// device type definition