Previous Thread
Next Thread
Print Thread
Page 3 of 13 1 2 3 4 5 12 13
#95674 - 08/26/14 10:58 PM Re: NCR Decision Mate V (DMV) [Re: rfka01]  
Joined: Jan 2012
Posts: 644
rfka01 Offline
Senior Member
rfka01  Offline
Senior Member

Joined: Jan 2012
Posts: 644
Bavaria
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
#95720 - 08/28/14 10:35 PM Re: NCR Decision Mate V (DMV) [Re: rfka01]  
Joined: Jan 2012
Posts: 644
rfka01 Offline
Senior Member
rfka01  Offline
Senior Member

Joined: Jan 2012
Posts: 644
Bavaria
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
#95723 - 08/29/14 02:06 AM Re: NCR Decision Mate V (DMV) [Re: rfka01]  
Joined: Oct 2006
Posts: 918
Stiletto Offline
Senior Member
Stiletto  Offline
Senior Member

Joined: Oct 2006
Posts: 918
Holy blinkenlights! This is awesome!

#95726 - 08/29/14 07:34 AM Re: NCR Decision Mate V (DMV) [Re: rfka01]  
Joined: Jan 2012
Posts: 644
rfka01 Offline
Senior Member
rfka01  Offline
Senior Member

Joined: Jan 2012
Posts: 644
Bavaria
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
#95731 - 08/29/14 10:18 AM Re: NCR Decision Mate V (DMV) [Re: rfka01]  
Joined: Apr 2012
Posts: 148
Bavarese Offline
Senior Member
Bavarese  Offline
Senior Member

Joined: Apr 2012
Posts: 148
Germany
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.
#95732 - 08/29/14 10:26 AM Re: NCR Decision Mate V (DMV) [Re: rfka01]  
Joined: Jan 2012
Posts: 644
rfka01 Offline
Senior Member
rfka01  Offline
Senior Member

Joined: Jan 2012
Posts: 644
Bavaria
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
#95733 - 08/29/14 11:28 AM Re: NCR Decision Mate V (DMV) [Re: rfka01]  
Joined: Mar 2006
Posts: 986
Lord Nightmare Offline
Senior Member
Lord Nightmare  Offline
Senior Member

Joined: Mar 2006
Posts: 986
PA, USA
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!"
#95735 - 08/29/14 05:01 PM Re: NCR Decision Mate V (DMV) [Re: rfka01]  
Joined: Jan 2012
Posts: 644
rfka01 Offline
Senior Member
rfka01  Offline
Senior Member

Joined: Jan 2012
Posts: 644
Bavaria
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
#95736 - 08/29/14 05:19 PM Re: NCR Decision Mate V (DMV) [Re: Bavarese]  
Joined: Dec 1999
Posts: 1,152
Justin Offline
Very Senior Member
Justin  Offline
Very Senior Member

Joined: Dec 1999
Posts: 1,152
Vancouver Island, BC, Canada
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.

#95737 - 08/29/14 05:33 PM Re: NCR Decision Mate V (DMV) [Re: rfka01]  
Joined: Jan 2012
Posts: 644
rfka01 Offline
Senior Member
rfka01  Offline
Senior Member

Joined: Jan 2012
Posts: 644
Bavaria
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 13 1 2 3 4 5 12 13

Who's Online Now
1 registered members (drewcifer), 16 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Shout Box
Forum Statistics
Forums9
Topics8,364
Posts108,109
Members4,748
Most Online225
May 26th, 2014
Powered by UBB.threads™ PHP Forum Software 7.6.0
Page Time: 0.029s Queries: 14 (0.009s) Memory: 5.0284 MB (Peak: 5.2559 MB) Zlib enabled. Server Time: 2017-06-28 07:08:18 UTC