* RQDX3 Emulator - Not successful :-( @ 2001-11-07 14:39 sword7 2001-11-07 16:15 ` Kevin Handy 0 siblings, 1 reply; 39+ messages in thread From: sword7 @ 2001-11-07 14:39 UTC (permalink / raw) Hello folks: I struggle to get my RQDX3 emulator working with real OpenVMS operating system. I sucessfully loaded and run OpenVMS because VMB and SYSBOOT just uses three simple MSCP commands - Set Controller Char. Command, Online Command, and Read Command. It uses poll register to process commands to complete. VMB successfully loaded and ran SYSBOOT. SYSBOOT successfully loaded some image files and started OpenVMS execution by enter EXE$INIT routine. OpenVMS loaded some additional image files like process management, security, etc. - Successful but... OpenVMS successfully completed the RQDX3 initialization with using interrupts. Each step, RQDX3 did send an interrupt to VAX to wake up OpenVMS to process next step. I ended up some problems with step 4 initialization. OpenVMS wants a last fail message packet by set LF bit in step 4 initialization. My MQDX manual said that a last fail message packet is sent when controller error occurs or a LF bit set in step 4 initialization. That's mean OpenVMS still am waiting for a last fail message to complete initialization. I tried that. OpenVMS received a last fail message but tossed it away without process any in that. Then OpenVMS went into sleep for some time before it started to send first MSCP command - Set Controller Char. Command. It received results from my RQDX3 emulator and processed it successfully. However, it did not issue ONLINE or GET UNIT STATUS, etc commands to get unit information. Instead it went back to sleep until timeout occured. Due to lack of MSCP specifications, it is much difficult to develop the RQDX3 emulator for my VAX emulator. Also, I do not have diagnostics to test RQDX3 emulator like HCORE/KLAD tests. :-( Does anyone have diagnostics for VAX to test MSCP devices, etc? Debug Log Step Summary ---------------------- Prints "OpenVMS (tm) ...." welcome message. Start re-initialization on RQDX3 emulator by write 0 to IP. Received 054000 from SA (Step #1) Send 122377 to SA. (Step #1) Response - 16 slots, Commands - 16 slots, Vector = 774. IE bit set. Received an interrupt from RQDX3 Received 010244 from SA (Step #2) Send 142120 to SA (Step #2) PI - No, Low Ringbase - C450 Received an interrupt from RQDX3 Received 020377 from SA (Step #3) Vector = 774. Send 000003 to SA PP - No. High Ringbase - 0003 (Ringbase Address is 3C450) Received an interrupt from RQDX3 Received 040463 from SA (Step #4) Send 020003 to SA GO, LF, and Burst 0 set up but '2' - Unknown Received an interrupt from RQDX3 Received 000000 from SA. (Ready) Process '040463' as model 19, rev 3. Labels RQDX3 as 'SABKUP$PUA:'. Check any response results from RQDX3 - No messages. Went to sleep for a while... Send SCCC command to RQDX3 Received results of SCCC command from RQDX3. Received an interrupt. Check both descriptors and found two packets (one - command and one - response) were completed. Processed results but do nothing for additional commands, etc. Went to sleep until timeout occured. Timeout set off, cause re-initialization back to step #1. :-( Thank you! -- Tim Stark -- Timothy Stark <>< Inet: sword7@speakeasy.org -------------------------------------------------------------------------- "For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. Amen." -- John 3:16 (King James Version Bible) ^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: RQDX3 Emulator - Not successful :-( 2001-11-07 14:39 RQDX3 Emulator - Not successful :-( sword7 @ 2001-11-07 16:15 ` Kevin Handy 2001-11-07 18:31 ` sword7 0 siblings, 1 reply; 39+ messages in thread From: Kevin Handy @ 2001-11-07 16:15 UTC (permalink / raw) Is the source available? Should have enough intrested people here to play with it. Anyone have VMS source for the MSCP drivers? Source is available for NetBSD Vax, and I think you can get an ISO image of it at ftp://ftp.iastate.edu/pub/NetBSD/iso-local/README.html It's not VMS, but having source to the drivers might be helpful in tracing through what is happening. Has anyone looked into these documents? Are they available or have they been puled? :Take a look at the price file, where you can find QP905-GZ, "UDA50 PROG V1.0 :DOC KIT-ARCHI", $74, and QP906-GZ, "DSA CONTROLLERS V1.0 DOC KIT", $107. Both :of these are discontinued parts, but that is due to a lack of interest :since no DEC DSA controllers have been manufactured for many years now. :When they were available, anyone could order them - I have a set somewhere. sword7@speakeasy.org wrote: > > Hello folks: > > I struggle to get my RQDX3 emulator working with real OpenVMS operating > system. I sucessfully loaded and run OpenVMS because VMB and SYSBOOT > just uses three simple MSCP commands - Set Controller Char. Command, > Online Command, and Read Command. It uses poll register to process > commands to complete. VMB successfully loaded and ran SYSBOOT. > SYSBOOT successfully loaded some image files and started OpenVMS > execution by enter EXE$INIT routine. OpenVMS loaded some additional > image files like process management, security, etc. - Successful but... > > OpenVMS successfully completed the RQDX3 initialization with using > interrupts. Each step, RQDX3 did send an interrupt to VAX to wake > up OpenVMS to process next step. I ended up some problems with > step 4 initialization. OpenVMS wants a last fail message packet > by set LF bit in step 4 initialization. My MQDX manual said that > a last fail message packet is sent when controller error occurs or > a LF bit set in step 4 initialization. That's mean OpenVMS still > am waiting for a last fail message to complete initialization. > I tried that. OpenVMS received a last fail message but tossed it away > without process any in that. Then OpenVMS went into sleep for some time > before it started to send first MSCP command - Set Controller > Char. Command. It received results from my RQDX3 emulator > and processed it successfully. However, it did not issue ONLINE or GET > UNIT STATUS, etc commands to get unit information. Instead it > went back to sleep until timeout occured. > > Due to lack of MSCP specifications, it is much difficult to develop > the RQDX3 emulator for my VAX emulator. Also, I do not have diagnostics > to test RQDX3 emulator like HCORE/KLAD tests. :-( Does anyone have > diagnostics for VAX to test MSCP devices, etc? > > Debug Log Step Summary > ---------------------- > > Prints "OpenVMS (tm) ...." welcome message. > > Start re-initialization on RQDX3 emulator by write 0 to IP. > Received 054000 from SA (Step #1) > Send 122377 to SA. (Step #1) > Response - 16 slots, Commands - 16 slots, Vector = 774. IE bit set. > > Received an interrupt from RQDX3 > Received 010244 from SA (Step #2) > Send 142120 to SA (Step #2) > PI - No, Low Ringbase - C450 > > Received an interrupt from RQDX3 > Received 020377 from SA (Step #3) > Vector = 774. > Send 000003 to SA > PP - No. High Ringbase - 0003 > (Ringbase Address is 3C450) > > Received an interrupt from RQDX3 > Received 040463 from SA (Step #4) > Send 020003 to SA > GO, LF, and Burst 0 set up but '2' - Unknown > > Received an interrupt from RQDX3 > Received 000000 from SA. (Ready) > > Process '040463' as model 19, rev 3. > Labels RQDX3 as 'SABKUP$PUA:'. > Check any response results from RQDX3 - No messages. > Went to sleep for a while... > > Send SCCC command to RQDX3 > Received results of SCCC command from RQDX3. > Received an interrupt. > Check both descriptors and found two packets (one - command and one - > response) were completed. > Processed results but do nothing for additional commands, etc. > Went to sleep until timeout occured. > Timeout set off, cause re-initialization back to step #1. :-( > > Thank you! > > -- Tim Stark > > -- > Timothy Stark <>< Inet: sword7@speakeasy.org > -------------------------------------------------------------------------- > "For God so loved the world, that he gave his only begotten Son, that > whosoever believeth in him should not perish, but have everlasting life. > Amen." -- John 3:16 (King James Version Bible) ^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: RQDX3 Emulator - Not successful :-( 2001-11-07 16:15 ` Kevin Handy @ 2001-11-07 18:31 ` sword7 2001-11-07 18:48 ` Al Kossow ` (2 more replies) 0 siblings, 3 replies; 39+ messages in thread From: sword7 @ 2001-11-07 18:31 UTC (permalink / raw) In alt.sys.pdp10 Kevin Handy <kth@srv.net> wrote: > Is the source available? Should have enough intrested people here > to play with it. Anyone have VMS source for the MSCP drivers? > Source is available for NetBSD Vax, and I think you can get an > ISO image of it at > ftp://ftp.iastate.edu/pub/NetBSD/iso-local/README.html > It's not VMS, but having source to the drivers might be helpful in > tracing through what is happening. Well, NetBSD sources is very different from OpenVMS PUDRIVER because PUDRIVER is far more complex and more senstive than NetBSD does. I did followed NetBSD sources by implemented MSCP emulation. NetBSD does not request a last fail packet. OpenVMS want it during step #4. My MQDX manual mentions the last fail packet but no MSCP header information (Virtual Circuit ID, Message Type, and Credits). > Has anyone looked into these documents? Are they available or have > they been puled? > :Take a look at the price file, where you can find QP905-GZ, "UDA50 PROG > V1.0 > :DOC KIT-ARCHI", $74, and QP906-GZ, "DSA CONTROLLERS V1.0 DOC KIT", > $107. Both > :of these are discontinued parts, but that is due to a lack of interest > :since no DEC DSA controllers have been manufactured for many years now. > :When they were available, anyone could order them - I have a set > somewhere. I still am looking for them but no materials are available. :-( Alternatively I would work on TI-99 and PDP-11 front end for KL10. -- Tim Stark -- Timothy Stark <>< Inet: sword7@speakeasy.org -------------------------------------------------------------------------- "For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. Amen." -- John 3:16 (King James Version Bible) ^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: RQDX3 Emulator - Not successful :-( 2001-11-07 18:31 ` sword7 @ 2001-11-07 18:48 ` Al Kossow 2001-11-08 2:47 ` PDP-11/40 Processor Reference Manual sword7 2001-11-07 20:45 ` RQDX3 Emulator - Not successful :-( Kevin Handy 2001-11-08 17:25 ` Bob Supnik 2 siblings, 1 reply; 39+ messages in thread From: Al Kossow @ 2001-11-07 18:48 UTC (permalink / raw) From article <tuivg37ks85827@corp.supernews.com>, by sword7@speakeasy.org: > > Alternatively I would work on TI-99 and PDP-11 front end for KL10. ^ ??? I assume you mean the TI 990 minicomputer? You may want to contact Raphael Nabet <pytheas@club-internet.fr> before doing too much work on that. ^ permalink raw reply [flat|nested] 39+ messages in thread
* PDP-11/40 Processor Reference Manual 2001-11-07 18:48 ` Al Kossow @ 2001-11-08 2:47 ` sword7 2001-11-15 10:02 ` Wilber Williams 0 siblings, 1 reply; 39+ messages in thread From: sword7 @ 2001-11-08 2:47 UTC (permalink / raw) In alt.sys.pdp10 Al Kossow <aek@spies.com> wrote: > I assume you mean the TI 990 minicomputer? > You may want to contact Raphael Nabet <pytheas@club-internet.fr> > before doing too much work on that. Ok, I will contact Raphael to find out but I do not have DX10 operating system for TI-990 minicomputer. I mean TI-99/4A and Geneve emulator. I know TMS9900 assembly language so well. Also, does anyone have processor reference manual about PDP-11/40 for KL10 processor as front-end? I already have copy of RSX20F diskettes for KL10's front end. Thank you! -- Tim Stark -- Timothy Stark <>< Inet: sword7@speakeasy.org -------------------------------------------------------------------------- "For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. Amen." -- John 3:16 (King James Version Bible) ^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: PDP-11/40 Processor Reference Manual 2001-11-08 2:47 ` PDP-11/40 Processor Reference Manual sword7 @ 2001-11-15 10:02 ` Wilber Williams 2001-11-15 13:39 ` sword7 0 siblings, 1 reply; 39+ messages in thread From: Wilber Williams @ 2001-11-15 10:02 UTC (permalink / raw) Tim, I have 11/40 processor Manuals - I can scan one in on the weekend - but not specifically for the KL Front-End. Is that any help? (I have a real KL front-end as well as 11/40s too!) Wilber sword7@speakeasy.org wrote: > > In alt.sys.pdp10 Al Kossow <aek@spies.com> wrote: > > I assume you mean the TI 990 minicomputer? > > > You may want to contact Raphael Nabet <pytheas@club-internet.fr> > > before doing too much work on that. > > Ok, I will contact Raphael to find out but I do not have DX10 operating > system for TI-990 minicomputer. I mean TI-99/4A and Geneve emulator. I > know TMS9900 assembly language so well. > > Also, does anyone have processor reference manual about PDP-11/40 for > KL10 processor as front-end? I already have copy of RSX20F diskettes for > KL10's front end. > > Thank you! > > -- Tim Stark > > -- > Timothy Stark <>< Inet: sword7@speakeasy.org > -------------------------------------------------------------------------- > "For God so loved the world, that he gave his only begotten Son, that > whosoever believeth in him should not perish, but have everlasting life. > Amen." -- John 3:16 (King James Version Bible) ^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: PDP-11/40 Processor Reference Manual 2001-11-15 10:02 ` Wilber Williams @ 2001-11-15 13:39 ` sword7 0 siblings, 0 replies; 39+ messages in thread From: sword7 @ 2001-11-15 13:39 UTC (permalink / raw) In alt.sys.pdp10 Wilber Williams <W.Williams@its.uq.edu.au> wrote: > Tim, > I have 11/40 processor Manuals - I can scan one in on the weekend - but > not specifically for the KL Front-End. Is that any help? (I have a real > KL front-end as well as 11/40s too!) > Wilber Wilber: Good! Yes, that is help for front-end. Also I have a copy of DTE20 manual that provides specs for programming for both KL10 and PDP-11/40. Thank you! -- Tim Stark -- Timothy Stark <>< Inet: sword7@speakeasy.org -------------------------------------------------------------------------- "For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. Amen." -- John 3:16 (King James Version Bible) ^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: RQDX3 Emulator - Not successful :-( 2001-11-07 18:31 ` sword7 2001-11-07 18:48 ` Al Kossow @ 2001-11-07 20:45 ` Kevin Handy 2001-11-12 3:28 ` sword7 2001-11-08 17:25 ` Bob Supnik 2 siblings, 1 reply; 39+ messages in thread From: Kevin Handy @ 2001-11-07 20:45 UTC (permalink / raw) sword7@speakeasy.org wrote: > > Well, NetBSD sources is very different from OpenVMS PUDRIVER because > PUDRIVER is far more complex and more senstive than NetBSD does. I did > followed NetBSD sources by implemented MSCP emulation. NetBSD does not > request a last fail packet. OpenVMS want it during step #4. My MQDX > manual mentions the last fail packet but no MSCP header information > (Virtual Circuit ID, Message Type, and Credits). I was thinking more in terms of getting as many bugs out of it as possible by making it work with NetBSD (as a stepping stone), and once it works there go back to VMS. I don't know if the NetBSD drivers are any simpler than VMS, but they might point out some issues. Is there a current verson of your code available to play with? Maybe additional eyes digging into the code would help. ^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: RQDX3 Emulator - Not successful :-( 2001-11-07 20:45 ` RQDX3 Emulator - Not successful :-( Kevin Handy @ 2001-11-12 3:28 ` sword7 2001-11-12 19:41 ` Eric Smith ` (2 more replies) 0 siblings, 3 replies; 39+ messages in thread From: sword7 @ 2001-11-12 3:28 UTC (permalink / raw) In alt.sys.pdp10 Kevin Handy <kth@srv.net> wrote: > Is there a current verson of your code available to play with? > Maybe additional eyes digging into the code would help. Yes, I put ts10-011111.tgz in /pub/ts10/develop directory. Let you take a look into my coding about MSCP problems. This is not finished yet. I was unable to resolve the problems with MSCP emulation because OpenVMS stalled after printed welcome message. My ftp site is ftp://ftp.firesword7.net Before run the VAX emulator, insert your OpenVMS installation CD into your CD/DVD drive. That is for Linux x86 or FreeBSD platform. You need a copy of KA630 ROM to run. I looked into its content but found no copyright notice. Is that ok put it on ftp site? To run VAX emulator: $ ./ts10 -f ka630.cfg <Device creation information> <List devices> TS10> run Open another terminal: $ telnet localhost 5000 Welcome to VAX emulator <You should see KA630 testing in progress then '>>>' prompt> >>> b <SYSBOOT messages and OpenVMS welcome message....> -- Tim Stark -- Timothy Stark <>< Inet: sword7@speakeasy.org -------------------------------------------------------------------------- "For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. Amen." -- John 3:16 (King James Version Bible) ^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: RQDX3 Emulator - Not successful :-( 2001-11-12 3:28 ` sword7 @ 2001-11-12 19:41 ` Eric Smith 2001-11-13 1:24 ` sword7 2001-11-12 20:54 ` Kevin Handy 2001-11-13 14:06 ` Brian Wheeler 2 siblings, 1 reply; 39+ messages in thread From: Eric Smith @ 2001-11-12 19:41 UTC (permalink / raw) sword7@speakeasy.org writes: > You > need a copy of KA630 ROM to run. I looked into its content but found > no copyright notice. Is that ok put it on ftp site? The KA630 firmware was released before the US became signatory to the Berne copyright convention. Thus if there is no copyright notice on or contained within the EPROMs, it does not have a US copyright.' ^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: RQDX3 Emulator - Not successful :-( 2001-11-12 19:41 ` Eric Smith @ 2001-11-13 1:24 ` sword7 0 siblings, 0 replies; 39+ messages in thread From: sword7 @ 2001-11-13 1:24 UTC (permalink / raw) In alt.sys.pdp10 Eric Smith <eric-no-spam-for-me@brouhaha.com> wrote: > The KA630 firmware was released before the US became signatory to the > Berne copyright convention. Thus if there is no copyright notice on > or contained within the EPROMs, it does not have a US copyright.' Hmmm. Thank you for let me know. I will contact him first before I put it on my ftp site. -- Tim Stark -- Timothy Stark <>< Inet: sword7@speakeasy.org -------------------------------------------------------------------------- "For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. Amen." -- John 3:16 (King James Version Bible) ^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: RQDX3 Emulator - Not successful :-( 2001-11-12 3:28 ` sword7 2001-11-12 19:41 ` Eric Smith @ 2001-11-12 20:54 ` Kevin Handy 2001-11-12 23:36 ` a.carlini 2001-11-13 14:06 ` Brian Wheeler 2 siblings, 1 reply; 39+ messages in thread From: Kevin Handy @ 2001-11-12 20:54 UTC (permalink / raw) sword7@speakeasy.org wrote: > > In alt.sys.pdp10 Kevin Handy <kth@srv.net> wrote: > > Is there a current verson of your code available to play with? > > Maybe additional eyes digging into the code would help. > > Yes, I put ts10-011111.tgz in /pub/ts10/develop directory. Let you take > a look into my coding about MSCP problems. This is not finished yet. I > was unable to resolve the problems with MSCP emulation because OpenVMS > stalled after printed welcome message. My ftp site is > ftp://ftp.firesword7.net Grabbed, and compiled fine. Now need to come up with a ROM image. > Before run the VAX emulator, insert your OpenVMS installation CD into > your CD/DVD drive. That is for Linux x86 or FreeBSD platform. You > need a copy of KA630 ROM to run. I looked into its content but found > no copyright notice. Is that ok put it on ftp site? Just one data point in your favor: Bob Supnik has included a copy of the ROM for the VAX he is emulating. You may want to contact him to see if he knows something about the copyright you don't. Is there a way of generating this ROM file having a working MicroVaxII? There should be some way to dump the rom contents from the '>>>' prompt and then generating a fle from that. Anyone have the correct procedures? > To run VAX emulator: > > $ ./ts10 -f ka630.cfg > <Device creation information> > <List devices> > TS10> run > > Open another terminal: > > $ telnet localhost 5000 > Welcome to VAX emulator > <You should see KA630 testing in progress then '>>>' prompt> > >>> b > <SYSBOOT messages and OpenVMS welcome message....> ^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: RQDX3 Emulator - Not successful :-( 2001-11-12 20:54 ` Kevin Handy @ 2001-11-12 23:36 ` a.carlini 2001-11-13 0:54 ` Kevin Handy 0 siblings, 1 reply; 39+ messages in thread From: a.carlini @ 2001-11-12 23:36 UTC (permalink / raw) Kevin Handy wrote: > Is there a way of generating this ROM file having a working MicroVaxII? > There should be some way to dump the rom contents from the '>>>' > prompt and then generating a fle from that. Anyone have the > correct procedures? The easy way is to take the EPROM, drop it in a programmer and have it dump the contents. From the console you could try >>> E/P/N:? 20040000 where ? is the size of the chunk you are dumping. Except that I just checked and it looks like the MicroVAX II console does not know about the /N qualifier. OTOH the DEPOSIT command *does* know about /N so maybe the manual just forgot to mention that it works with EXAMINE? Failing that you can try the BINARY UNLOAD command: >>> X 20040000 count <RETURN> you need to set bit 31 of the count otherwise it is a BINARY LOAD command! Allegedly designed for use by automated systems - I've never tried it myself! If you have your favourite OS running, just map the EPROM and dump as you prefer (I did this years ago using OpenVMS on a MicroVAX 3900 before I had access to an EPROM burner). Antonio -- --------------- Antonio Carlini arcarlini@iee.org ^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: RQDX3 Emulator - Not successful :-( 2001-11-12 23:36 ` a.carlini @ 2001-11-13 0:54 ` Kevin Handy 2001-11-13 1:22 ` sword7 2001-11-13 13:59 ` Douglas H. Quebbeman 0 siblings, 2 replies; 39+ messages in thread From: Kevin Handy @ 2001-11-13 0:54 UTC (permalink / raw) "a.carlini" wrote: > > Kevin Handy wrote: > > Is there a way of generating this ROM file having a working MicroVaxII? > > There should be some way to dump the rom contents from the '>>>' > > prompt and then generating a fle from that. Anyone have the > > correct procedures? > > The easy way is to take the EPROM, drop it > in a programmer and have it dump the contents. Wish I had one that worked, and could handle 27256's. Don't need one that often though. > From the console you could try > >>> E/P/N:? 20040000 It seems to handle the /N: business, but how big is the ROM? What N should I supply? It looks like it uses 2 27256 chips for the rom. ...time passes... Finished scanning memory using a huge N, and it looks like it dies after location 2005FFFC with an error "?1A ILL ADR", so looks like N should probably be 20000. I'll run it a second time just to be safe, then try to convert it into a binary file. It lists as a "KA630-A.V1.3" in the startup screen. Guess I'll have to dump the rom on the UV2000 I have too, just in case it may become useful. > where ? is the size of the chunk you are > dumping. > > Except that I just checked and it looks > like the MicroVAX II console does not > know about the /N qualifier. It works anyway. Must be a bug, not a feature. > OTOH the DEPOSIT command *does* know about > /N so maybe the manual just forgot > to mention that it works with EXAMINE? > > Failing that you can try the BINARY UNLOAD > command: > >>> X 20040000 count <RETURN> > > you need to set bit 31 of the count > otherwise it is a BINARY LOAD command! > Allegedly designed for use by > automated systems - I've never tried it > myself! > > If you have your favourite OS running, > just map the EPROM and dump as you > prefer (I did this years ago using > OpenVMS on a MicroVAX 3900 before > I had access to an EPROM burner). ^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: RQDX3 Emulator - Not successful :-( 2001-11-13 0:54 ` Kevin Handy @ 2001-11-13 1:22 ` sword7 2001-11-13 1:36 ` Kevin Handy ` (2 more replies) 2001-11-13 13:59 ` Douglas H. Quebbeman 1 sibling, 3 replies; 39+ messages in thread From: sword7 @ 2001-11-13 1:22 UTC (permalink / raw) In alt.sys.pdp10 Kevin Handy <kth@srv.net> wrote: > Guess I'll have to dump the rom on the UV2000 I have too, just in > case it may become useful. Hmmm. Does UV2000 use SCSI interface for disks, etc? I have a copy of UV2000 tech manual for programming. If so, I can use TS10 as pass-thru SCSI interface because OpenVMS can see my real disks, tapes, etc in my own PC. I have a copy of SCSI specs somewhere. Thank you. -- Tim Stark -- Timothy Stark <>< Inet: sword7@speakeasy.org -------------------------------------------------------------------------- "For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. Amen." -- John 3:16 (King James Version Bible) ^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: RQDX3 Emulator - Not successful :-( 2001-11-13 1:22 ` sword7 @ 2001-11-13 1:36 ` Kevin Handy 2001-11-14 1:15 ` a.carlini 2001-11-13 3:24 ` Zane H. Healy 2001-11-13 16:38 ` Kevin Handy 2 siblings, 1 reply; 39+ messages in thread From: Kevin Handy @ 2001-11-13 1:36 UTC (permalink / raw) sword7@speakeasy.org wrote: > > In alt.sys.pdp10 Kevin Handy <kth@srv.net> wrote: > > Guess I'll have to dump the rom on the UV2000 I have too, just in > > case it may become useful. > > Hmmm. Does UV2000 use SCSI interface for disks, etc? I have a copy > of UV2000 tech manual for programming. If so, I can use TS10 as > pass-thru SCSI interface because OpenVMS can see my real disks, tapes, > etc in my own PC. I have a copy of SCSI specs somewhere. I don't think it used SCSI for disk, because it used the same RD5x disks that the RQDX3 controllers used. It did have a (sorta) SCSI tape drive though (TK50Z). From what I've heard, it's a weird beast but someone got SCSI disk to work on it. ^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: RQDX3 Emulator - Not successful :-( 2001-11-13 1:36 ` Kevin Handy @ 2001-11-14 1:15 ` a.carlini 0 siblings, 0 replies; 39+ messages in thread From: a.carlini @ 2001-11-14 1:15 UTC (permalink / raw) Kevin Handy wrote: > I don't think it used SCSI for disk, because it used the same > RD5x disks that the RQDX3 controllers used. It did have a (sorta) > SCSI tape drive though (TK50Z). From what I've heard, it's a weird > beast but someone got SCSI disk to work on it. Yes - it has a SCSI chip in it but it was only ever "sort-of-SCSI". Wolfgang Moeller produced some ROM patches for it: http://ftp.gwdg.de/pub/vms/ He also has some that fix the 1GB boot disk limit on the VAXstation 3100 series. Antonio -- --------------- Antonio Carlini arcarlini@iee.org ^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: RQDX3 Emulator - Not successful :-( 2001-11-13 1:22 ` sword7 2001-11-13 1:36 ` Kevin Handy @ 2001-11-13 3:24 ` Zane H. Healy 2001-11-13 16:38 ` Kevin Handy 2 siblings, 0 replies; 39+ messages in thread From: Zane H. Healy @ 2001-11-13 3:24 UTC (permalink / raw) In alt.sys.pdp10 sword7@speakeasy.org wrote: > Hmmm. Does UV2000 use SCSI interface for disks, etc? I have a copy > of UV2000 tech manual for programming. If so, I can use TS10 as > pass-thru SCSI interface because OpenVMS can see my real disks, tapes, > etc in my own PC. I have a copy of SCSI specs somewhere. No, BUT.... While the MicroVAX 2000 doesn't use SCSI for disks I believe someone has patched the ROM's so that you can. You might check around on the NetBSD site for this, or do a search on http://groups.google.com Zane ^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: RQDX3 Emulator - Not successful :-( 2001-11-13 1:22 ` sword7 2001-11-13 1:36 ` Kevin Handy 2001-11-13 3:24 ` Zane H. Healy @ 2001-11-13 16:38 ` Kevin Handy 2001-11-13 16:46 ` Brian Wheeler 2001-11-14 1:19 ` a.carlini 2 siblings, 2 replies; 39+ messages in thread From: Kevin Handy @ 2001-11-13 16:38 UTC (permalink / raw) sword7@speakeasy.org wrote: > > In alt.sys.pdp10 Kevin Handy <kth@srv.net> wrote: > > Guess I'll have to dump the rom on the UV2000 I have too, just in > > case it may become useful. > > Hmmm. Does UV2000 use SCSI interface for disks, etc? I have a copy > of UV2000 tech manual for programming. If so, I can use TS10 as > pass-thru SCSI interface because OpenVMS can see my real disks, tapes, > etc in my own PC. I have a copy of SCSI specs somewhere. Are the 3100's interfaces documented better? I have a couple of those too, and they are full SCSI beasts (disk, tape, cdrom). They also support more memory than the MicroVax II would. I think NetBSD supports them, so there is source code about them. ^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: RQDX3 Emulator - Not successful :-( 2001-11-13 16:38 ` Kevin Handy @ 2001-11-13 16:46 ` Brian Wheeler 2001-11-13 18:10 ` sword7 2001-11-14 1:19 ` a.carlini 1 sibling, 1 reply; 39+ messages in thread From: Brian Wheeler @ 2001-11-13 16:46 UTC (permalink / raw) In article <3BF14C6A.3AFC2465@srv.net>, Kevin Handy <kth@srv.net> writes: > sword7@speakeasy.org wrote: >> >> In alt.sys.pdp10 Kevin Handy <kth@srv.net> wrote: >> > Guess I'll have to dump the rom on the UV2000 I have too, just in >> > case it may become useful. >> >> Hmmm. Does UV2000 use SCSI interface for disks, etc? I have a copy >> of UV2000 tech manual for programming. If so, I can use TS10 as >> pass-thru SCSI interface because OpenVMS can see my real disks, tapes, >> etc in my own PC. I have a copy of SCSI specs somewhere. > > Are the 3100's interfaces documented better? I have a couple of > those too, and they are full SCSI beasts (disk, tape, cdrom). > They also support more memory than the MicroVax II would. > I think NetBSD supports them, so there is source code about them. > Speaking of dumping roms....I've got access to a vaxstation 3200 (KA650) if I had rom specs (start address, length), I could dump it as well if it would be helpful. Brian ^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: RQDX3 Emulator - Not successful :-( 2001-11-13 16:46 ` Brian Wheeler @ 2001-11-13 18:10 ` sword7 2001-11-13 18:25 ` Brian Wheeler 0 siblings, 1 reply; 39+ messages in thread From: sword7 @ 2001-11-13 18:10 UTC (permalink / raw) In alt.sys.pdp10 Brian Wheeler <bdwheele@indiana.edu> wrote: > Speaking of dumping roms....I've got access to a vaxstation 3200 (KA650) > if I had rom specs (start address, length), I could dump it as well if it > would be helpful. I already have a copy of KA650 ROM for MicroVAX 3500-3600. Hmmm. VAXstation 3200. I does not think that it is not KA650 but might be KA42 or so. Go ahead to dump it. -- Tim Stark -- Timothy Stark <>< Inet: sword7@speakeasy.org -------------------------------------------------------------------------- "For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. Amen." -- John 3:16 (King James Version Bible) ^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: RQDX3 Emulator - Not successful :-( 2001-11-13 18:10 ` sword7 @ 2001-11-13 18:25 ` Brian Wheeler 2001-11-13 18:44 ` Kevin Handy 0 siblings, 1 reply; 39+ messages in thread From: Brian Wheeler @ 2001-11-13 18:25 UTC (permalink / raw) In article <tv2oga8j3o8m74@corp.supernews.com>, sword7@speakeasy.org writes: > In alt.sys.pdp10 Brian Wheeler <bdwheele@indiana.edu> wrote: >> Speaking of dumping roms....I've got access to a vaxstation 3200 (KA650) >> if I had rom specs (start address, length), I could dump it as well if it >> would be helpful. > > I already have a copy of KA650 ROM for MicroVAX 3500-3600. Hmmm. > VAXstation 3200. I does not think that it is not KA650 but might be > KA42 or so. Go ahead to dump it. > It really is a KA650 :) It looks like the full 256K address range is valid, though there are alot of FFs at the end. Brian > -- Tim Stark > ^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: RQDX3 Emulator - Not successful :-( 2001-11-13 18:25 ` Brian Wheeler @ 2001-11-13 18:44 ` Kevin Handy 2001-11-13 18:53 ` Brian Wheeler 0 siblings, 1 reply; 39+ messages in thread From: Kevin Handy @ 2001-11-13 18:44 UTC (permalink / raw) Brian Wheeler wrote: > > In article <tv2oga8j3o8m74@corp.supernews.com>, > sword7@speakeasy.org writes: > > In alt.sys.pdp10 Brian Wheeler <bdwheele@indiana.edu> wrote: > >> Speaking of dumping roms....I've got access to a vaxstation 3200 (KA650) > >> if I had rom specs (start address, length), I could dump it as well if it > >> would be helpful. > > > > I already have a copy of KA650 ROM for MicroVAX 3500-3600. Hmmm. > > VAXstation 3200. I does not think that it is not KA650 but might be > > KA42 or so. Go ahead to dump it. > > > > It really is a KA650 :) It looks like the full 256K address range is valid, > though there are alot of FFs at the end. If it is like the MicroVax II, it will get an address error when it hits the end of the ROM, so I'd let it go until it gets the error and stops. ^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: RQDX3 Emulator - Not successful :-( 2001-11-13 18:44 ` Kevin Handy @ 2001-11-13 18:53 ` Brian Wheeler 0 siblings, 0 replies; 39+ messages in thread From: Brian Wheeler @ 2001-11-13 18:53 UTC (permalink / raw) In article <3BF16A08.B2B25880@srv.net>, Kevin Handy <kth@srv.net> writes: > Brian Wheeler wrote: >> >> In article <tv2oga8j3o8m74@corp.supernews.com>, >> sword7@speakeasy.org writes: >> > In alt.sys.pdp10 Brian Wheeler <bdwheele@indiana.edu> wrote: >> >> Speaking of dumping roms....I've got access to a vaxstation 3200 (KA650) >> >> if I had rom specs (start address, length), I could dump it as well if it >> >> would be helpful. >> > >> > I already have a copy of KA650 ROM for MicroVAX 3500-3600. Hmmm. >> > VAXstation 3200. I does not think that it is not KA650 but might be >> > KA42 or so. Go ahead to dump it. >> > >> >> It really is a KA650 :) It looks like the full 256K address range is valid, >> though there are alot of FFs at the end. > > If it is like the MicroVax II, it will get an address error when it > hits the end of the ROM, so I'd let it go until it gets the error and > stops. > It ran into the first 16 bytes of the 20080000 range, which is not mapped for the rom, before getting the address error. I cut those out and ended up with a 256K+8 rom image. Brian ^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: RQDX3 Emulator - Not successful :-( 2001-11-13 16:38 ` Kevin Handy 2001-11-13 16:46 ` Brian Wheeler @ 2001-11-14 1:19 ` a.carlini 1 sibling, 0 replies; 39+ messages in thread From: a.carlini @ 2001-11-14 1:19 UTC (permalink / raw) Kevin Handy wrote: > Are the 3100's interfaces documented better? I have a couple of I've *never* seen any official even vaguely technical documentation for the early MicroVAX 3100 series (KA41-x). There must have been some, but I could never find it, even when I needed it to debug WANDD problems! If you ever find any, let me know. Antonio -- --------------- Antonio Carlini arcarlini@iee.org ^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: RQDX3 Emulator - Not successful :-( 2001-11-13 0:54 ` Kevin Handy 2001-11-13 1:22 ` sword7 @ 2001-11-13 13:59 ` Douglas H. Quebbeman 2001-11-14 13:32 ` jmfbahciv 1 sibling, 1 reply; 39+ messages in thread From: Douglas H. Quebbeman @ 2001-11-13 13:59 UTC (permalink / raw) "Kevin Handy" <kth@srv.net> wrote in message news:3BF06F5A.E7D680CD@srv.net... > > Except that I just checked and it looks > > like the MicroVAX II console does not > > know about the /N qualifier. > > It works anyway. Must be a bug, not a feature. Remember... features are just bugs with seniorority... -dq -- Surgically Excise the Pig-Latin from my e-mail address in order to reply... No Tourbots ^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: RQDX3 Emulator - Not successful :-( 2001-11-13 13:59 ` Douglas H. Quebbeman @ 2001-11-14 13:32 ` jmfbahciv 0 siblings, 0 replies; 39+ messages in thread From: jmfbahciv @ 2001-11-14 13:32 UTC (permalink / raw) In article <3bf12749$1_1@news.iglou.com>, "Douglas H. Quebbeman" <dougq@ixnayamspayiglou.com> wrote: >"Kevin Handy" <kth@srv.net> wrote in message >news:3BF06F5A.E7D680CD@srv.net... >> > Except that I just checked and it looks >> > like the MicroVAX II console does not >> > know about the /N qualifier. >> >> It works anyway. Must be a bug, not a feature. > >Remember... features are just bugs with seniorority... > We always considered those as aspects (pronounced asspects). /BAH Subtract a hundred and four for e-mail. ^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: RQDX3 Emulator - Not successful :-( 2001-11-12 3:28 ` sword7 2001-11-12 19:41 ` Eric Smith 2001-11-12 20:54 ` Kevin Handy @ 2001-11-13 14:06 ` Brian Wheeler 2001-11-13 15:46 ` Kevin Handy 2001-11-13 15:50 ` Brian Wheeler 2 siblings, 2 replies; 39+ messages in thread From: Brian Wheeler @ 2001-11-13 14:06 UTC (permalink / raw) In article <tuugf6lc1dij19@corp.supernews.com>, sword7@speakeasy.org writes: > In alt.sys.pdp10 Kevin Handy <kth@srv.net> wrote: >> Is there a current verson of your code available to play with? >> Maybe additional eyes digging into the code would help. > > Yes, I put ts10-011111.tgz in /pub/ts10/develop directory. Let you take > a look into my coding about MSCP problems. This is not finished yet. I > was unable to resolve the problems with MSCP emulation because OpenVMS > stalled after printed welcome message. My ftp site is > ftp://ftp.firesword7.net > > Before run the VAX emulator, insert your OpenVMS installation CD into > your CD/DVD drive. That is for Linux x86 or FreeBSD platform. You > need a copy of KA630 ROM to run. I looked into its content but found > no copyright notice. Is that ok put it on ftp site? > > To run VAX emulator: > > $ ./ts10 -f ka630.cfg > <Device creation information> > <List devices> > TS10> run > > Open another terminal: > > $ telnet localhost 5000 > Welcome to VAX emulator > <You should see KA630 testing in progress then '>>>' prompt> > >>> b > <SYSBOOT messages and OpenVMS welcome message....> > > -- Tim Stark > I did a dump of the system rom (using E/P/N:20000 20040000) and re-assembled it using a quick perl script #!/usr/bin/perl while(<>) { chomp; if(m/P\s+(.{8})\s+(.{8})/) { my($address,$data)=($1,$2); print pack("V",hex($data)); } } which gave me a rom of 130256 bytes. On an x86 machine I ran 'strings' on it and could read lots of the messages (I.E. KA630-A.V1.3, etc). The MD5SUM of the rom is 01b7f1e0370f1047d8d1214bb4a6daba I downloaded the archive and compiled it. when I ran it (as root) here's what I got: TS10 Emulator System v0.8.5 (Late Alpha) Created VAX on VAX0: - VAX-11 Series Emulator v0.7 (Alpha) Created KA630 on CPU0: - KA630 (MicroVAX II) Emulator v0.7 (Alpha) Activating console on TCP port 5000. Created QBA on QBA0: - Q22-Bus Interface for MicroVAX Series v0.5 (Alpha) Created DUA0: (RRD40) on UDA0: Released DUA0: (RRD40) on VAX0: - DEC RRD40 CD-ROM Drive DUA0: file '/dev/cdrom' attached. Error occurs at line 12 Mask ROM = 0100FFFF ROM Image loaded from 00004E11 to 01014E10 File 'ka630.rom' had been loaded. Debug Console had been turned on. Device Type Description ------ ---- ----------- CPU0: KA630 KA630 (MicroVAX II) Emulator v0.7 (Alpha) DUA0: RRD40 DEC RRD40 CD-ROM Drive QBA0: QBA Q22-Bus Interface for MicroVAX Series v0.5 (Alpha) UDA0: MSCP MSCP Device Emulator v0.5 (Alpha) Total 4 devices. TS10> I'm not sure why I get an error on line 12 (which seems to be the attach of DUA0: to /dev/cdrom). /dev/cdrom exists and points to a valid drive. The VMS Hobbyist CD is in the drive. I can do a "strings /dev/cdrom" and get back the Files-11 structure header. Anyway, I type run and telnet to port 5000. Nothing happens...except the debug.log fills up my disk :) Here's a snippit of it: VAX: Halt Action - Reason 6 KA630: (W) CPU Non-Existant Memory (3FFFFFFC) at PC 20040032 KA630: (W) CPU Non-Existant Memory (3FFFFFF8) at PC 20040032 KA630: (W) CPU Non-Existant Memory (3FFFFFF8) at PC 20040032 KA630: (W) CPU Non-Existant Memory (3FFFFFF8) at PC 20040032 KA630: (W) CPU Non-Existant Memory (3FFFFFF8) at PC 20040032 [[[ repeat this line ad infinitum ]]] What did I miss? Thanks! Brian ^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: RQDX3 Emulator - Not successful :-( 2001-11-13 14:06 ` Brian Wheeler @ 2001-11-13 15:46 ` Kevin Handy 2001-11-13 15:50 ` Brian Wheeler 1 sibling, 0 replies; 39+ messages in thread From: Kevin Handy @ 2001-11-13 15:46 UTC (permalink / raw) [-- Attachment #1: Type: text/plain, Size: 2827 bytes --] Brian Wheeler wrote: > I did a dump of the system rom (using E/P/N:20000 20040000) and re-assembled > it using a quick perl script > > #!/usr/bin/perl > You need to write out the starting address and the length before any of the data. > while(<>) { > chomp; > if(m/P\s+(.{8})\s+(.{8})/) { > my($address,$data)=($1,$2); > print pack("V",hex($data)); > } > > } > > which gave me a rom of 130256 bytes. On an x86 machine I ran 'strings' on > it and could read lots of the messages (I.E. KA630-A.V1.3, etc). The MD5SUM > of the rom is 01b7f1e0370f1047d8d1214bb4a6daba > > I downloaded the archive and compiled it. when I ran it (as root) here's > what I got: > > TS10 Emulator System v0.8.5 (Late Alpha) > > Created VAX on VAX0: - VAX-11 Series Emulator v0.7 (Alpha) > Created KA630 on CPU0: - KA630 (MicroVAX II) Emulator v0.7 (Alpha) > Activating console on TCP port 5000. > Created QBA on QBA0: - Q22-Bus Interface for MicroVAX Series v0.5 (Alpha) > Created DUA0: (RRD40) on UDA0: > Released DUA0: (RRD40) on VAX0: - DEC RRD40 CD-ROM Drive > DUA0: file '/dev/cdrom' attached. > Error occurs at line 12 > Mask ROM = 0100FFFF > ROM Image loaded from 00004E11 to 01014E10 You will notice here that the ROM loaded at the wrong address, with the wrong size. When you create your ROM file, you need to write the starting address of the ROM in the first 4 bytes, and it's length in the next 4. > File 'ka630.rom' had been loaded. > Debug Console had been turned on. > > Device Type Description > ------ ---- ----------- > CPU0: KA630 KA630 (MicroVAX II) Emulator v0.7 (Alpha) > DUA0: RRD40 DEC RRD40 CD-ROM Drive > QBA0: QBA Q22-Bus Interface for MicroVAX Series v0.5 (Alpha) > UDA0: MSCP MSCP Device Emulator v0.5 (Alpha) > > Total 4 devices. > > TS10> > > I'm not sure why I get an error on line 12 (which seems to be the attach of > DUA0: to /dev/cdrom). /dev/cdrom exists and points to a valid drive. The > VMS Hobbyist CD is in the drive. I can do a "strings /dev/cdrom" and get back > the Files-11 structure header. > > Anyway, I type run and telnet to port 5000. Nothing happens...except the > debug.log fills up my disk :) > > Here's a snippit of it: > > VAX: Halt Action - Reason 6 > KA630: (W) CPU Non-Existant Memory (3FFFFFFC) at PC 20040032 > KA630: (W) CPU Non-Existant Memory (3FFFFFF8) at PC 20040032 > KA630: (W) CPU Non-Existant Memory (3FFFFFF8) at PC 20040032 > KA630: (W) CPU Non-Existant Memory (3FFFFFF8) at PC 20040032 > KA630: (W) CPU Non-Existant Memory (3FFFFFF8) at PC 20040032 > [[[ repeat this line ad infinitum ]]] > > What did I miss? I'm attaching the program I used to generate a ROM file that did work sucussfully for me. It's fairly short, so I hope I don't get too many complaints about attaching it. [-- Attachment #2: Makerom.c --] [-- Type: text/plain, Size: 1733 bytes --] // // makerom.c // // Convert a E/P/N image into a rom image // // History // // 11/12/2001 - Kevin Handy // Original Version // #include <stdio.h> #include <stdlib.h> // // Main program // int main(int argc, char* argv[]) { FILE *fpin; FILE *fpout; char buffer[128]; unsigned long base = 0; unsigned long last = 0; unsigned long loc; unsigned long code; unsigned long romsize = 0x20000; if (argc != 3) { fprintf(stderr, "makerom <source> <dest>\n"); exit(EXIT_FAILURE); } // fprintf(stderr, "Source: %s, dest %s\n", argv[1], argv[2]); fpin = fopen(argv[1], "r"); if (fpin == 0) { fprintf(stderr, "Unable to open source file '%s'\n", argv[1]); exit(EXIT_FAILURE); } fpout = fopen(argv[2], "w"); if (fpout == 0) { fprintf(stderr, "Unable to open output file '%s'\n", argv[2]); exit(EXIT_FAILURE); } while (fgets(buffer, sizeof(buffer), fpin) != NULL) { if (strncmp(buffer, " P ", 4) == 0) { loc = strtoul(buffer + 4, 0, 16); code = strtoul(buffer + 14, 0, 16); // printf(" P %08lx %08lx\n", loc, code); if (base == 0) { base = loc; last = loc; fputc(base & 0xff, fpout); fputc((base >> 8) & 0xff, fpout); fputc((base >> 16) & 0xff, fpout); fputc((base >> 24) & 0xff, fpout); fputc(romsize & 0xff, fpout); fputc((romsize >> 8) & 0xff, fpout); fputc((romsize >> 16) & 0xff, fpout); fputc((romsize >> 24) & 0xff, fpout); } else { if (last + 4 != loc) { printf("Missing values after %08lx\n", last); } last = loc; } fputc(code & 0xff, fpout); fputc((code >> 8) & 0xff, fpout); fputc((code >> 16) & 0xff, fpout); fputc((code >> 24) & 0xff, fpout); } } fclose(fpin); fclose(fpout); } ^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: RQDX3 Emulator - Not successful :-( 2001-11-13 14:06 ` Brian Wheeler 2001-11-13 15:46 ` Kevin Handy @ 2001-11-13 15:50 ` Brian Wheeler 2001-11-13 16:31 ` Kevin Handy 1 sibling, 1 reply; 39+ messages in thread From: Brian Wheeler @ 2001-11-13 15:50 UTC (permalink / raw) In article <9sr9da$72p$1@jetsam.uits.indiana.edu>, bdwheele@indiana.edu (Brian Wheeler) writes: > In article <tuugf6lc1dij19@corp.supernews.com>, > sword7@speakeasy.org writes: >> In alt.sys.pdp10 Kevin Handy <kth@srv.net> wrote: >>> Is there a current verson of your code available to play with? >>> Maybe additional eyes digging into the code would help. >> >> Yes, I put ts10-011111.tgz in /pub/ts10/develop directory. Let you take >> a look into my coding about MSCP problems. This is not finished yet. I >> was unable to resolve the problems with MSCP emulation because OpenVMS >> stalled after printed welcome message. My ftp site is >> ftp://ftp.firesword7.net >> >> Before run the VAX emulator, insert your OpenVMS installation CD into >> your CD/DVD drive. That is for Linux x86 or FreeBSD platform. You >> need a copy of KA630 ROM to run. I looked into its content but found >> no copyright notice. Is that ok put it on ftp site? >> >> To run VAX emulator: >> >> $ ./ts10 -f ka630.cfg >> <Device creation information> >> <List devices> >> TS10> run >> >> Open another terminal: >> >> $ telnet localhost 5000 >> Welcome to VAX emulator >> <You should see KA630 testing in progress then '>>>' prompt> >> >>> b >> <SYSBOOT messages and OpenVMS welcome message....> >> >> -- Tim Stark >> > > I did a dump of the system rom (using E/P/N:20000 20040000) and re-assembled > it using a quick perl script > > #!/usr/bin/perl > Ah, but it looks like the rom needs a header. So I added these lines: print pack("V",0x20040000); print pack("V",0x20000); > while(<>) { > chomp; > if(m/P\s+(.{8})\s+(.{8})/) { > my($address,$data)=($1,$2); > print pack("V",hex($data)); > } > > } > > > which gave me a rom of 130256 bytes. On an x86 machine I ran 'strings' on > it and could read lots of the messages (I.E. KA630-A.V1.3, etc). The MD5SUM > of the rom is 01b7f1e0370f1047d8d1214bb4a6daba > > I downloaded the archive and compiled it. when I ran it (as root) here's > what I got: > > TS10 Emulator System v0.8.5 (Late Alpha) > > Created VAX on VAX0: - VAX-11 Series Emulator v0.7 (Alpha) > Created KA630 on CPU0: - KA630 (MicroVAX II) Emulator v0.7 (Alpha) > Activating console on TCP port 5000. > Created QBA on QBA0: - Q22-Bus Interface for MicroVAX Series v0.5 (Alpha) > Created DUA0: (RRD40) on UDA0: > Released DUA0: (RRD40) on VAX0: - DEC RRD40 CD-ROM Drive > DUA0: file '/dev/cdrom' attached. > Error occurs at line 12 > Mask ROM = 0100FFFF > ROM Image loaded from 00004E11 to 01014E10 After adding the header, the new lines read: Mask ROM = 0001FFFF ROM Image loaded from 2004000 to 2005FFFF which matches the real uvII. > File 'ka630.rom' had been loaded. > Debug Console had been turned on. > > Device Type Description > ------ ---- ----------- > CPU0: KA630 KA630 (MicroVAX II) Emulator v0.7 (Alpha) > DUA0: RRD40 DEC RRD40 CD-ROM Drive > QBA0: QBA Q22-Bus Interface for MicroVAX Series v0.5 (Alpha) > UDA0: MSCP MSCP Device Emulator v0.5 (Alpha) > > Total 4 devices. > > TS10> > > > I'm not sure why I get an error on line 12 (which seems to be the attach of > DUA0: to /dev/cdrom). /dev/cdrom exists and points to a valid drive. The > VMS Hobbyist CD is in the drive. I can do a "strings /dev/cdrom" and get back> the Files-11 structure header. > > Anyway, I type run and telnet to port 5000. Nothing happens...except the > debug.log fills up my disk :) > > Here's a snippit of it: > > VAX: Halt Action - Reason 6 > KA630: (W) CPU Non-Existant Memory (3FFFFFFC) at PC 20040032 > KA630: (W) CPU Non-Existant Memory (3FFFFFF8) at PC 20040032 > KA630: (W) CPU Non-Existant Memory (3FFFFFF8) at PC 20040032 > KA630: (W) CPU Non-Existant Memory (3FFFFFF8) at PC 20040032 > KA630: (W) CPU Non-Existant Memory (3FFFFFF8) at PC 20040032 > [[[ repeat this line ad infinitum ]]] > > Still nothing is happening, but at least I'm not getting a disk full of error messages...in fact I'm getting no messages at all. It seems to be stopped at PC 20040086 which is 20040086 BNEQ 20040086 and it seems to loop there forever. Is my rom image valid? Thanks Brian > What did I miss? > > Thanks! > Brian ^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: RQDX3 Emulator - Not successful :-( 2001-11-13 15:50 ` Brian Wheeler @ 2001-11-13 16:31 ` Kevin Handy 2001-11-13 18:15 ` sword7 2001-11-14 1:16 ` a.carlini 0 siblings, 2 replies; 39+ messages in thread From: Kevin Handy @ 2001-11-13 16:31 UTC (permalink / raw) Brian Wheeler wrote: > > In article <9sr9da$72p$1@jetsam.uits.indiana.edu>, > bdwheele@indiana.edu (Brian Wheeler) writes: ... > > > > I did a dump of the system rom (using E/P/N:20000 20040000) and re-assembled > > it using a quick perl script > > > > #!/usr/bin/perl > > > > Ah, but it looks like the rom needs a header. So I added these lines: > > print pack("V",0x20040000); > print pack("V",0x20000); > > > while(<>) { > > chomp; > > if(m/P\s+(.{8})\s+(.{8})/) { > > my($address,$data)=($1,$2); > > print pack("V",hex($data)); > > } > > > > } > > > > > > which gave me a rom of 130256 bytes. On an x86 machine I ran 'strings' on > > it and could read lots of the messages (I.E. KA630-A.V1.3, etc). The MD5SUM > > of the rom is 01b7f1e0370f1047d8d1214bb4a6daba > > > > I downloaded the archive and compiled it. when I ran it (as root) here's > > what I got: > > > > TS10 Emulator System v0.8.5 (Late Alpha) > > > > Created VAX on VAX0: - VAX-11 Series Emulator v0.7 (Alpha) > > Created KA630 on CPU0: - KA630 (MicroVAX II) Emulator v0.7 (Alpha) > > Activating console on TCP port 5000. > > Created QBA on QBA0: - Q22-Bus Interface for MicroVAX Series v0.5 (Alpha) > > Created DUA0: (RRD40) on UDA0: > > Released DUA0: (RRD40) on VAX0: - DEC RRD40 CD-ROM Drive > > DUA0: file '/dev/cdrom' attached. > > Error occurs at line 12 > > Mask ROM = 0100FFFF > > ROM Image loaded from 00004E11 to 01014E10 > > After adding the header, the new lines read: > > Mask ROM = 0001FFFF > ROM Image loaded from 2004000 to 2005FFFF This does look much better. It's what I'm getting. > which matches the real uvII. > > > File 'ka630.rom' had been loaded. > > Debug Console had been turned on. > > > > Device Type Description > > ------ ---- ----------- > > CPU0: KA630 KA630 (MicroVAX II) Emulator v0.7 (Alpha) > > DUA0: RRD40 DEC RRD40 CD-ROM Drive > > QBA0: QBA Q22-Bus Interface for MicroVAX Series v0.5 (Alpha) > > UDA0: MSCP MSCP Device Emulator v0.5 (Alpha) > > > > Total 4 devices. > > > > TS10> > > > > > > I'm not sure why I get an error on line 12 (which seems to be the attach of > > DUA0: to /dev/cdrom). /dev/cdrom exists and points to a valid drive. The I still get that error too, but it still works. > > VMS Hobbyist CD is in the drive. I can do a "strings /dev/cdrom" and get back> the Files-11 structure header. You aren't getting to the point thath the CD-ROM matters yet. I didn't have a VMS disk with me at home, yet I could still get through the initial testing with a random CD in the drive. > > > > Anyway, I type run and telnet to port 5000. Nothing happens...except the > > debug.log fills up my disk :) > > > > Here's a snippit of it: > > > > VAX: Halt Action - Reason 6 > > KA630: (W) CPU Non-Existant Memory (3FFFFFFC) at PC 20040032 > > KA630: (W) CPU Non-Existant Memory (3FFFFFF8) at PC 20040032 > > KA630: (W) CPU Non-Existant Memory (3FFFFFF8) at PC 20040032 > > KA630: (W) CPU Non-Existant Memory (3FFFFFF8) at PC 20040032 > > KA630: (W) CPU Non-Existant Memory (3FFFFFF8) at PC 20040032 > > [[[ repeat this line ad infinitum ]]] > > I was getting this until I found out about the start/length bits at the front of the ROM. I'd guess your ROM file still has problems. Try the program I passed in a previous posting to generate the ROM file and see if it works better. I don't know if perl's PACK operation puts the bytes in the correct order. You might try running 'strings' on your rom to see if you can read various bits in them (should see a lot of text in various languages, if words have 4 letter groups mangled than perls PACK is backwards) > > > > Still nothing is happening, but at least I'm not getting a disk full of > error messages...in fact I'm getting no messages at all. > > It seems to be stopped at PC 20040086 which is > 20040086 BNEQ 20040086 > > and it seems to loop there forever. Is my rom image valid? > > Thanks > Brian ^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: RQDX3 Emulator - Not successful :-( 2001-11-13 16:31 ` Kevin Handy @ 2001-11-13 18:15 ` sword7 2001-11-14 1:16 ` a.carlini 1 sibling, 0 replies; 39+ messages in thread From: sword7 @ 2001-11-13 18:15 UTC (permalink / raw) In alt.sys.pdp10 Kevin Handy <kth@srv.net> wrote: >> > I'm not sure why I get an error on line 12 (which seems to be the attach of >> > DUA0: to /dev/cdrom). /dev/cdrom exists and points to a valid drive. The > I still get that error too, but it still works. >> > VMS Hobbyist CD is in the drive. I can do a "strings /dev/cdrom" and get back> the Files-11 structure header. > You aren't getting to the point thath the CD-ROM matters yet. > I didn't have a VMS disk with me at home, yet I could still get > through the initial testing with a random CD in the drive. Yes, I am aware of that and fixed it today. I forget to add 'return EMU_OK' in uda_Attach routine. Its error message went gone. > I was getting this until I found out about the start/length bits at > the front of the ROM. I'd guess your ROM file still has problems. > Try the program I passed in a previous posting to generate the > ROM file and see if it works better. I don't know if perl's PACK > operation puts the bytes in the correct order. > You might try running 'strings' on your rom to see if you can read > various bits in them (should see a lot of text in various languages, > if words have 4 letter groups mangled than perls PACK is backwards) >> > >> >> Still nothing is happening, but at least I'm not getting a disk full of >> error messages...in fact I'm getting no messages at all. >> >> It seems to be stopped at PC 20040086 which is >> 20040086 BNEQ 20040086 >> >> and it seems to loop there forever. Is my rom image valid? Your platform have be little-endian machine like Intel x86. It will not work on big-endian machines at this time. -- Tim Stark -- Timothy Stark <>< Inet: sword7@speakeasy.org -------------------------------------------------------------------------- "For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. Amen." -- John 3:16 (King James Version Bible) ^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: RQDX3 Emulator - Not successful :-( 2001-11-13 16:31 ` Kevin Handy 2001-11-13 18:15 ` sword7 @ 2001-11-14 1:16 ` a.carlini 1 sibling, 0 replies; 39+ messages in thread From: a.carlini @ 2001-11-14 1:16 UTC (permalink / raw) Kevin Handy wrote: > > Brian Wheeler wrote: > > ROM Image loaded from 2004000 to 2005FFFF > > This does look much better. It's what I'm getting. Just a minor, and probably irrelevant datum point, but that should be 20040000 shouldn't it ? Antonio -- --------------- Antonio Carlini arcarlini@iee.org ^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: RQDX3 Emulator - Not successful :-( 2001-11-07 18:31 ` sword7 2001-11-07 18:48 ` Al Kossow 2001-11-07 20:45 ` RQDX3 Emulator - Not successful :-( Kevin Handy @ 2001-11-08 17:25 ` Bob Supnik 2001-11-08 21:26 ` sword7 2 siblings, 1 reply; 39+ messages in thread From: Bob Supnik @ 2001-11-08 17:25 UTC (permalink / raw) Tim, The LF bits means send a last fail packet if one is available, otherwise, you don't have to. Since VMS will basically toss them in the error log, you never really have to send one. If you do send one, it's a very different kettle of fish: Circuit ID = diagnostic (0xFF) Message type = datagram Credits = n/a (might as well be 0) I don't know what VMS may be waiting for. If the disks are powered up and spinning at boot time, there shouldn't be any UNIT NOW AVAILABLE attention messages generated, which only occur if a unit transitions from offline to available while the controller is up and running. /Bob On Wed, 07 Nov 2001 18:31:31 -0000, sword7@speakeasy.org wrote: >Well, NetBSD sources is very different from OpenVMS PUDRIVER because >PUDRIVER is far more complex and more senstive than NetBSD does. I did >followed NetBSD sources by implemented MSCP emulation. NetBSD does not >request a last fail packet. OpenVMS want it during step #4. My MQDX >manual mentions the last fail packet but no MSCP header information >(Virtual Circuit ID, Message Type, and Credits). ^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: RQDX3 Emulator - Not successful :-( 2001-11-08 17:25 ` Bob Supnik @ 2001-11-08 21:26 ` sword7 2001-11-08 22:50 ` Jeff Campbell 2001-11-08 23:02 ` Arthur Krewat 0 siblings, 2 replies; 39+ messages in thread From: sword7 @ 2001-11-08 21:26 UTC (permalink / raw) In alt.sys.pdp10 Bob Supnik <bsupnik@nauticusnet.com> wrote: > I don't know what VMS may be waiting for. If the disks are powered up > and spinning at boot time, there shouldn't be any UNIT NOW AVAILABLE > attention messages generated, which only occur if a unit transitions > from offline to available while the controller is up and running. Hmmm. "UNIT NOW AVAILABLE" is not in my any MSCP information. Do you mean "AVAILABLE ATTENTION MESSAGE" (40)? I tried that but OpenVMS received and tossed it away since SCCC was processed and completed. Does anyone have information about "UNIT NOW AVAILABLE"? Thank you! -- Tim Stark -- Timothy Stark <>< Inet: sword7@speakeasy.org -------------------------------------------------------------------------- "For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. Amen." -- John 3:16 (King James Version Bible) ^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: RQDX3 Emulator - Not successful :-( 2001-11-08 21:26 ` sword7 @ 2001-11-08 22:50 ` Jeff Campbell 2001-11-09 4:24 ` sword7 2001-11-08 23:02 ` Arthur Krewat 1 sibling, 1 reply; 39+ messages in thread From: Jeff Campbell @ 2001-11-08 22:50 UTC (permalink / raw) sword7@speakeasy.org wrote: > > In alt.sys.pdp10 Bob Supnik <bsupnik@nauticusnet.com> wrote: > > I don't know what VMS may be waiting for. If the disks are powered up > > and spinning at boot time, there shouldn't be any UNIT NOW AVAILABLE > > attention messages generated, which only occur if a unit transitions > > from offline to available while the controller is up and running. > > Hmmm. "UNIT NOW AVAILABLE" is not in my any MSCP information. Do you mean > "AVAILABLE ATTENTION MESSAGE" (40)? I tried that but OpenVMS received > and tossed it away since SCCC was processed and completed. > > Does anyone have information about "UNIT NOW AVAILABLE"? No, you are correct. AVAILABLE ATTENTION messages are sent by some controllers when a unit changes state to that controller. The RQDX3 only probes for disks at power up. Since the controller is initialized at least twice before VMS sees it there are no attention messages to send. MSCP disks that have run and port switches are not always 'available' hence the MSCP message. > > Thank you! > > -- Tim Stark > > -- > Timothy Stark <>< Inet: sword7@speakeasy.org > -------------------------------------------------------------------------- > "For God so loved the world, that he gave his only begotten Son, that > whosoever believeth in him should not perish, but have everlasting life. > Amen." -- John 3:16 (King James Version Bible) Jeff Campbell n8wxs@arrl.net ^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: RQDX3 Emulator - Not successful :-( 2001-11-08 22:50 ` Jeff Campbell @ 2001-11-09 4:24 ` sword7 2001-11-10 2:42 ` sword7 0 siblings, 1 reply; 39+ messages in thread From: sword7 @ 2001-11-09 4:24 UTC (permalink / raw) In alt.sys.pdp10 Jeff Campbell <jcampbell@ins-msi.com> wrote: >> Hmmm. "UNIT NOW AVAILABLE" is not in my any MSCP information. Do you mean >> "AVAILABLE ATTENTION MESSAGE" (40)? I tried that but OpenVMS received >> and tossed it away since SCCC was processed and completed. >> >> Does anyone have information about "UNIT NOW AVAILABLE"? > No, you are correct. AVAILABLE ATTENTION messages are sent by some > controllers when a unit changes state to that controller. The RQDX3 > only probes for disks at power up. Since the controller is initialized > at least twice before VMS sees it there are no attention messages to > send. > MSCP disks that have run and port switches are not always 'available' > hence the MSCP message. Hmmm. I tested "AVAILABLE ATTENTION" messages again with traced execution. After controller was initialized and SCCC command was sent, SCCC commands contins controller flags that enable attention message flag. After it was enabled, RQDX3 emulator started to send Available Attention messages after it returned the results of SCCC. VMS received an available attention message and processed it. However, I carefully followed traced execution and discovered something... VMS accepted that packet and processed it. VMS checked other settings, etc. When it found something, return #0144 back to caller. With status code #0144, BLBC executed and jumped over... it did nothing and returned back to idle time. I do not know what is status code #0144. Does anyone know that? Debug Log Summary for AVAILABLE ATTENTION message. ------------------------------------------------- VMS received an Available Attention Message Packet from RQDX3. Checked done flag in opcode field first - 0x80. Then VMS assumed the attention message (done flag not set). Jumped into the specific routine by using endcode (0x40). Checked something like 12(R3) to check bit 5 first but found out bit 5 is set and jumped over. Load #0144 into R0 Return back to caller. BLBC R0,<location> (if bit 0 is clear, jumped over) Return back to another caller. Check other response descriptors but no messages yet. Finally returned back to null job.... Ok, I will work on it right and let you know what happeneds when controller was intialized twice before VMS see no attention messages. Thank you! -- Tim Stark -- Timothy Stark <>< Inet: sword7@speakeasy.org -------------------------------------------------------------------------- "For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. Amen." -- John 3:16 (King James Version Bible) ^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: RQDX3 Emulator - Not successful :-( 2001-11-09 4:24 ` sword7 @ 2001-11-10 2:42 ` sword7 0 siblings, 0 replies; 39+ messages in thread From: sword7 @ 2001-11-10 2:42 UTC (permalink / raw) Hello folks: Ok, thank you for some information. Someone e-mailed me about #0144. That means "%SYSTEM-F-INVDEVNAM, Invalid Device Name" (Spelling?). Also he mentioned PicoVAX. I downloaded and tested it. I configured and run it with my same installation CD. I noticed that it resulted the same like my own VAX emulator! I now learned that VMS was supposed to print data/time prompt but it never happened on my own VAX emulator. VMS asked for date/time first before it started autoconfig routines. -- Tim Stark -- Timothy Stark <>< Inet: sword7@speakeasy.org -------------------------------------------------------------------------- "For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. Amen." -- John 3:16 (King James Version Bible) ^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: RQDX3 Emulator - Not successful :-( 2001-11-08 21:26 ` sword7 2001-11-08 22:50 ` Jeff Campbell @ 2001-11-08 23:02 ` Arthur Krewat 1 sibling, 0 replies; 39+ messages in thread From: Arthur Krewat @ 2001-11-08 23:02 UTC (permalink / raw) sword7@speakeasy.org wrote: > > In alt.sys.pdp10 Bob Supnik <bsupnik@nauticusnet.com> wrote: > > I don't know what VMS may be waiting for. If the disks are powered up > > and spinning at boot time, there shouldn't be any UNIT NOW AVAILABLE > > attention messages generated, which only occur if a unit transitions > > from offline to available while the controller is up and running. > > Hmmm. "UNIT NOW AVAILABLE" is not in my any MSCP information. Do you mean > "AVAILABLE ATTENTION MESSAGE" (40)? I tried that but OpenVMS received > and tossed it away since SCCC was processed and completed. > Is it possible that VMS has entered a loop waiting for new devices because it started another job/process that should be running by this time? aak ^ permalink raw reply [flat|nested] 39+ messages in thread
end of thread, other threads:[~2001-11-15 13:39 UTC | newest] Thread overview: 39+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2001-11-07 14:39 RQDX3 Emulator - Not successful :-( sword7 2001-11-07 16:15 ` Kevin Handy 2001-11-07 18:31 ` sword7 2001-11-07 18:48 ` Al Kossow 2001-11-08 2:47 ` PDP-11/40 Processor Reference Manual sword7 2001-11-15 10:02 ` Wilber Williams 2001-11-15 13:39 ` sword7 2001-11-07 20:45 ` RQDX3 Emulator - Not successful :-( Kevin Handy 2001-11-12 3:28 ` sword7 2001-11-12 19:41 ` Eric Smith 2001-11-13 1:24 ` sword7 2001-11-12 20:54 ` Kevin Handy 2001-11-12 23:36 ` a.carlini 2001-11-13 0:54 ` Kevin Handy 2001-11-13 1:22 ` sword7 2001-11-13 1:36 ` Kevin Handy 2001-11-14 1:15 ` a.carlini 2001-11-13 3:24 ` Zane H. Healy 2001-11-13 16:38 ` Kevin Handy 2001-11-13 16:46 ` Brian Wheeler 2001-11-13 18:10 ` sword7 2001-11-13 18:25 ` Brian Wheeler 2001-11-13 18:44 ` Kevin Handy 2001-11-13 18:53 ` Brian Wheeler 2001-11-14 1:19 ` a.carlini 2001-11-13 13:59 ` Douglas H. Quebbeman 2001-11-14 13:32 ` jmfbahciv 2001-11-13 14:06 ` Brian Wheeler 2001-11-13 15:46 ` Kevin Handy 2001-11-13 15:50 ` Brian Wheeler 2001-11-13 16:31 ` Kevin Handy 2001-11-13 18:15 ` sword7 2001-11-14 1:16 ` a.carlini 2001-11-08 17:25 ` Bob Supnik 2001-11-08 21:26 ` sword7 2001-11-08 22:50 ` Jeff Campbell 2001-11-09 4:24 ` sword7 2001-11-10 2:42 ` sword7 2001-11-08 23:02 ` Arthur Krewat
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox