Previous Thread
Next Thread
Print Thread
Page 1 of 2 1 2
KayproII OSX serial output #112114
01/09/18 07:22 PM
01/09/18 07:22 PM
Joined: Nov 2017
Posts: 8
K
k-Tracker Offline OP
Member
k-Tracker  Offline OP
Member
K
Joined: Nov 2017
Posts: 8
Hello MAME team, sorry I'm newbie and learning MAME.
I'm interested in KayproII (or 4) emulation, and I got one running just fine:
http://www.progettoemma.net/mess/system.php?machine=kayproii
I learned to use right floppy format and loaded the program I need for the communication to other gear. Unfortunately I need a serial communication enabled somehow, sorry, I was not able to figure out how to enable it or it ever exists. I'm with mame0191b_macOS. I downloaded QMC2 yesterday, in case I find any configuration otpions in a GUI for the Serial Port redirection. But I only see Centronics emulation called Serial Printer. Not sure if it's what I need, as Kaypro has parallel printer port too.
Would you please help me to figure out if Serial Port redirection exists and how to use it with KayproII emualtion?

Re: KayproII OSX serial output [Re: k-Tracker] #112125
01/10/18 12:12 PM
01/10/18 12:12 PM
Joined: May 2008
Posts: 4,892
Germany
Q
qmc2 Offline
Very Senior Member
qmc2  Offline
Very Senior Member
Q
Joined: May 2008
Posts: 4,892
Germany
Note that QMC2 currently doesn't support this (due to earlier changes in MAME), but you can use the "-listslots" command to find what you're looking for:

Code
rene@marvin:~/src/mame-git> ./mame64 -listslots kayproii
SYSTEM           SLOT NAME        SLOT OPTIONS     SLOT DEVICE NAME
---------------- ---------------- ---------------- ----------------------------
kayproii         centronics       ap2000           Epson ActionPrinter 2000
                                  covox            Covox Speech Thing
                                  covox_stereo     Covox (Stereo-in-1)
                                  ex800            Epson EX-800
                                  lx800            Epson LX-800
                                  lx810l           Espon LX-810L
                                  p72              NEC PinWriter P72
                                  pl80             COMX PL-80
                                  printer          Centronics Printer

                 serial           ie15             IE15 Terminal
                                  keyboard         Serial Keyboard
                                  loopback         RS232 Loopback
                                  null_modem       RS232 Null Modem
                                  printer          Serial Printer
                                  pty              Pseudo terminal
                                  sunkbd           Sun Keyboard Adaptor
                                  terminal         Serial Terminal

                 fdc:0            525dd            5.25" double density floppy drive
                                  525qd            5.25" quad density floppy drive
                                  525ssdd          5.25" single-sided double density floppy drive

                 fdc:1            525dd            5.25" double density floppy drive
                                  525qd            5.25" quad density floppy drive
                                  525ssdd          5.25" single-sided double density floppy drive

Then just add "-serial <slot_option>" to the MAME command line, i. e.:

Code
rene@marvin:~/src/mame-git> ./mame64 kayproii -serial null_modem


A mind is like a parachute. It doesn't work unless it's open. [Frank Zappa]

We're searching for QMC2 translators and support for existing translations. Interested? See here!
Re: KayproII OSX serial output [Re: k-Tracker] #112126
01/10/18 12:24 PM
01/10/18 12:24 PM
Joined: Aug 2004
Posts: 1,363
Robbbert Online content
Very Senior Member
Robbbert  Online Content
Very Senior Member
Joined: Aug 2004
Posts: 1,363
Also, you should use the latest version of MAME (0.193).

Re: KayproII OSX serial output [Re: k-Tracker] #112136
01/10/18 08:42 PM
01/10/18 08:42 PM
Joined: Nov 2017
Posts: 8
K
k-Tracker Offline OP
Member
k-Tracker  Offline OP
Member
K
Joined: Nov 2017
Posts: 8
Thank you for suggestions. I've realized only 0.193 gives me a serial slot option, which is not available in 0.192.
So I run it with a floppy image, but what does it do? creates a pipe? How I can figure out where does it go? Especially if I need to forward it to hardware serial port.
Please, advise.

