Previous Thread
Next Thread
Print Thread
Page 12 of 16 1 2 10 11 12 13 14 15 16
Joined: Mar 2001
Posts: 17,326
Likes: 286
R
Very Senior Member
Very Senior Member
R Online: Content
Joined: Mar 2001
Posts: 17,326
Likes: 286
The COM port 8251 needs to have an RS232 port abstraction added to it, at which point you would be able to reroute it to a telnet port.

ETA: I assume it would probably need some interrupt lines hooked up as well.

Last edited by R. Belmont; 10/01/15 02:57 PM.
Joined: May 2012
Posts: 28
Z
Member
Member
Z Offline
Joined: May 2012
Posts: 28
Could you point me to another target doing this? As an example.

Joined: Jan 2012
Posts: 894
Likes: 19
C
Senior Member
Senior Member
C Offline
Joined: Jan 2012
Posts: 894
Likes: 19
The m20 already does it for the keyboard but you'd want to make it generic like in the isbc driver which also shows the rs232 status lines.

Joined: Jan 2012
Posts: 894
Likes: 19
C
Senior Member
Senior Member
C Offline
Joined: Jan 2012
Posts: 894
Likes: 19
I added it. Use with "mame m20 -rs232 null_modem -bitbngr socket.127.0.0.1:4321" and the default is 9600,8n1. Couldn't really test it though as I don't know how the serial port is addressed in pcos.

Last edited by crazyc; 10/02/15 02:42 AM.
Joined: May 2012
Posts: 28
Z
Member
Member
Z Offline
Joined: May 2012
Posts: 28

Last edited by z8001cpg; 10/02/15 07:14 AM.
Joined: May 2012
Posts: 28
Z
Member
Member
Z Offline
Joined: May 2012
Posts: 28
Originally Posted by z8001cpg
Seems to work.

Hmm, not quite...

The simple terminal program works, but when I redirect console input and output to the serial line, I'm receiving garbage characters in the telnet session. You can reproduce it like this:

After a fresh boot of PCOS 2.0h, type the following:

0> rs232
0> +scom:
0> +dcom:

Now console input and output also comes from/goes to the serial line.

Now type e.g. "vl" on either telnet or the console window and you'll get garbage output in the telnet session.

Joined: Jan 2012
Posts: 894
Likes: 19
C
Senior Member
Senior Member
C Offline
Joined: Jan 2012
Posts: 894
Likes: 19
It's sending everything with the top most bit set so it works if you set the bitbanger output to 7bits but then the input doesn't work. Maybe if there's a telnet client which supports 7bit ascii, putty doesn't appear to.

Joined: May 2012
Posts: 28
Z
Member
Member
Z Offline
Joined: May 2012
Posts: 28
Ah, PCOS' rs232 settings were wrong. dt.cmd sets them to 9600,8n1, but when redirecting you have to set them before.

Try

0> sc com:,9600,,1,8,,on,4096

Now it's working fine.

Joined: May 2012
Posts: 28
Z
Member
Member
Z Offline
Joined: May 2012
Posts: 28
You can see current settings with

0> sc com:

Joined: Jan 2012
Posts: 1,191
Likes: 17
R
Very Senior Member
Very Senior Member
R Offline
Joined: Jan 2012
Posts: 1,191
Likes: 17
Andreas, who contributed to this thread earlier, turned out to be collecting the MFA Microcomputer as well, so we've exchanged emails again. He asked me about the state of the M20, and this prompted me to fire up the driver again.

crazyc had the APB (alternate processor board) for the m20 running, but I can't remember for my life how to activate it ... the BIOS selection menu has an APB item, but I can't change it to anything different than "default".

Originally Posted by crazyc
[Linked Image from i.imgur.com]
[Linked Image from i.imgur.com]

Another non-PC MSDOS machine down. That was fairly simple, it's a lot easier when you don't have to worry about possible CPU bugs. The screen can be cleared when it's in DOS, the vram probably has multiple pages but the docs aren't clear about it.



NCR DMV- DEC Rainbow- Siemens PCD- ITT 3030-Oly People- Acorn A5000- Olivetti M20
Page 12 of 16 1 2 10 11 12 13 14 15 16

Link Copied to Clipboard
Who's Online Now
1 members (R. Belmont), 202 guests, and 1 robot.
Key: Admin, Global Mod, Mod
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics9,408
Posts122,975
Members5,094
Most Online3,327
Nov 10th, 2025
Our Sponsor
These forums are sponsored by Superior Solitaire, an ad-free card game collection for macOS and iOS. Download it today!

Superior Solitaire
Powered by UBB.threads™ PHP Forum Software 8.0.0