summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/src/bus.lua
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2018-09-17 20:03:25 +1000
committer Vas Crabb <vas@vastheman.com>2018-09-17 20:03:25 +1000
commitb566662a053b1985ac48db0600be98ae24ddd44d (patch)
tree63421730deba9879438443ce63a635b11d7b165d /scripts/src/bus.lua
parentc33edfd060d95ffe0eef88a4183d2b22b2aa0cd1 (diff)
Add Sun mouse port and hook it up to sun3, sun3x, sun4, and sun4c.
Also add notes to Sun keyboard emulation. There's a hack to make the 1200 Baud mouse actually run at 9600 Baud. This is necessary because the SCC is incorrectly expecting 9600 Baud rather than 1200 Baud. I don't have time to fix the SCC, so I'd appreciate it if someone else would. There's no way it should be expecting 9600 Baud on the mouse port. Solaris 2.3 and later support 1200 Baud and 4800 Baud, and earlier versions support 1200 Baud only. No version of Solaris works with a 9600 Baud mouse. The workaround allows the mouse to be used in SunView on sun4_60 - I haven't tested any other drivers.
Diffstat (limited to 'scripts/src/bus.lua')
-rw-r--r--scripts/src/bus.lua14
1 files changed, 14 insertions, 0 deletions
diff --git a/scripts/src/bus.lua b/scripts/src/bus.lua
index 6e5cbd9c70e..662b2627c7e 100644
--- a/scripts/src/bus.lua
+++ b/scripts/src/bus.lua
@@ -3033,6 +3033,20 @@ end
---------------------------------------------------
--
+--@src/devices/bus/sunmouse/sunmouse.h,BUSES["SUNMOUSE"] = true
+---------------------------------------------------
+
+if (BUSES["SUNMOUSE"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/sunmouse/hlemouse.cpp",
+ MAME_DIR .. "src/devices/bus/sunmouse/hlemouse.h",
+ MAME_DIR .. "src/devices/bus/sunmouse/sunmouse.cpp",
+ MAME_DIR .. "src/devices/bus/sunmouse/sunmouse.h",
+ }
+end
+
+---------------------------------------------------
+--
--@src/devices/bus/sbus/sbus.h,BUSES["SBUS"] = true
---------------------------------------------------