Re: KayproII OSX serial output [Re: k-Tracker] #112144
01/11/18 04:16 AM
01/11/18 04:16 AM
Joined: Feb 2004
Posts: 2,003
Sydney, Australia
Vas Crabb Offline
Very Senior Member
Vas Crabb  Offline
Very Senior Member
Joined: Feb 2004
Posts: 2,003
Sydney, Australia
Well, typically people use it to forward to a TCP socket. You can probably use the pty device to forward to a serial port, or you can use another program to bridge a listening socket to the serial port.

Re: KayproII OSX serial output [Re: k-Tracker] #112145
01/11/18 08:07 AM
01/11/18 08:07 AM
Joined: Nov 2017
Posts: 8
K
k-Tracker Offline OP
Member
k-Tracker  Offline OP
Member
K
Joined: Nov 2017
Posts: 8
I understand, thank you!
I tried following - running a terminal app inside Kaypro with null_modem option:

sudo ./mame64 kayproii -flop1 ./KAYPRO1.IMD -serial null_modem -bitbanger socket.127.0.0.1:1001 -window -mouse

and connect it with "telnet 127.0.0.1 1001"

Telnet finds it and connects, but there is nothing coming onto the screen. Just to verify that, - if I change serial to "loopback", I see characters on Kaypro terminal app, so it's working.
I think maybe I didn't configure Serial port properly inside MAME, but I don't know how to invoke a combination of ScrollLock+TAB on the Mac. Please, help.

I know I'm somewhere close... according to other guide, it should work smoothly on other ROMs.
https://frakaday.blogspot.com/2016/09/mame-esselte-100-and-serial-support.html

Re: KayproII OSX serial output [Re: k-Tracker] #112147
01/11/18 10:00 AM
01/11/18 10:00 AM
Joined: Feb 2004
Posts: 2,003
Sydney, Australia
Vas Crabb Offline
Very Senior Member
Vas Crabb  Offline
Very Senior Member
Joined: Feb 2004
Posts: 2,003
Sydney, Australia
You use Forward Delete (rather than Scroll Lock) to toggle full/partial keyboard mode on OSX by default (fn-delete on a MacBook or miniature keyboard, dedicated key on a full desktop keyboard). Then you can use tab to bring up the menu. In the menu, go to Machine Configuration and set up the serial options.

Re: KayproII OSX serial output [Re: k-Tracker] #112150
01/11/18 04:37 PM
01/11/18 04:37 PM
Joined: Nov 2017
Posts: 8
K
k-Tracker Offline OP
Member
k-Tracker  Offline OP
Member
K
Joined: Nov 2017
Posts: 8
Thanks!
If I run MAME as following:
sudo ./mame64 kayproii -flop1 ./KAYPRO1.IMD -serial null_modem -bitbanger out.file -window -mouse

and set up serial port as 19200 + one stop/start byte for every character I type, the out coming file has just zeros which basically means only start/stop bytes are transferred and not the data. If I disable start/stop bytes, then there is nothing at all inside a file. So, this test shows, there is no actual data transmitted to the serial port.
I'm not clear where I'm failing now, appreciate for any advise.

Re: KayproII OSX serial output [Re: k-Tracker] #112725
02/22/18 07:27 PM
02/22/18 07:27 PM
Joined: Nov 2017
Posts: 8
K
k-Tracker Offline OP
Member
k-Tracker  Offline OP
Member
K
Joined: Nov 2017
Posts: 8
Kindly follow up is some one can help with that.

Re: KayproII OSX serial output [Re: k-Tracker] #112726
02/23/18 12:12 AM
02/23/18 12:12 AM
Joined: Mar 2001
Posts: 16,058
USA
R
R. Belmont Online content
Very Senior Member
R. Belmont  Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 16,058
USA
You need to go into the Tab menu and I think it's called Machine Configuration now and set the bit-bang device to the same baud rate and data format that the Kaypro is. (By default I think it expects 9600 8/N/1).

Page 1 of 2 1 2

Moderated by  R. Belmont 

Who's Online Now
2 registered members (pmackinlay, 1 invisible), 36 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Shout Box
Forum Statistics
Forums9
Topics8,600
Posts112,408
Members4,821
Most Online283
Oct 11th, 2018
Powered by UBB.threads™ PHP Forum Software 7.6.1.1
(Release build 20180111)
Page Time: 0.053s Queries: 14 (0.012s) Memory: 5.7223 MB (Peak: 5.9406 MB) Zlib enabled. Server Time: 2018-11-21 00:33:23 UTC