summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/video/dp8350.h
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2018-10-04 09:08:27 -0400
committer AJR <ajrhacker@users.noreply.github.com>2018-10-04 09:09:50 -0400
commit6392ecb0faca10bf4c4a8e320da4b2b20b0069c7 (patch)
tree2ff24a480eb97537ab2a12128bc44b1e0eacc350 /src/devices/video/dp8350.h
parent4a7fdb0d9b3252829aa6e08ea8472a2c5027d43a (diff)
sbrain: Driver overhaul
- Support cursor and scrolling through CRTC registers - Correct number of interrupts per frame - Actually show the "insert diskette" message with -bios 0 - Add RAM size option - Add option for two more floppy drives - Add RS232 ports and DIP switch for selecting baud clocks - Redo memory banking without configured banks or bankdev to be hardware-accurate (nw) - Rename all "portXX" handlers (nw) - Acknowledge interrupt on reads as well as writes (nw) - Remove palette device (nw) - Update manufacturer and system names (nw) - Update notes (nw) - Many small code refinements (nw)
Diffstat (limited to 'src/devices/video/dp8350.h')
-rw-r--r--src/devices/video/dp8350.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/devices/video/dp8350.h b/src/devices/video/dp8350.h
index c5c23255d94..f202bc730e9 100644
--- a/src/devices/video/dp8350.h
+++ b/src/devices/video/dp8350.h
@@ -66,6 +66,11 @@ public:
DECLARE_READ_LINE_MEMBER(vsync_r);
DECLARE_READ_LINE_MEMBER(vblank_r);
+ // address getters (TODO: accurate character-by-character emulation)
+ u16 top_of_page() const { return m_topr; }
+ u16 row_start() const { return m_row_start; }
+ u16 cursor_address() const { return m_cr; }
+
protected:
// base type constructor
dp835x_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, u32 clock,