From: Johnny Billquist <bqt@softjar.se>
Subject: Re: PDP11 Values from MFPT
Date: Tue, 21 Feb 2012 11:38:40 +0100 [thread overview]
Message-ID: <jhvs7g$48n$1@Iltempo.Update.UU.SE> (raw)
In-Reply-To: <4f434899.23922519@nntp.aioe.org>
On 2012-02-21 09.06, paramucho wrote:
> On Mon, 20 Feb 2012 22:29:03 -0500, "Jerome H. Fine"
> <everyone@nospam.com> wrote:
>
>>> RT-11 does not provide a directory scan system call, so utilities must
>>> access the directory directly to scan them. RT-11 guarantees that a
>>> directory structure begins at block 6 of a file structured device.
>>>
>> Actually, while DEC ALWAYS starts the directory structure
>> at block 6 of a file structured device, that is not required since
>> in block 1, there is a value which holds the starting block number.
>>
>> I stress that DEC has never used a different value and that ALL
>> present code ignores the starting block number specified within
>> block 1, but it is a possibility.
>
> Right. I'm aware of that home block value. It was never used by any
> version of RT-11 that I know of. I've sometimes thought it might have
> been used by RTEM. I thought of using it myself when I implemented
> RUST/SJ sub-directories, but it wasn't worth it.
Funny that you mention RTEM, since I seem to have come across a copy
that I now have running on my RSX systems. It is weird, and I have not
looked at all details. Also, a friend of mine have been doing most of
the fooling around. He did get it to boot RT-11 V5.7 after a few patches
to RT-11. Seems like RTEM got broken after V5.5 in the RT-11 side.
I don't know exactly how it works, but it uses a disk split into two
parts. One is shared by all users, and holds all the normal binaries and
stuff you'd expect, while the other part is your private disk, which
holds all the rest of the stuff you do. But they are merged into one
disk in the view of RT-11.
Also, it seems like the file protection is used, and all files on the
shared part of the disk are protected, which seems like a wise thing. :-)
*****
.run rtem
RTE>/vs
RTEM-11 (VAX/VMS) V01.00
RT-11FB V05.07
.SET SL ON
.show all
RT-11FB V05.07
Booted from VS0:RTEMFB
USR is set SWAP
EXIT is set SWAP
KMON is set NOIND
MODE is set NOSJ
TT is set NOQUIET
ERROR is set ERROR
SL is set ON
EDIT is set KED
FORTRAN is set FORTRA
KMON nesting depth is 3
Global .SCCA flag is disabled
CLI is set DCL, CCL, UCL, NO UCF
Emulated RT-11 environment, processor type unknown
60KB of memory
FP11 Hardware Floating Point Unit
Extended Instruction Set (EIS)
50 Hertz System Clock
Multi-terminal support
Global .SCCA support
FPU support
Extended unit support
Device Status CSR Vector(s)
------ ------ --- ---------
LD Installed 000000 000
BA Installed 000000 000
NL Installed 000000 000
SL 122622 000000 000
SD Installed 000000 000
VS Resident 000000 000
TT (Resident)
VS (Resident)
VS0 = DK , SY
MQ (Resident)
BA
NL
LD
SL (Loaded)
SD
1 free slots
Job Name Console Level State Low High Impure
--- ---- ------- ----- ----- --- ---- ------
0 RESORC 0 0 Run 000000 122546 137600
Unit Owner Type WIDTH TAB CRLF FORM SCOPE SPEED
--------------------------------------------------------
0 S-Console DL 80 Yes No No Yes N/A
Address Module Words
------- ------ -----
165324 VS 854.
136020 RMON 5986.
122614 SL 2882.
001000 ..BG.. 20934.
No LD units mounted
.dir
21-Feb-2012
SWAP .SYS 28P 31-Oct-1998 RTEMFB.SYS 108P 02-Feb-2012
LDM .SYS 11P 01-Feb-2012 BAM .SYS 7P 01-Feb-2012
NLM .SYS 2P 01-Feb-2012 SLM .SYS 17P 30-Jan-2012
SDM .SYS 23P 30-Jan-2012 VSM .SYS 6P 01-Feb-2012
DIR .SAV 20P 31-Oct-1998 PIP .SAV 30P 31-Oct-1998
DUP .SAV 52P 31-Oct-1998 RESORC.SAV 35P 31-Oct-1998
IND .SAV 58P 31-Oct-1998 UCL .SAV 16P 31-Oct-1998
UCF .SAV 16P 31-Oct-1998 UCL .DAT 9P 29-Jan-1984
JOAT .SAV 52P 29-Jan-2012 EDIT .SAV 19P 31-Oct-1998
K52 .SAV 81P 07-Apr-2011 KED .SAV 85P 31-Oct-1998
MACRO .SAV 63P 31-Oct-1998 CREF .SAV 6P 31-Oct-1998
LINK .SAV 59P 31-Oct-1998 LIBR .SAV 24P 31-Oct-1998
FILEX .SAV 22P 31-Oct-1998 SRCCOM.SAV 26P 31-Oct-1998
BINCOM.SAV 25P 31-Oct-1998 SLP .SAV 13P 31-Oct-1998
DUMP .SAV 10P 31-Oct-1998 SIPP .SAV 21P 31-Oct-1998
BUP .SAV 68P 31-Oct-1998 PAT .SAV 11P 31-Oct-1998
HELP .SAV 161P 31-Oct-1998 BATCH .SAV 26P 31-Oct-1998
SETUP .SAV 43P 31-Oct-1998 LET .SAV 6P 31-Oct-1998
SPLIT .SAV 3P 31-Oct-1998 TRANSF.SAV 16P 31-Oct-1998
TRANSF.TSK 76P 31-Oct-1998 TRANSF.EXE 45P 31-Oct-1998
DBGSYM.SAV 10P 31-Oct-1998 INDEX .SAV 11P 31-Oct-1998
INDEXX.SAV 14P 31-Oct-1998 INDEXA.IMG 164P 31-Oct-1998
INDEXB.IMG 165P 31-Oct-1998 INDEX .IDX 7P 31-Oct-1998
PASCAL.SAV 52P 29-Jan-1984 FORTRA.SAV 128P 29-Jan-1984
F77 .SAV 327P 29-Jan-1984 BASIC .SAV 56P 29-Jan-1984
TECO .SAV 50P 31-Oct-1998 SYS .SAV 3P 29-Jan-1984
SYSMAC.SML 66P 19-Dec-1988 SYSLIB.OBJ 47P 19-Dec-1988
PASCAL.OBJ 89P 19-Aug-1986 FORLIB.OBJ 205P 31-Dec-1982
F77OTS.OBJ 135P 29-Jan-1984 F77CVF.OBJ 4P 29-Jan-1984
F77NER.OBJ 1P 29-Jan-1984 F77MAP.OBJ 33P 29-Jan-1984
F77EIS.OBJ 3P 29-Jan-1984 F77RAN.OBJ 2P 29-Jan-1984
F77COM.MSG 14P 29-Jan-1984 ODT .OBJ 8P 31-Oct-1998
VDT .OBJ 8P 31-Oct-1998 STARTM.COM 1P 29-Jan-1984
66 Files, 3002 Blocks
486 Free blocks
.
*****
>> There are other still "undocumented" features in RT-11 such
>> as READ ONLY / WRITE PROTECTED files.
>
> They are directory entry flags which were defined in the final stages
> of RT-11. They were barely used. The Read-only flag is copied by
> .LOOKUP, but that's about it. I haven't bothered implementing it
> because the new flags are not backwards compatible with earlier
> versions of RT-11 (which is, historically, partly my fault).
Am I understanding correct that the "P" after the file size is the
indication of the read-only status of the file? I seem to remember it
appearing to be so from something I did, but I'm not sure.
>>> RT-11 magtape and cassette drivers are "special devices" with their
>>> own built-in ACPs. Directory operations on these devices may be
>>> handled via the USR or by using .SPFUN (special functions) to
>>> communicate directly with the driver. In this case the operation is
>>> analogous to the RSX QIO interface. Since tape devices can be
>>> particularly time consuming it is sometimes advantageous to handle
>>> their directory operations without blocking the USR.
>>>
>>>
>> I can't remember if the USR is unblocked when a "special
>> device" requests the USR to hand off what is normally a
>> request handled by the USR. I seem to remember that the
>> USR is invoked initially when a file is opened on a magtape,
>> but I can't remember what happens when the device driver
>> takes over to handle the open request. Do you know if
>> the USR in RT-11 is unblocked at that point? Often,
>> the program may not even know that the device for the
>> file open request is a "special device" and simply call the
>> USR with the usual EMT request for the type of open
>> (.LookUp, .Enter) which is required.
>
> The USR waits for any .LOOKUP/.ENTER to complete.
So, if I understand correctly, any program that don't understand that an
access to a magtape can be done with .SPFUN, and instead opens it with
USR will block until the magtape file have been opened, which can take a
serious while?
Can a program that is waiting on USR be interrupted by something
AST-like? What happens to the USR call meanwhile?
Johnny
next prev parent reply other threads:[~2012-02-21 10:38 UTC|newest]
Thread overview: 222+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-15 14:37 PDP11 Values from MFPT Jerome H. Fine
2012-01-18 6:03 ` paramucho
2012-01-18 11:28 ` Johnny Billquist
2012-01-18 13:05 ` glen herrmannsfeldt
2012-01-18 13:26 ` Johnny Billquist
2012-01-26 3:24 ` Jerome H. Fine
2012-01-26 13:38 ` Johnny Billquist
2012-01-29 1:32 ` Jerome H. Fine
2012-01-29 1:43 ` Johnny Billquist
2012-01-26 3:23 ` Jerome H. Fine
2012-01-18 16:02 ` paramucho
2012-01-18 18:12 ` Johnny Billquist
2012-01-19 14:30 ` paramucho
2012-01-19 16:42 ` Johnny Billquist
2012-01-19 20:32 ` glen herrmannsfeldt
2012-01-20 13:32 ` paramucho
2012-01-20 13:29 ` paramucho
2012-01-20 16:48 ` Johnny Billquist
2012-01-21 12:25 ` paramucho
2012-01-21 20:15 ` Johnny Billquist
2012-01-26 3:25 ` Jerome H. Fine
2012-01-26 6:09 ` paramucho
2012-01-26 6:30 ` paramucho
2012-01-26 13:50 ` Johnny Billquist
2012-01-29 1:52 ` Jerome H. Fine
2012-01-29 2:08 ` Johnny Billquist
2012-01-26 13:48 ` Johnny Billquist
2012-01-26 13:46 ` Johnny Billquist
2012-01-29 1:35 ` Jerome H. Fine
2012-01-18 12:41 ` glen herrmannsfeldt
2012-01-18 13:18 ` Johnny Billquist
2012-01-18 14:28 ` glen herrmannsfeldt
2012-01-18 15:14 ` Johnny Billquist
2012-01-18 21:54 ` glen herrmannsfeldt
2012-01-18 22:32 ` Al Kossow
2012-01-19 0:22 ` Johnny Billquist
2012-01-19 1:30 ` glen herrmannsfeldt
2012-01-19 14:32 ` Bob Koehler
2012-01-19 16:45 ` Johnny Billquist
2012-01-20 17:55 ` Bob Koehler
2012-01-20 18:38 ` Bill Gunshannon
2012-01-18 16:25 ` paramucho
2012-01-18 18:00 ` Johnny Billquist
2012-01-19 14:25 ` paramucho
2012-01-19 16:50 ` Johnny Billquist
2012-01-20 13:32 ` paramucho
2012-01-20 16:54 ` Johnny Billquist
2012-01-21 13:16 ` paramucho
2012-01-21 13:58 ` Bob Eager
2012-01-21 20:02 ` Johnny Billquist
2012-01-22 11:59 ` Johnny Billquist
2012-01-22 14:03 ` paramucho
2012-01-22 16:15 ` Johnny Billquist
2012-01-23 4:14 ` paramucho
2012-01-18 13:20 ` Bob Eager
2012-01-19 14:29 ` Bob Koehler
2012-01-21 12:44 ` Tim Shoppa
2012-01-21 13:50 ` paramucho
2012-01-22 16:56 ` Tim Shoppa
2012-01-22 18:11 ` glen herrmannsfeldt
2012-01-23 3:52 ` paramucho
2012-01-21 14:25 ` glen herrmannsfeldt
2012-01-21 16:46 ` Bob Eager
2012-01-25 22:12 ` Tim Shoppa
2012-01-26 3:22 ` Jerome H. Fine
2012-01-26 13:46 ` paramucho
2012-01-29 1:34 ` Jerome H. Fine
2012-01-29 15:46 ` paramucho
2012-02-01 3:53 ` Jerome H. Fine
2012-02-01 11:22 ` paramucho
2012-02-01 11:48 ` Johnny Billquist
2012-02-01 13:48 ` paramucho
2012-02-01 14:43 ` stan
2012-02-01 16:37 ` paramucho
2012-02-01 18:05 ` stan
2012-02-02 2:24 ` Jerome H. Fine
2012-02-02 0:14 ` Johnny Billquist
2012-02-02 2:25 ` Jerome H. Fine
2012-02-02 9:29 ` Johnny Billquist
2012-02-02 18:52 ` glen herrmannsfeldt
2012-02-03 0:12 ` Johnny Billquist
2012-02-03 4:07 ` Jerome H. Fine
2012-02-03 14:15 ` Johnny Billquist
2012-02-03 15:00 ` paramucho
2012-02-02 13:31 ` paramucho
2012-02-02 19:07 ` glen herrmannsfeldt
2012-02-03 0:16 ` Johnny Billquist
2012-02-03 4:23 ` glen herrmannsfeldt
2012-02-03 12:01 ` Johnny Billquist
2012-02-03 15:36 ` Joe Oswald
2012-02-07 10:46 ` Johnny Billquist
2012-02-03 4:29 ` Jerome H. Fine
2012-02-03 12:50 ` Bill Gunshannon
2012-02-04 8:42 ` Charles Richmond
2012-02-04 13:38 ` paramucho
2012-02-04 16:03 ` Bill Gunshannon
2012-02-04 16:39 ` paramucho
2012-02-03 10:48 ` paramucho
2012-02-03 11:24 ` Johnny Billquist
2012-02-04 17:06 ` paramucho
2012-02-04 18:22 ` paramucho
2012-02-04 18:55 ` Johnny Billquist
2012-02-04 19:13 ` Bill Gunshannon
2012-02-05 13:28 ` Johnny Billquist
2012-02-05 18:15 ` glen herrmannsfeldt
2012-02-04 18:51 ` Johnny Billquist
2012-02-04 23:09 ` glen herrmannsfeldt
2012-02-05 14:01 ` paramucho
2012-02-05 15:31 ` Johnny Billquist
2012-02-06 13:50 ` paramucho
2012-02-06 14:45 ` Johnny Billquist
2012-02-06 14:58 ` paramucho
2012-02-06 16:25 ` Johnny Billquist
2012-02-05 14:27 ` Johnny Billquist
2012-02-05 13:57 ` paramucho
2012-02-05 15:44 ` Johnny Billquist
2012-02-06 13:51 ` paramucho
2012-02-06 14:56 ` Johnny Billquist
2012-02-06 16:40 ` Johnny Billquist
2012-02-07 14:50 ` paramucho
2012-02-07 16:20 ` Johnny Billquist
2012-02-08 13:34 ` paramucho
2012-02-08 16:03 ` Johnny Billquist
2012-02-08 16:58 ` paramucho
2012-02-08 22:29 ` Johnny Billquist
2012-02-10 13:12 ` paramucho
2012-02-10 19:20 ` glen herrmannsfeldt
2012-02-11 13:12 ` paramucho
2012-02-11 20:06 ` glen herrmannsfeldt
2012-02-11 20:23 ` Johnny Billquist
2012-02-10 19:29 ` Johnny Billquist
2012-02-11 13:15 ` paramucho
2012-02-11 21:09 ` Johnny Billquist
2012-02-12 17:23 ` paramucho
2012-02-12 18:35 ` paramucho
2012-02-13 17:30 ` paramucho
2012-02-14 13:14 ` Johnny Billquist
2012-02-14 16:20 ` paramucho
2012-02-14 17:30 ` Johnny Billquist
2012-02-13 23:18 ` Johnny Billquist
2012-02-14 16:20 ` paramucho
2012-02-14 17:47 ` Johnny Billquist
2012-02-14 18:17 ` paramucho
2012-02-14 19:54 ` Johnny Billquist
2012-02-15 12:58 ` paramucho
2012-02-15 17:12 ` Johnny Billquist
2012-02-16 13:54 ` paramucho
2012-02-16 20:15 ` Johnny Billquist
2012-02-17 12:41 ` paramucho
2012-02-17 17:13 ` Johnny Billquist
2012-02-18 11:24 ` Johnny Billquist
2012-02-18 14:28 ` paramucho
2012-02-18 20:07 ` Johnny Billquist
2012-02-18 11:55 ` paramucho
2012-02-18 20:58 ` Johnny Billquist
2012-02-20 2:29 ` Jerome H. Fine
2012-02-20 5:54 ` paramucho
2012-02-20 17:14 ` Jerome H. Fine
2012-02-20 18:05 ` Johnny Billquist
2012-02-21 6:16 ` paramucho
2012-02-21 17:38 ` Jerome H. Fine
2012-02-21 19:31 ` Johnny Billquist
2012-02-20 5:53 ` paramucho
2012-02-20 10:28 ` Johnny Billquist
2012-02-21 3:33 ` Jerome H. Fine
2012-02-21 6:17 ` paramucho
2012-02-21 10:23 ` Johnny Billquist
2012-02-21 11:37 ` paramucho
2012-02-21 14:16 ` Johnny Billquist
2012-02-21 16:42 ` paramucho
2012-02-21 19:43 ` Johnny Billquist
2012-02-22 12:21 ` paramucho
2012-02-22 14:12 ` paramucho
2012-02-22 15:26 ` Johnny Billquist
2012-02-22 14:33 ` paramucho
2012-02-22 15:53 ` Johnny Billquist
2012-02-22 16:48 ` paramucho
2012-02-22 21:17 ` Johnny Billquist
2012-02-23 12:42 ` paramucho
2012-02-23 13:51 ` paramucho
2012-02-23 15:17 ` Johnny Billquist
2012-02-20 2:22 ` Jerome H. Fine
2012-02-20 6:07 ` paramucho
2012-02-21 3:29 ` Jerome H. Fine
2012-02-21 8:06 ` paramucho
2012-02-21 10:38 ` Johnny Billquist [this message]
2012-02-21 11:54 ` paramucho
2012-02-21 14:20 ` Johnny Billquist
2012-02-21 15:13 ` paramucho
2012-02-21 15:20 ` Johnny Billquist
2012-02-22 2:51 ` Jerome H. Fine
2012-02-22 6:37 ` paramucho
2012-01-18 11:20 ` Johnny Billquist
2012-01-26 3:21 ` Jerome H. Fine
2012-01-26 14:12 ` Johnny Billquist
2012-01-26 15:26 ` paramucho
2012-01-29 1:41 ` Jerome H. Fine
2012-01-29 2:04 ` Johnny Billquist
2012-01-29 2:31 ` Johnny Billquist
2012-01-29 1:39 ` Jerome H. Fine
2012-01-29 1:45 ` Johnny Billquist
2012-01-30 2:21 ` Bob Supnik
2012-01-31 7:14 ` paramucho
2012-01-31 9:42 ` Johnny Billquist
2012-01-31 14:24 ` Bill Gunshannon
2012-01-31 20:17 ` Johnny Billquist
2012-01-31 21:39 ` Bill Gunshannon
2012-01-31 23:43 ` glen herrmannsfeldt
2012-02-01 3:56 ` Jerome H. Fine
2012-02-01 11:53 ` Johnny Billquist
2012-02-01 13:48 ` paramucho
2012-02-02 0:20 ` Johnny Billquist
2012-02-02 2:22 ` Jerome H. Fine
2012-02-01 12:14 ` Johnny Billquist
2012-02-01 16:27 ` glen herrmannsfeldt
2012-02-01 5:28 ` Charles Richmond
2012-02-01 11:54 ` Johnny Billquist
2012-02-01 3:55 ` Jerome H. Fine
2012-02-01 11:22 ` paramucho
2012-02-01 12:03 ` Johnny Billquist
2012-02-01 3:54 ` Jerome H. Fine
2012-02-01 12:09 ` Johnny Billquist
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