Previous Thread
Next Thread
Print Thread
Page 20 of 47 1 2 18 19 20 21 22 46 47
Re: Requirements? [Re: rfka01] #94921 07/03/14 07:46 PM
Joined: Apr 2012
Posts: 188
B
Bavarese Offline
Senior Member
Offline
Senior Member
B
Joined: Apr 2012
Posts: 188
After lengthy debugging, the Rainbow now boots DOS 3.10 (with a proper NVRAM file that must match DIP / RAM Settings)...

Still, DOS 2.01, DOS 2.05, DOS 2.11, CP/M 2.x _and_ Concurrent CP/M fail with quite the same error!

Now i have a good log from an attempt to boot Concurrent CP/M - together with a commented source file from Digital Research (-> right hand side -> WD1797).

It shows why the seek to track 00 happens - instead of a seek (or read) @ track 2 - as expected.

https://dl.dropboxusercontent.com/u/37819653/SEEK_TO_TRACK_0_in_case_of_error.jpg

pattern T0 -> T1 -> T0 repeats with all 2.x disks mentioned.

As always, some hints would be nice. I am a bit out of ideas...

Re: Requirements? [Re: rfka01] #94922 07/03/14 08:50 PM
Joined: Jan 2012
Posts: 1,014
rfka01 Offline OP
Very Senior Member
OP Offline
Very Senior Member
Joined: Jan 2012
Posts: 1,014
@Sandro Ronco

Thank you very much for your work on the NCR DMV driver ... it's amazing to see the machine come to life.

As always the following thoughts are just meant as ideas, not as impatient nagging or criticism.

Althought the DMV now boots CP/M, the error message with no disk inserted as shown in the before last post persists. The message should simply read "Disk A: not ready (CR)"

The DMV relies heavily on its slots and modules.
Slot 1 can take a 64K, 192K or 448K memory module.
Slot 7 can take a CPU module (8086 or 68008) or the diagnostics module. There is a slot 7a on the rear side of some mainboards that can take the internal 8086 module.
Slots 2-6 can take the various expansion modules (Centronics, Serial, RTC, Mouse, Harddisk). On some machines there is a slot 3a on the rear side that accepts the internal harddisk adapter.

A few pages back I posted these files that could come in handy now the DMV is booting.

Originally Posted By rfka01
Sometimes small wonders happen ... I was given the DMV diagnostic module by a guy who used to work for NCR ... he has already ditched the module case, but miraculously kept the PCB.

This archive contains the dumps of the two EPROMS.

DMV Diagnostics module

[...]

NCR DMV pictures

[...]

I've prepared two files that could, once they're filled with actual code, reside in emu/bus/dmv ... one is dmvbus.c, the other is dmvdiag.c, both contained in the above archive. At the moment they only contain ASCII graphics of the bus connector resp. the PCB layout of the diagnostics module.

Also included is the PDF about the diagnostics module from the documentation and a picture of the PCB.



Again, Sandro, thanks a lot for your work.

Robert


NCR DMV- DEC Rainbow- Siemens PCD- ITT 3030-Oly People- Acorn A5000- Olivetti M20
Re: Requirements? [Re: rfka01] #94923 07/03/14 09:00 PM
Joined: Jan 2012
Posts: 806
C
crazyc Offline
Senior Member
Offline
Senior Member
C
Joined: Jan 2012
Posts: 806
Originally Posted By rfka01

Althought the DMV now boots CP/M, the error message with no disk inserted as shown in the before last post persists. The message should simply read "Disk A: not ready (CR)"


That error just means the drive isn't ready so I don't know why it wouldn't just display the "not ready" error. Possibly the ready line isn't supposed connected to the controller.

Re: Requirements? [Re: rfka01] #94924 07/03/14 09:12 PM
Joined: Jan 2012
Posts: 1,014
rfka01 Offline OP
Very Senior Member
OP Offline
Very Senior Member
Joined: Jan 2012
Posts: 1,014
The system technical manual "Hardware" has schematics starting from page A143.

https://dl.dropboxusercontent.com/u/55419307/NCR%20DMV%20System%20Technical%20Manuals.zip

Robert


NCR DMV- DEC Rainbow- Siemens PCD- ITT 3030-Oly People- Acorn A5000- Olivetti M20
Re: Requirements? [Re: rfka01] #95018 07/10/14 02:39 PM
Joined: Jan 2012
Posts: 1,014
rfka01 Offline OP
Very Senior Member
OP Offline
Very Senior Member
Joined: Jan 2012
Posts: 1,014
I was looking through the MESS drivers to find one that uses the same graphics chip (the NEC µPD7220) as the NCR DMV and already has the UPD7220_DISPLAY_PIXELS_MEMBER entry populated.

The Epson QX10 driver fits that category, and it seems to use a similar model to differentiate between its monochrome and colour graphics adapter (1 colour plane vs. 3 colour planes, on the DMV 32KB vs. 96KB of graphics memory).

