From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fdb0e,455c7eb11b23f273 X-Google-Attributes: gidfdb0e,public X-Google-Thread: 1164f8,455c7eb11b23f273 X-Google-Attributes: gid1164f8,public X-Google-Thread: fdd80,455c7eb11b23f273 X-Google-Attributes: gidfdd80,public X-Google-ArrivalTime: 2001-11-13 07:50:59 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!news.indiana.edu!not-for-mail From: bdwheele@indiana.edu (Brian Wheeler) Newsgroups: alt.sys.pdp10,alt.sys.pdp11,comp.sys.dec Subject: Re: RQDX3 Emulator - Not successful :-( Date: 13 Nov 2001 15:50:57 GMT Organization: Indiana University, Bloomington Message-ID: <9srfh1$8da$1@jetsam.uits.indiana.edu> References: <3BE95E18.1F851360@srv.net> <3BE99D5C.616B65BB@srv.net> <9sr9da$72p$1@jetsam.uits.indiana.edu> NNTP-Posting-Host: wombat.educ.indiana.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Newsreader: knews 1.0b.1 Xref: archiver1.google.com alt.sys.pdp10:7490 alt.sys.pdp11:2972 comp.sys.dec:8321 In article <9sr9da$72p$1@jetsam.uits.indiana.edu>, bdwheele@indiana.edu (Brian Wheeler) writes: > In article , > sword7@speakeasy.org writes: >> In alt.sys.pdp10 Kevin Handy 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 >> >> >> TS10> run >> >> Open another terminal: >> >> $ telnet localhost 5000 >> Welcome to VAX emulator >> >>' prompt> >> >>> b >> >> >> -- 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