Resorc has an internal round-about process to determine the "type" of a device; it is by no means written in a straight-forward manner. RESORC was one of those ;later programs that were clearly needed, but having not planned for them, it's difficult to get the information, as opposed to BUILD that by definition "knows" everything about the TENTATIVE system it creates [should you correctly build it and more importantly actually BOot it, making your actual system be in sync with that particular copy of BUILD.
In point of tact, there is nothiing "sacred" about BUILD or its name. Savvy users have tons of image copies of BUILD each with a different name so the configuration needed can be created in short order. In fact, it is always true: IF you cannot find out, run BUILD and remember what it told you.
We have other devices, some user-written and it is anywhere form difficult to near impossible to get RESORC to "know" about them because to do so, we have to invent NEW kludges that are not only new, but also not in conflict with the existing standard ones. The only thing OS/8 actually "knows" is exactly how to get a handler loaded, in terms of is it a one page or a two page, and the relative entry point. Thus, all RESORC ever is is just "educated guesswork" to be charitable. This is also why you must NEVER mix-and match these components from different-era OS/8 variants. The kludges drift in memory between releases, etc.
Additionally, RESORC has no way to actually know the size of for example, DECtapes be they TC08 or TD8E. The only actual arbiter of size is the directory on the current DECtape as accessed through the handler. There is a table within the core image of
PIP.SV which is used to set the DEFAULT sizes of devices, but it has no control over their actual current size.
Case in point:
Actual DECtapes come standard in 2702 octal logical 128 word blocks [all software other than the DMS ignores the 129th word[. But savvy users sort out "premium" DECtapes that are easily enough [works about 40% of the time if you don't chop off the tape!] you can get 3300 octal blocks. [Thus is a long-term average, as for quite a while it was more like 80%]. Some of my important data tapes have surfaced not only 3300 blocks long, but containing OS/8 files so long they cannot be put on the 2702 block tapes [yes, one file too long for the standard length; other tapes have so many files they also get into that ballpark.
And of course, you can have patched copies of
PIP.SV with the table entries patched accordingly [but you CANNOT use the CCL form, you have to run say
PIPDTB.SV and use the /Z option, etc. And of course, RESORC is totally in the dark here on any of this.
The PEPS package version of SIMH allows both TD and DT tapes to be as long as 10000 octal blocks, which is 2048 OS/8 records. [Compare that with the standard of 737 OS/8 records, so you can see this is quite a difference. [Note: It cannot go longer because the search routines are performed in 12-bit unsigned arithmetic or equivalent. Some TD8E routines search in one-s complement unsigned 12-bit arithmetic]
This way, standard tapes, the existing "premium" length , and even "fantasy" lengths are supported. All you need to do is change one line in two places in the source code which sets the tape length allowed in SIMH. It's up to the O/S to tale advantage of it, and you can certainly get a copy of PIP to handle that fine [again, RESORC hasn't got a clue].
I take advantage of this in P?S/8 to allow it to basically support eight TC08 DECtapes.each of which is about 2/3 the size of the OS/8 1/2 of an RK pack, which means that OS/8 using even all four RK packs doesn't hold all that much more storage. That way, I have SIMH configured to support either system which allows taking advantage of the best features of both. [And there is a bi-directional file conversion program OS8CON so you can work in either system or in the host environment freely as the user sees fit, thus it can be the best of all THREE worlds. And needless to say, the host can boot either system and either system can boot the other from the same SIMH session, etc.
While future P?S/8 systems will support the P?S/8 SHELL, which will operate the way you wish OS/8 had worked [but never will] I can also use one or more RK packs for P?S/9. This is because SIMH supports booting to RK0, RK1, RK2 and RK3. [OS/8's BOOT command supports this as well]. But for the present, it really isn't that important to have more than eight steroids-driven DECtapes and the four RK packs for both systems to use at present. The future will tell a different story. [Note: As some of you know, I am almost ready to release this product performing an end-run around potential lawsuits from moribund shareware authors, etc so the package extensions [which have no equivalent on the PiDP-8] are accessible to the end user, etc. Look for an upcoming announcement [AND DOCUMENTATION] on the pepswin group. Note: The extensions are useful to P?S/8 and OS/8 alike.]
I think Dave Gesswein is putting the two parameter settings into the master SIMH code base, so this will be available on the PiDP-8 as well.
cjl