Previous Thread
Next Thread
Print Thread
Page 34 of 48 1 2 32 33 34 35 36 47 48
Re: Requirements? [Re: rfka01] #106285 07/03/16 08:42 AM
Joined: Aug 2015
Posts: 387
Edstrom Offline
Senior Member
Offline
Senior Member
Joined: Aug 2015
Posts: 387
http://bitsavers.trailing-edge.com/pdf/n...Description.pdf for a start and then at some point split it out as separate device driver

Re: Requirements? [Re: rfka01] #106286 07/03/16 10:19 AM
Joined: May 2004
Posts: 895
D
Duke Offline
Senior Member
Offline
Senior Member
D
Joined: May 2004
Posts: 895
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.

Re: Requirements? [Re: rfka01] #106288 07/03/16 01:03 PM
Joined: Jan 2012
Posts: 830
C
crazyc Offline
Senior Member
Offline
Senior Member
C
Joined: Jan 2012
Posts: 830
You need to call m1_r() in update_mpsc_irq() for the irqs to work properly.

Re: Requirements? [Re: rfka01] #106312 07/03/16 07:40 PM
Joined: Apr 2012
Posts: 188
B
Bavarese Offline
Senior Member
Offline
Senior Member
B
Joined: Apr 2012
Posts: 188
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.
Re: Requirements? [Re: rfka01] #106326 07/03/16 09:40 PM
Joined: Apr 2012
Posts: 188
B
Bavarese Offline
Senior Member
Offline
Senior Member
B
Joined: Apr 2012
Posts: 188
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.
Re: Requirements? [Re: rfka01] #106352 07/04/16 05:58 PM
Joined: Apr 2012
Posts: 188
B
Bavarese Offline
Senior Member
Offline
Senior Member
B
Joined: Apr 2012
Posts: 188
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.
Re: Requirements? [Re: rfka01] #106353 07/04/16 07:02 PM
Joined: May 2012
Posts: 524
S
shattered Offline
Senior Member
Offline
Senior Member
S
Joined: May 2012
Posts: 524
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.

Re: Requirements? [Re: rfka01] #106357 07/05/16 02:23 PM
Joined: Apr 2012
Posts: 188
B
Bavarese Offline
Senior Member
Offline
Senior Member
B
Joined: Apr 2012
Posts: 188
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.
Re: Requirements? [Re: rfka01] #106375 07/06/16 03:50 AM
Joined: Mar 2006
Posts: 1,040
L
Lord Nightmare Offline
Very Senior Member
Offline
Very Senior Member
L
Joined: Mar 2006
Posts: 1,040
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!"
Re: Requirements? [Re: rfka01] #106382 07/06/16 09:49 AM
Joined: Apr 2012
Posts: 188
B
Bavarese Offline
Senior Member
Offline
Senior Member
B
Joined: Apr 2012
Posts: 188
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 48 1 2 32 33 34 35 36 47 48

Who's Online Now
5 registered members (MacLover490, Dorando, R. Belmont, AJR, 1 invisible), 170 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
ShoutChat Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics8,763
Posts115,160
Members4,889
Most Online890
Jan 17th, 2020
Powered by UBB.threads™ PHP Forum Software 7.7.3