From: cjl <clasystems@gmail.com>
Subject: Re: The SBC6120 is back once again! (PDP-8 clone KIT)
Date: Thu, 8 Jan 2009 01:47:45 -0800 (PST) [thread overview]
Message-ID: <eec78a1d-1dff-4143-af07-e70e70705998@r38g2000vbi.googlegroups.com> (raw)
In-Reply-To: 176uZD2KcidF-pn2-WK2ds7mjHWUn@rikki.tavi.co.uk
On Jan 8, 2:28 am, <rd...@spamcop.net> wrote:
> On Thu, 8 Jan 2009 05:52:51 UTC, "Marc W. Howard"
>
>
>
>
>
> <foobar_marc.how...@ieee.org> wrote:
> > rd...@spamcop.net wrote:
> > > On Mon, 5 Jan 2009 05:53:46 UTC, "Marc W. Howard"
> > > <foobar_marc.how...@ieee.org> wrote:
>
> > >> rd...@spamcop.net wrote:
> > >>> On Sat, 3 Jan 2009 16:11:51 UTC, Bob <bobkap...@yahoo.com> wrote:
>
> > >>> (snip all the stuff about the SBC6120)
>
> > >>> Wow! I've ordered a partial kit, and have sourced pretty well all the
> > >>> rest...
>
> > >>> Looking forward to this...
> > >> Did you find a reasonable source for the HD6402? Price?
>
> > > Found a source in the UK - Farnell. About $12.50 in your money...
>
> > Yep, I ended up ordering 2 of them (+ 2x of the Harris version of the
> > 82C55) to get up to the 20 GBP minimum credit card order. The only
> > other option was to order thru Newark in the US, but they charge $20.00
> > extra because they're buying them from Farnell as well. So since I had
> > to spend more than I wanted to I ordered 2 sets.
>
> I ordered three! I had already ordered the 82C55 from Digi-Key...
>
> I must say that the Digi-Key service seems to be very good. Ordered
> Monday, delivered 1115 Wednesday - from the USA.- Hide quoted text -
>
> - Show quoted text -
Guys, this is hardware I am hopelessly out-of-step with; I only care
about software compatibility. However, as I understand it, getting a
serial interface on this project was sort-of doable thus allowing it
to talk "to the outside world" without having to take anything apart,
i.e., it can run my Kermit-12 on it, etc.
You have to make a minor patch to Kermit-12 to make it work, but it is
quite well documented; just provide a DEC-like serial port and specify
the device code in the relevant places. However, there is a need for
a one-word patch:
At the time of writing, 6120=DECmate was the rule. As such, if it
found it was a 6120 CPU, it checked for which DecMate it had to be.
It won't work on this machine because it has no DEC compatible [weird]
DecMate ports. The fix is to make a one word change to prevent the
check for the machine being a 6120 and going off onto the DECmate
code, but rather continue in common with the -8/e or 6100 code [which
is fully software compatible with all earlier machine's expectations
for a second serial port, etc.]
Also, this is not the only problem child: CESI made a few Omnibus CPU
boards for the -8/e chassis with the 6120 on them for a one-card [well
two; still needs the terminator!] CPU replacement for the -8/e set
[and no EAE possible]. Thus, the same problem of 6120 does not =
DECmate, etc. But again, these were quite rare and nobody told me to
decouple the 6120 definition from DECmates, etc. I would have handled
it a bit differently. While checking for DM I, II, III, III+ stuff,
failing to find them would be allowed, and then just fall back into
the general PDP-8 code if not DM port hardware, etc.
The reason this can work is that the device 03/04 code I devised [and
is standard in literally all applications within P?S/8 works more
efficiently if not patched for 6120 on anything that is not a DECmate
[and that includes the CESI and the Gizmo] but works even if
accidentally patched on everything. [I still support non-patched code
as long as the hardware you are running on is not a DM. That this is
checked for as a CPU=6120 is not an issue for non-port-related issues;
just that the code self-patches to the mode that is the only way for
DMs to function, and I didn't want to "penalize" all of the compatible
machines needlessly, etc.
This has been discussed elswhere, but the basic problem is that the
03/04 interface is hopelessly broken on the DM and is NOT a CPU issue,
rather the 6121 chips used pervasively in all DMs and nowhere else. I
invented a software alternative to the standard code that will work on
the brain-dead or real hardware. Thus, the logic is that if CPU-6120,
patch the code so it will definitely work, otherwise don't patch it
for compatible machines. The only consequence is that the Gizmo and
that CESI board will get the patches applied needlessly, but it will
work either way anyway. A "purist" would not like the fact that I
applied the patch for the wrong reason, but it still works even when
patched needlessly, etc. Also, I do not have a reasonable way to test
for a DM as opposed to a 6120 CPU in a reasonable amount of space, so
I am not about to rewrite all of that code used so many times just to
correct an unimportant nit-pick. However, in Kermit-12, which is for
OS/8 that cannot even work on a DM [you instead have to use OS/278
which is a demented broken alternative] my code is smarter than the
underlying O/S thus works on all variants of the OS/8 family. [For
example, the code has a file-length restriction that comes about
because it might be running on OS/278, the only family member with a
needless excessive restriction on file opens as compared to all
previous OS/8 systems, etc. Since I am not checking, I always assume
the worst case; this is a rare circumstance anyway, etc.]
So, unless someone has a quick-and-dirty routine that in a few words
of code can check for DM as opposed to 6120, I am leaving it all
alone; the need to customize Kermit-12 was always anticipated; you
still have to provide a customized setting for the second serial port;
the only additional parameter would be where to patch out the DM
check, etc. That code could move and as such needs to be formalized
as a global parameter just like all that is there now. but in any
case, for all of the copies out there, the same one-word patch would
apply.
[Note: I asked for a SMALL quick-and-dirty piece of code; Kermit-12
has the luxury of having scads of once-only code space to check for
all of the DM variants, then give up and become -8/e or 6100-like in
terms of the flow of code in a future release. To fix OS/8 or to
"purify" the otherwise working P?S/8 would need some small code to
make it practical over and above what I did for P?S/8 already; I have
equivalent ideas for OS/8 eventually, but again, nothing that can make
Gizmo boards or CESI boards stand out versus DMs, etc.]
cjl
next prev parent reply other threads:[~2009-01-08 9:47 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-03 16:11 The SBC6120 is back once again! (PDP-8 clone KIT) Bob
2009-01-03 16:44 ` Richard B. Gilbert
2009-01-03 17:10 ` Dr Ivan D. Reid
2009-01-04 7:03 ` John Crane
2009-01-04 22:13 ` rde42
2009-01-05 0:51 ` vandys
2009-01-05 8:05 ` Bob Eager
2009-01-05 14:11 ` Bill Gunshannon
2009-01-05 15:38 ` vandys
2009-01-06 12:31 ` Bob
2009-01-05 14:49 ` Robert Krten
2009-01-05 5:53 ` Marc W. Howard
2009-01-05 8:06 ` rde42
2009-01-07 20:53 ` rde42
2009-01-08 5:52 ` Marc W. Howard
2009-01-08 7:28 ` rde42
2009-01-08 9:47 ` cjl [this message]
2009-01-08 13:08 ` FrankS
2009-01-08 13:19 ` rde42
2009-02-18 18:52 ` warpcity
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