Previous Thread
Next Thread
Print Thread
Page 47 of 47 1 2 45 46 47
Re: Requirements? [Re: rfka01] #115480
07/03/19 11:21 PM
07/03/19 11:21 PM
Joined: Mar 2001
Posts: 16,231
USA
R
R. Belmont Online content
Very Senior Member
R. Belmont  Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 16,231
USA
Nice pickup! Hopefully the flat-cable driver is on there in addition to the OmniNet one.

Re: Requirements? [Re: rfka01] #115485
07/05/19 12:04 PM
07/05/19 12:04 PM
Joined: Apr 2012
Posts: 185
Germany
B
Bavarese Offline
Senior Member
Bavarese  Offline
Senior Member
B
Joined: Apr 2012
Posts: 185
Germany
Wow.

Note that the current Corvus implementation in 'rainbow.cpp' totally relies on info borrowed from TRS-80 groups - and the binary driver for DEC's flavour of CP/M 86/80 V1 from the Maslin archive.

See patch description on page 12 of
Rainbow-100 first steps (January 2019 edition)

The patch could certainly be adapted for CP/M 86-80 V2.0, yet i don't know enough about the internal structures of CP/M laugh

Corvus controller bits were derived from disassembled drivers. I had no documentation. Same goes true for the ClikClok.

First hand info is always better.

Re: Requirements? [Re: rfka01] #115488
07/06/19 03:35 PM
07/06/19 03:35 PM
Joined: Jan 2016
Posts: 33
B
bsdimp Offline
Member
bsdimp  Offline
Member
B
Joined: Jan 2016
Posts: 33
I have the data sheets for chip that's inside the ClikClok (the DS1315), if that would help. There's also the Venix driver for it, which lays bare how it works if you'd like, but it's working, eh? I think it was also derived from the DS1315 datasheet plus looking at the DOS driver, though.
July 4th's master branch is working in with Venix for me, as well as MSDOS. I've not tried CP/M yet.
Thanks for the serial trick: I'll be able to transfer things back and forth more easily now.
I also just purchased a PC1XX-AK for my Rainbow 100A. It allows up to 832k of memory. The board has 8087 silk screened on it, but the 8087 spot wasn't populated (I had high hopes when I read the description).
The disks will be here in a few days. I'll let you know what I find.

Re: Requirements? [Re: rfka01] #115489
07/06/19 07:56 PM
07/06/19 07:56 PM
Joined: Jan 2016
Posts: 33
B
bsdimp Offline
Member
bsdimp  Offline
Member
B
Joined: Jan 2016
Posts: 33
OK, I get errors when I try to use -bitbngr on the command line.

Code
% ../git/mame/mame64 rainbow -hard1 venix-st251.chd -window -comm null_modem -bitbngr socket.127.0.0.1:1234
Error: unknown option: -bitbngr
%


So what am I missing?

-- edit --

the option is now called -bitbanger

Last edited by bsdimp; 07/06/19 08:04 PM.
Re: Requirements? [Re: rfka01] #115490
07/06/19 09:42 PM
07/06/19 09:42 PM
Joined: Mar 2001
Posts: 16,231
USA
R
R. Belmont Online content
Very Senior Member
R. Belmont  Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 16,231
USA
We have an explicit emulation of the DS1315 in MAME which the Rainbow and the Apple II both use. (On A2 it was called the "No-Slot Clock").

Re: Requirements? [Re: rfka01] #115492
07/07/19 06:18 PM
07/07/19 06:18 PM
Joined: Jan 2016
Posts: 33
B
bsdimp Offline
Member
bsdimp  Offline
Member
B
Joined: Jan 2016
Posts: 33
After a day of working with this I'm impressed.

The emulation gets almost all of the issues with using a 9600 baud connection on a real Rainbow correct (it's easy to overrun it at that rate). I'd hoped I could set the baud rate to 19200 and get 1920cps transfers, but no matter the baud rate I'm maxed out at ~(speedup * 170)cps. Real rainbow hardware has similar performance, at least when transferring to Venix (I max out at around 180-185cps).

You emulate the bad baud rate stuff as well. When Venix is running its default getty at '7' is is using 2400 baud. The default serial rate is 9600 for MAME, so you get garbage characters, exactly like you would when you do this IRL.
I get several interrupts off messages. More than I get on real hardware, but in similar circumstances. I think there's a race or two left in the Venix winnie or ca drivers that we're faithfully emulating.

Venix still has all the annoying issues of being a V7 port coupled with the unforgiving (by modern standards) error paths in the installation.

So color me impressed. I wish there was a way to "improve" on some of these issues, but I can't think of any that don't reduce the fidelity of the emulation. I may implement a deep invisible rx and tx FIFO for the upd7201 though and see if never dropping a character improves the speed, or reveals more bugs. smile

Re: Requirements? [Re: bsdimp] #115493
07/07/19 06:42 PM
07/07/19 06:42 PM
Joined: Jun 2001
Posts: 402
somewhere else entirely
O
Olivier Galibert Offline
Senior Member
Olivier Galibert  Offline
Senior Member
O
Joined: Jun 2001
Posts: 402
somewhere else entirely
Yeah, we've been having fun emulating serial at the wire level, with real clocks and stuff. So we're emulating all the annoyances that come with it :-)

Not everything is converted yet, but one day, one day...

Page 47 of 47 1 2 45 46 47

Who's Online Now
4 registered members (R. Belmont, Stick, Praxis, mfm005), 154 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Shout Box
Forum Statistics
Forums9
Topics8,664
Posts113,575
Members4,848
Most Online324
Dec 20th, 2018
Powered by UBB.threads™ PHP Forum Software 7.6.1.1
(Release build 20180111)
Page Time: 0.038s Queries: 14 (0.021s) Memory: 5.6987 MB (Peak: 5.8972 MB) Zlib enabled. Server Time: 2019-07-15 18:02:11 UTC