Difference between revisions of "Guides:MAME - Software - Terminate (Terminal Software)"

From Wah!ki
Jump to navigation Jump to search
Line 15: Line 15:
 
* Install [[Guides:MESS - Installing MS-DOS 6.22|dos]] and the terminate package into a [[Guides:MAME - chdman|chd]]
 
* Install [[Guides:MESS - Installing MS-DOS 6.22|dos]] and the terminate package into a [[Guides:MAME - chdman|chd]]
 
* The easiest way is to probably put it in a floppy image and attach it to the machine
 
* The easiest way is to probably put it in a floppy image and attach it to the machine
* Copy and run the installer
 
 
 
'''
 
'''
 
  <nowiki>
 
  <nowiki>
 +
$ mkfs.msdos -C 1440 terminate5.img
 +
# mkdir /mnt/floppy-terminate5
 +
# mount -o loop terminate5.img /mnt/floppy-terminate5
 +
$ cp ter500.zip /mnt/floppy-terminate5/
 +
# unmount /mnt/floppy-terminate5/
 
</nowiki>
 
</nowiki>
 
'''
 
'''
 +
* Copy and run the installer
 +
 +
  
 
=== tcpser ===
 
=== tcpser ===
Line 30: Line 36:
 
</nowiki>
 
</nowiki>
 
'''
 
'''
* Configure MAME with a bitbanger device on port 25232 and a null modem connected. Add this to your launch params
+
 
''looks like if you connect it as board2 it'll be become com2?''
 
'''
 
<nowiki>
 
  -board2:comat:serport1 null_modem \
 
  -bitb socket.127.0.0.1:25232
 
</nowiki>
 
'''
 
  
 
* Startup tcpser to listen on 25232, using the VICE RS232 prot, speed and port can be whatever so long as MAME matches
 
* Startup tcpser to listen on 25232, using the VICE RS232 prot, speed and port can be whatever so long as MAME matches
Line 60: Line 59:
  
 
=== MAME ===
 
=== MAME ===
# Get a copy of MAME and set it up for the ct486 machine - https://www.mamedev.org/
+
* Get a copy of MAME and set it up for the ct486 machine - https://www.mamedev.org/
 +
* Start up MAME with the bitbanger device on port 25232 and a null modem connected. Add this to your launch params
  
# Start up MAME with the bitbanger device, it'll auto connect to the tcpser instance
+
'''
 +
<nowiki>
 +
  -board2:comat:serport1 null_modem \
 +
  -bitb socket.127.0.0.1:25232
 +
</nowiki>
 +
'''
 +
'''Note:''' it will auto connect to the tcpser instance at boot<br/>
 +
'''Note:''' looks like if you connect it as board2 it'll be become com2?
  
# Go into partial UI mode (scrlock) and confirm the speed on the serial device
+
* Go into partial UI mode (scrlock) and confirm the speed on the serial device
 
[[File:Ct486-partialui.png|200px|thumb|left]]<br clear=all>
 
[[File:Ct486-partialui.png|200px|thumb|left]]<br clear=all>
 
+
* Machine Configuration -> root:board2:comat:serport1:null_modem
# Machine Configuration -> root:board2:comat:serport1:null_modem
 
 
[[File:Ct486-serial-device-config.png|200px|thumb|left]]<br clear=all>
 
[[File:Ct486-serial-device-config.png|200px|thumb|left]]<br clear=all>
 
{| class="wikitable"
 
{| class="wikitable"
Line 85: Line 91:
 
| TX Baud || <tcpser speed>
 
| TX Baud || <tcpser speed>
 
|}
 
|}
 
+
* Reset the machine to reconnect the tcp instance at the correct speed
# Reset the machine to reconnect the tcp instance at the correct speed
 
  
 
=== Terminate Config ===
 
=== Terminate Config ===
Line 105: Line 110:
 
# ALT-O
 
# ALT-O
 
# Communications Setup
 
# Communications Setup
# Hayes Accura 28.80(1) on COM2
+
# Hayes Accura 28.800(1) on COM2
 
# UART/Serial
 
# UART/Serial
 
# Baudrate <tcpser speed>
 
# Baudrate <tcpser speed>

Revision as of 20:21, 4 March 2021

just a dump of the basics, i'll format it later

Terminate - Terminal Software

Needed

  • MAME
  • DOS
  • Terminate
  • tcpser

Installation

Terminate Install

$ mkfs.msdos -C 1440 terminate5.img
# mkdir /mnt/floppy-terminate5
# mount -o loop terminate5.img /mnt/floppy-terminate5
$ cp ter500.zip /mnt/floppy-terminate5/
# unmount /mnt/floppy-terminate5/

  • Copy and run the installer


tcpser

  • Get a copy of tcpser (not available in repos on ubuntu 20.04)

$ wget http://launchpadlibrarian.net/139812064/tcpser_1.0rc12-2_amd64.deb
# dpkg -i tcpser_1.0rc12-2_amd64.deb


  • Startup tcpser to listen on 25232, using the VICE RS232 prot, speed and port can be whatever so long as MAME matches

tcpser -v 25232 -p 6333 -s 38400 -l 4 -i Z

Option Description
-v tcp port for VICE RS232 (e.g. 25232). Cannot be used with -d
-p port to listen on (defaults to 6400)
-l 0 (NONE), 1 (FATAL) - 7 (DEBUG_X) (defaults to 0)
-i modem init string (defaults to , leave off 'at' prefix when specifying)

-p probably isn't really required, but you can hook another console in if you care and watch along

Tcpser-login.png


MAME

  • Get a copy of MAME and set it up for the ct486 machine - https://www.mamedev.org/
  • Start up MAME with the bitbanger device on port 25232 and a null modem connected. Add this to your launch params

  -board2:comat:serport1 null_modem \
  -bitb socket.127.0.0.1:25232

Note: it will auto connect to the tcpser instance at boot
Note: looks like if you connect it as board2 it'll be become com2?

  • Go into partial UI mode (scrlock) and confirm the speed on the serial device
Ct486-partialui.png


  • Machine Configuration -> root:board2:comat:serport1:null_modem
Ct486-serial-device-config.png


Setting Value
Flow Control Off
Data Bits 8
Parity None
RX Baud <tcpser speed>
Stop Bits 1
TX Baud <tcpser speed>
  • Reset the machine to reconnect the tcp instance at the correct speed

Terminate Config

Boot into dos and start Terminate

Ct486-ter500.png


Note: if you are in partial ui mode, go back to full because scroll lock in terminate toggles doorway mode

Check your comports

Ct486-ter500-comport.png


  1. ALT-O
  2. Communications Setup
  3. COM Ports

Configure a Hays compatible mode

Ct486-ter500-modem-config.png
Ct486-ter500-modems.png


  1. ALT-O
  2. Communications Setup
  3. Hayes Accura 28.800(1) on COM2
  4. UART/Serial
  5. Baudrate <tcpser speed>
  6. Databits / Stops Bits / Parity 8,N,1


Configure a Phonebook Entry

Ct486-ter500-phonebook-entry.png
Ct486-ter500-phonebook.png


  1. ALT-D
  2. A (Add)
  3. E (Edit)
  4. System name: <whatever>
  5. Phone Number: <telnet address>
  6. ESC
  7. V (SaVe)

(1)caveats, you can't hang up the call because the bit is always high atm