Previous Thread
Next Thread
Print Thread
Page 3 of 14 1 2 3 4 5 13 14
Joined: Jan 2012
Posts: 1,162
Likes: 7
rfka01 Offline OP
Very Senior Member
OP Offline
Very Senior Member
Joined: Jan 2012
Posts: 1,162
Likes: 7
coolThe last changes allow another OS to run on the DMV - USCD p-System. That's four down, one to go (CP/M-68K)





Robert


NCR DMV- DEC Rainbow- Siemens PCD- ITT 3030-Oly People- Acorn A5000- Olivetti M20
Joined: Jan 2012
Posts: 1,162
Likes: 7
rfka01 Offline OP
Very Senior Member
OP Offline
Very Senior Member
Joined: Jan 2012
Posts: 1,162
Likes: 7
I've worked on the DMV layout a bit ... there are now four options apart from "screen only":

  • Default without backdrop
  • Diagnostic module without backdrop
  • Default with backdrop
  • Diagnostic module with backdrop




Each view comes with drive LEDs (although I couldn't figure out how to "connect" them in the driver ... disk copying inside the driver works, so having the LEDs work would be nice), and the mainboard diagnostics LEDs.

The views that include the backdrop have a "lighted" power LED. In these views it would be great to be able to call up the file manager dialogue for the respective floppy disk drive by adding a hotspot to the drive knobs. I don't know if MESS supports switching between the host mouse and a guest mouse that might be emulated in the future.

The views for the diagnostic module include the 7 segment LED displays and the diagnostics LEDs on the module. Of these, the six LEDs monitoring the computer's voltage are fixed, the PCLK/, MEMR/ and HLDA LEDs could be hooked up.

https://dl.dropboxusercontent.com/u/55419307/NCR%20DMV/DMV%20Layout%20Artwork.rar



NCR DMV- DEC Rainbow- Siemens PCD- ITT 3030-Oly People- Acorn A5000- Olivetti M20
Joined: Oct 2006
Posts: 1,016
Likes: 21
S
Very Senior Member
Offline
Very Senior Member
S
Joined: Oct 2006
Posts: 1,016
Likes: 21
Holy blinkenlights! This is awesome!

Joined: Jan 2012
Posts: 1,162
Likes: 7
rfka01 Offline OP
Very Senior Member
OP Offline
Very Senior Member
Joined: Jan 2012
Posts: 1,162
Likes: 7
Everything that works was put there by Micko in 2012 ... I just shuffled it around a bit smile


NCR DMV- DEC Rainbow- Siemens PCD- ITT 3030-Oly People- Acorn A5000- Olivetti M20
Joined: Apr 2012
Posts: 191
B
Senior Member
Offline
Senior Member
B
Joined: Apr 2012
Posts: 191
Way cool!

Want that for the Rainbow, too.

Do you have good images of monochrome or color monitors?

To light simple LEDs, you'll have to write something like that:
Code:
	// RESET ALL LEDs
	output_set_value("led1", 1);


A bezel named "led1" must exist. See
<view name="Default Layout">
in RAINBOW.LAY

The state values can be taken from the top of the layout file:
Code:
	<element name="driveled" defstate="0">
		<disk state="1">
			<color red="0.75" green="0.0" blue="0.0" />
		</disk>
		<disk state="0">
			<color red="0.20" green="0.0" blue="0.0" />
		</disk>
	</element>

I don't know yet how to drive 7 segment LEDs (hell, the documentation is really bad...)

Last edited by Bavarese; 08/29/14 10:22 AM.
Joined: Jan 2012
Posts: 1,162
Likes: 7
rfka01 Offline OP
Very Senior Member
OP Offline
Very Senior Member
Joined: Jan 2012
Posts: 1,162
Likes: 7
Well, I've been looking through the DMV driver to find the appropriate signal to trigger the output to the drive LED, but couldn't make heads nor tails of it ... this'll have to wait for a dev.

As for pictures of the monitors, I can try to photograph them and then enhance the existing layout.

Last edited by rfka01; 08/29/14 10:27 AM.

NCR DMV- DEC Rainbow- Siemens PCD- ITT 3030-Oly People- Acorn A5000- Olivetti M20
Joined: Mar 2006
Posts: 1,073
Likes: 5
L
Very Senior Member
Offline
Very Senior Member
L
Joined: Mar 2006
Posts: 1,073
Likes: 5
The drive led is usually configured by jumpers on the drive itself.
On the TEAC FD55GFR drive (which is just an example drive here) it can be one of 5 things (from FD55GFR-7xxx jumper listing):
1. Drive Select
2. Drive Select + In Use
3. In Use
4. Drive Select * Ready (ready is supplied by the drive itself)
5. In Use + (Drive Select * Ready)
(In Use is an optional use of the otherwise reserved mini-shugart pin 4; other drives may use it for other things)
(+ means OR, * means AND)
(The actual cable signals are all open collector active low, so consider them pre-inverted on the drive board to active high for simplicity here)

LN


"When life gives you zombies... *CHA-CHIK!* ...you make zombie-ade!"
Joined: Jan 2012
Posts: 1,162
Likes: 7
rfka01 Offline OP
Very Senior Member
OP Offline
Very Senior Member
Joined: Jan 2012
Posts: 1,162
Likes: 7
Yeah, I'd know how to jumper a physical drive, but integrating the LED code into the driver is beyond my abilities.

Make that "strap" instead of "jumper" as this is a NCR related thread. That's the terminology they were using then smile

Last edited by rfka01; 08/29/14 05:02 PM.

NCR DMV- DEC Rainbow- Siemens PCD- ITT 3030-Oly People- Acorn A5000- Olivetti M20
Joined: Dec 1999
Posts: 1,179
Likes: 2
J
Very Senior Member
Offline
Very Senior Member
J
Joined: Dec 1999
Posts: 1,179
Likes: 2
Originally Posted By Bavarese
I don't know yet how to drive 7 segment LEDs (hell, the documentation is really bad...)


Actually it's pretty simple if you know where to get the value, src/mess/drivers/mk2.c has one I hooked up a while back:

Code:
	for (i=0; i<4; i++)
		output_set_digit_value(i, m_led[i]);


So the first parameter to output_set_digit_value is which digit to change, and the second parameter is the value to set it to (m_led is set by a write handler elsewhere in this case). I think the value is a bit field of the segment values so if the system has some weird arrangement of bits you may need to use a BITSWAP macro but for mk2 it just worked.

Joined: Jan 2012
Posts: 1,162
Likes: 7
rfka01 Offline OP
Very Senior Member
OP Offline
Very Senior Member
Joined: Jan 2012
Posts: 1,162
Likes: 7
Thanks ... the 7 segments are actually hooked up ... I have yet to cross check the the validity of the values they display.


NCR DMV- DEC Rainbow- Siemens PCD- ITT 3030-Oly People- Acorn A5000- Olivetti M20
Page 3 of 14 1 2 3 4 5 13 14

Link Copied to Clipboard
Who's Online Now
2 members (robj, 1 invisible), 16 guests, and 3 robots.
Key: Admin, Global Mod, Mod
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics9,100
Posts119,229
Members5,019
Most Online890
Jan 17th, 2020
Our Sponsor
These forums are sponsored by Superior Solitaire, an ad-free card game collection for macOS and iOS. Download it today!

Superior Solitaire
Forum hosted by www.retrogamesformac.com