summaryrefslogtreecommitdiffstatshomepage
path: root/scripts
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2017-03-01 16:25:12 +1100
committer Vas Crabb <vas@vastheman.com>2017-03-01 16:36:42 +1100
commit73e2a3f542e868149f3b0be6c1bf395283711f33 (patch)
treef9b167d4550c6ba8d2840b0ee53ca6bdf43e1a1c /scripts
parentb28ede22ef274037c5ecba26d4e5d66198555b2a (diff)
ti85.cpp: Convert TI-8x link port to a bus with emulated peripherals, should work with TI-82 and TI-85.
* tee allows two peripherals to be connected in parallel * glinkhle is an RS232 (9600 8N1) adaptor * bitsock sends raw assert/release line signals to/from a bitbanger device * monospkr is a speaker connected between tip/ring in parallel and sleeve * stereospkr is two speakers: left across tip and sleeve, right across ring and sleeve Use glinkhle to make emulated calculators talk with cooked sockets, e.g. mame ti82 -linkport glinkhle -linkport:glinkhle:rs232 null_modem -bitb socket.127.0.0.1:2345 Use bitsock to make emulated calculators talk with cooked sockets, e.g. mame ti82 -linkport bitsock -bitb socket.127.0.0.1:2345 You can use tee to do stuff like listen to data activity for debugging purposes, e.g. mame ti82 -linkport tee -linkport:tee:a stereospkr -linkport:tee:b glinkhle -linkport:tee:b:glinkhle:rs232 null_modem -bitb socket.127.0.0.1:2345
Diffstat (limited to 'scripts')
-rw-r--r--scripts/src/bus.lua20
-rw-r--r--scripts/target/mame/mess.lua1
2 files changed, 21 insertions, 0 deletions
diff --git a/scripts/src/bus.lua b/scripts/src/bus.lua
index a21315344d8..b05cc795e85 100644
--- a/scripts/src/bus.lua
+++ b/scripts/src/bus.lua
@@ -2290,6 +2290,26 @@ end
---------------------------------------------------
--
+--@src/devices/bus/ti8x/ti8x.h,BUSES["TI8X"] = true
+---------------------------------------------------
+
+if (BUSES["TI8X"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/ti8x/bitsocket.cpp",
+ MAME_DIR .. "src/devices/bus/ti8x/bitsocket.h",
+ MAME_DIR .. "src/devices/bus/ti8x/graphlinkhle.cpp",
+ MAME_DIR .. "src/devices/bus/ti8x/graphlinkhle.h",
+ MAME_DIR .. "src/devices/bus/ti8x/teeconn.cpp",
+ MAME_DIR .. "src/devices/bus/ti8x/teeconn.h",
+ MAME_DIR .. "src/devices/bus/ti8x/ti8x.cpp",
+ MAME_DIR .. "src/devices/bus/ti8x/ti8x.h",
+ MAME_DIR .. "src/devices/bus/ti8x/tispeaker.cpp",
+ MAME_DIR .. "src/devices/bus/ti8x/tispeaker.h",
+ }
+end
+
+---------------------------------------------------
+--
--@src/devices/bus/ti99x/990_dk.h,BUSES["TI99X"] = true
--@src/devices/bus/ti99x/990_tap.h,BUSES["TI99X"] = true
--@src/devices/bus/ti99x/990_hd.h,BUSES["TI99X"] = true
diff --git a/scripts/target/mame/mess.lua b/scripts/target/mame/mess.lua
index a3f6f9ea260..cbca0919f1a 100644
--- a/scripts/target/mame/mess.lua
+++ b/scripts/target/mame/mess.lua
@@ -700,6 +700,7 @@ BUSES["SPC1000"] = true
BUSES["SUNKBD"] = true
BUSES["SVI_EXPANDER"] = true
BUSES["SVI_SLOT"] = true
+BUSES["TI8X"] = true
BUSES["TI99PEB"] = true
BUSES["TI99X"] = true
BUSES["TIKI100"] = true