Unfortunately the QX10 driver still seems to have some issues as the one disk image that boots into a graphics mode automatically (the keyboard's dead too) has the graphics sort of backwards.



The disk image in question is mathprof from Don Maslin's disk archive and can be found here http://fjkraan.home.xs4all.nl/comp/qx10/disklibrary.html

The missing graphics mode prevents a number of software items from running on the DMV driver, such as the DMV graphics demo that can be seen here http://www.youtube.com/watch?v=7Q49hD1gci8

The program should be demo5.com that can be found here https://dl.dropboxusercontent.com/u/55419307/80NCRGRF.TD0

Robert


NCR DMV- DEC Rainbow- Siemens PCD- ITT 3030-Oly People- Acorn A5000- Olivetti M20
Re: Requirements? [Re: rfka01] #95019 07/10/14 02:47 PM
Joined: Mar 2001
Posts: 16,371
R
R. Belmont Online Content
Very Senior Member
Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 16,371
The individual character cells are flipped; that should be fairly easy to fix.

Re: Requirements? [Re: R. Belmont] #95020 07/10/14 02:52 PM
Joined: Jan 2012
Posts: 1,014
rfka01 Offline OP
Very Senior Member
OP Offline
Very Senior Member
Joined: Jan 2012
Posts: 1,014
The 7220 has a text only and a "mixed mode" for graphics and text ... I think that's the one used here. The mathprof demo start screen is quite long with jumbled graphics, so it's a good test point smile


NCR DMV- DEC Rainbow- Siemens PCD- ITT 3030-Oly People- Acorn A5000- Olivetti M20
Re: Requirements? [Re: rfka01] #95039 07/11/14 09:05 PM
Joined: Jan 2012
Posts: 1,014
rfka01 Offline OP
Very Senior Member
OP Offline
Very Senior Member
Joined: Jan 2012
Posts: 1,014
I've updated the "NCR Diagnostics Module" archive from a few posts up with more info on the Bus(es).

Slot 1 (memory modules) has a different pinout, but the same physical connector as the expansion module slots.
Slots 7 and 7a (CPU and Diagnostics modules) carry additional signals to slots 2-6

Robert


NCR DMV- DEC Rainbow- Siemens PCD- ITT 3030-Oly People- Acorn A5000- Olivetti M20
Re: Requirements? [Re: rfka01] #95139 07/17/14 03:11 PM
Joined: Apr 2012
Posts: 188
B
Bavarese Offline
Senior Member
Offline
Senior Member
B
Joined: Apr 2012
Posts: 188
I have an idea why the 8251 does not pass the BIOS check on a Rainbow-100

The startup code uses an internal loopback to check the communication, printer and keyboard ports (all serial) for framing errors.

Bit 4 and bit 5 in 8088 register 0A (diagnostic write) are used in the process.

This is done in a way that the output of one port is connected to another when bit 5 is set.

We neither have COMM, PRINTER, nor loopback connected to anything. So the Rainbow startup code literally falls apart (as tests are incremental; COM -> PRN -> KBD -> FLOPPY ...)

Bit 4 uses a similar concept to validate the video and floppy controller signals with the help of a printer port.

Info pieces are from chapter 2.1.7.2 and 2.1.7.3 of AA-V523A-TV (PDF March 83).

Code:
WRITE8_MEMBER(rainbow_state::diagnostic_w) // 8088 (port 0A WRITTEN). Fig.4-28 + table 4-15
...
	// * BIT 4: DIAG LOOPBACK (0 at power-up; 1 directs RX50 and DC12 output to printer port)

	/* 2.1.7.3 DIAGNOSTIC LOOPBACK Maintenance Bit - The DIAGNOSTIC LOOPBACK bit is a
	    maintenance bit that is cleared on power - up.This bit, when set to 1,
		allows the floppy data separator and the serial video output to be tested
		through the use of the printer port. The following table shows how signals are routed.
		
		DIAGNOSTIC LOOPBACK = 0		DIAGNOSTIC LOOPBACK = 1		SIGNAL INPUT
		SIGNAL SOURCE				SIGNAL SOURCE		TO
		FROM					FROM				
		PRT RDATA(J2)				VIDEO OUT		PRT RXD(7201)
		PRT RXTXC				500 KHZ			PRT RXTXC(7201)	
		MASTER CLK				250 KHZ			VIDEO CLK(DCO11)
		FLOPPY RAW DATA				PRT TXD(7201)		FLOPPY DATA SEPARATOR

		During Diagnostic Loopback, the - TEST input of the 8088 is connected to the
		interrupt output of the MPSC.Thus, using the 8088's WAIT instruction in a
		polled I / O loop, the diagnostic firmware will be able to keep up with the
		500 Kb data rate on the MPSC.
    */
	if (data & 16)
	{
		printf("\nWARNING: UNEMULATED DIAG LOOPBACK (directs RX50 and DC12 output to printer port) ****");
	}

	if (data & 32)
	{
		/* BIT 5: PORT LOOPBACK (1 enables loopback for COMM, PRINTER, KEYBOARD ports)
		2.1.7.2. of AA-V523A-TV (PDF Mar83) says how the signals are routed:
		port_loopback_0  |  port_loopback_1   SIGNAL INPUT TO
		COMM RCV DATA.......COMM TXD..........COMM_RXD
		PRT  RCV DATA.......KBD TXD...........PRT RDATA
		KBD  RCV DATA.......PRT TXD...........KBD RXD
		*/
		printf("\nWARNING: UNEMULATED PORT LOOPBACK (COMM, PRINTER, KEYBOARD ports) ****");
	}


I could use some help here ;-)

-----
Newest disassemblies of low and high ROM

23-022e5-00.bin
23-020e5-00.bin

https://dl.dropboxusercontent.com/u/37819653/2014_07_Rainbow_ROM_DISASSEMBLED.7z

Last edited by Bavarese; 07/17/14 03:26 PM.
Re: Requirements? [Re: rfka01] #95140 07/17/14 03:15 PM
Joined: Mar 2001
Posts: 16,371
R
R. Belmont Online Content
Very Senior Member
Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 16,371
Ahh, that's interesting, and it could definitely help understand why we sync the bitstream correctly and then lose it later. I'll try and set that up later today.

Page 20 of 47 1 2 18 19 20 21 22 46 47

Who's Online Now
4 registered members (Fake Shemp, Carbon, R. Belmont, 1 invisible), 145 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,710
Posts114,489
Members4,869
Most Online510
Aug 26th, 2019
Powered by UBB.threads™ PHP Forum Software 7.7.3