Previous Thread
Next Thread
Print Thread
Page 34 of 56 1 2 32 33 34 35 36 55 56
rfka01 #106285 07/03/16 08:42 AM
Joined: Aug 2015
Posts: 406
Senior Member
Senior Member
Joined: Aug 2015
Posts: 406
http://bitsavers.trailing-edge.com/...20001_7210_72105_Product_Description.pdf for a start and then at some point split it out as separate device driver


Because I can
rfka01 #106286 07/03/16 10:19 AM
Joined: May 2004
Posts: 1,015
Likes: 130
D
Very Senior Member
Very Senior Member
D Offline
Joined: May 2004
Posts: 1,015
Likes: 130
Sorry, I didn't see that you added the null-modem directory in the machine config, usually it's added as a slot device like '-rs232 null_modem'.

You can set the upd7201 control lines with device->cts_w() etc. To get the status, you need to hook up a callback in the machine config.

rfka01 #106288 07/03/16 01:03 PM
Joined: Jan 2012
Posts: 892
Likes: 17
C
Senior Member
Senior Member
C Offline
Joined: Jan 2012
Posts: 892
Likes: 17
You need to call m1_r() in update_mpsc_irq() for the irqs to work properly.

rfka01 #106312 07/03/16 07:40 PM
Joined: Apr 2012
Posts: 193
B
Senior Member
Senior Member
B Offline
Joined: Apr 2012
Posts: 193
Saved from the Shoutbox.

Code
(...) the 7201 is externally clocked like the 8251, and you aren't doing that.

That's why there's the separate 8088 port to set the baud rate, because there's a completely separate baud rate generator 

Schematics of baud rate generator:
https://dl.dropboxusercontent.com/u/37819653/BANNISTER/BAUD_RATE_GENERATOR.jpg

Standard smc/com5016T dual baud rate generator, see vt100.c and vk100.c for examples where it is used (says LN)

@shattered: here ist the link to the latest source. The m1_r (IRQ acknowledge) fix Cracyc mentioned is missing...

https://dl.dropboxusercontent.com/u/37819653/BANNISTER/2016_07_02_Rainbow_CPP.txt

Thank you!

Last edited by Bavarese; 07/03/16 08:50 PM.
rfka01 #106326 07/03/16 09:40 PM
Joined: Apr 2012
Posts: 193
B
Senior Member
Senior Member
B Offline
Joined: Apr 2012
Posts: 193
Shattered's partial fix from Sunday is at

https://gist.githubusercontent.com/shattered/37137526ff3ad171f0d38f8d19b6ce3c/raw/e5faa78250b14992d3c46dc4389bd16b7e954a3f/rainbow%2520haxx

Status: self test fails with "unsolicited interrupt" and "watchdog error" (16 = interrupts off).

Theory: serial redirection during self test fails.

Last edited by Bavarese; 07/03/16 09:41 PM.
rfka01 #106352 07/04/16 05:58 PM
Joined: Apr 2012
Posts: 193
B
Senior Member
Senior Member
B Offline
Joined: Apr 2012
Posts: 193
The self test is bypassed by unmapping the MPSC and activating the handlers when everything is normal.

Now i can send data from the Rainbow to a Putty terminal. There is no transmission in the other direction, as far as i can see...

https://dl.dropboxusercontent.com/u/37819653/BANNISTER/2017_07_04_Rainbow_CPP.txt

Last edited by Bavarese; 07/04/16 06:01 PM.
rfka01 #106353 07/04/16 07:02 PM
Joined: May 2012
Posts: 572
Likes: 13
S
Senior Member
Senior Member
S Offline
Joined: May 2012
Posts: 572
Likes: 13
flow control hack you've asked for -- https://gist.github.com/shattered/d48d429a20f7062473331eaff7377a51

z80dart driver has to be modified to set/reset RTS as appropriate.

rfka01 #106357 07/05/16 02:23 PM
Joined: Apr 2012
Posts: 193
B
Senior Member
Senior Member
B Offline
Joined: Apr 2012
Posts: 193
Thanks.

I tried with (FDXB setting in SETUP) and without flow control (FDXA setting).

Without, i can transmit from Rainbow to terminal - but not in the other direction. Diagnosis: receive overrun error in z80dart_channel::receive_data (line 1079)...

With flow control, the Rainbow locks up (WAIT LED lights) until i set FDXA in SETUP again.

Hint: do not set FDXC. It is a mode with a secondary 1200 bps line on the same port.

Last edited by Bavarese; 07/05/16 02:32 PM.
rfka01 #106375 07/06/16 03:50 AM
Joined: Mar 2006
Posts: 1,080
Likes: 7
L
Very Senior Member
Very Senior Member
L Offline
Joined: Mar 2006
Posts: 1,080
Likes: 7
Since we have the mcu dump for the older intel mcs-51 based LK201 which we do have full schematics for, would it make sense to make an 'lk201o' device, to make 100% sure we have a fully documented, emulated keyboard hookup?

LN


"When life gives you zombies... *CHA-CHIK!* ...you make zombie-ade!"
rfka01 #106382 07/06/16 09:49 AM
Joined: Apr 2012
Posts: 193
B
Senior Member
Senior Member
B Offline
Joined: Apr 2012
Posts: 193
It would make sense. I hesitate to do so, for various reasons. One aspect is that i have to cut back my invest in MAME/MESS.

Last edited by Bavarese; 07/06/16 10:09 AM.
Page 34 of 56 1 2 32 33 34 35 36 55 56

Link Copied to Clipboard
Who's Online Now
2 members (robcfg, Foxhack), 107 guests, and 0 robots.
Key: Admin, Global Mod, Mod
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics9,345
Posts122,350
Members5,082
Most Online1,283
Dec 21st, 2022
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