From: Kevin Handy <kth@srv.net>
Subject: Re: RQDX3 Emulator - Not successful :-(
Date: Tue, 13 Nov 2001 09:31:03 -0700 [thread overview]
Message-ID: <3BF14AC7.FC3ACDFE@srv.net> (raw)
In-Reply-To: 9srfh1$8da$1@jetsam.uits.indiana.edu
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
next prev parent reply other threads:[~2001-11-13 16:31 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
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
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox