DataMuseum.dk

Presents historical artifacts from the history of:

RC4000/8000/9000

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about RC4000/8000/9000

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download

⟦81bc1e0d9⟧ TextFile

    Length: 6912 (0x1b00)
    Types: TextFile
    Names: »tudtxt      «

Derivation

└─⟦9ccaf6601⟧ Bits:30008165 Bånd med SW8000 kildetekst/release værktøjer
    └─⟦40b1eb8cd⟧ 
        └─⟦this⟧ »tudtxt      « 

TextFile

begin

<* Revision history                                 *>
<* Archived 851128 as tudtxt.01 on EP-ARK-01        *>


<* udsktift fra

************************** rcmtest *********************************

*>
integer field i,t,s,c,f,j,ver1,ver2;
integer type,l,time,coru,fourth,old,e,file,block,rest,segno,top_seg,low_seg,
        lno;
long field st,tim;
integer array tail(1:10);
long min_time;
boolean ch,stk,eb,stop;
real r,v;
real array txt(1:300);
zone z(128,1,stderror);

procedure next;
begin
rep: 
<* write(out,<:<10>** rest = :>,<< d>,rest,<:<10>:>); *>
      if rest = 0 then begin
        if segno = 0 then
          segno:=low_seg
        else begin
          segno:=segno+1;
          if segno=top_seg then segno:=1;
          if segno=low_seg then goto FIN;
        end;
<* write(out,<:<10>** seg = :>,<< d>,segno,<:<10>:>); *>
        setposition(z,0,segno);
        rest:=inrec6(z,4);
        if z.tim = 0 then begin
          rest:=inrec6(z,rest);
          goto rep;
        end;
      end;

      if rest<8 then i:=rest else i:=8;
      rest:=inrec6(z,i);
      type := z.t extract 12;
      if type = 0 then
      begin 
        if rest=0 then goto rep;
        rest:=inrec6(z,rest);
        goto rep 
      end;

      l:=z.t shift (-12);
      time:=z.s;  
      coru:=z.c;
      fourth:=z.f;
      if l>rest then begin
        write(out,<:<10>trouble  :>,l,rest,<:<10>:>);
        inrec6(z,rest);
        goto rep; 
      end;

      rest:=inrec6(z,l);
      if type=1 then begin
        r:=z.st/10000;
        write(out,<:<10>start - up  :>,
        <<  dd dd dd>,systime(2,r,r),r,
        <:<10>version     :>,z.ver1,z.ver2);
        i:=2; write(out,<:<10>first code =  :>,<<    ddddddd>,z.i);
        i:=12; write(out,<:<10>first proc =  :>,<<    ddddddd>,z.i);
        i:=14; write(out,<:<10>last proc  =  :>,<<    ddddddd>,z.i);
        write(out,false add 10,2);
        goto rep
      end;
end next;                                                              

t:=2;      s:=4;      c:=6;      f:=8;
st:=6;     ver1:=8;   ver2:=10;  old:=0;
tim:=4;
stop:=false;  lno:=1;

for i:=1 step 1 until 220 do txt(i):=real( case i of (
<*  1 *> <:start-up:>,<:start-co:>,<:start   :>,<:wait    :>,<:pass    :>,
<*  6 *> <:inspect :>,<:csendmes:>,<:cwaitans:>,<:exit cwa:>,<:cregret :>,
<* 11 *> <:signal  :>,<:wait sem:>,<:exit ws :>,<:send let:>,<:inspectm:>,
<* 16 *> <:wait let:>,<:exit wl :>,<:send mes:>,<:wait buf:>,<:exit wb :>,
<* 21 *> <:rel buf :>,<:exit    :>,<:answer  :>,<:answer a:>,<:message :>,
<* 26 *> <:timer sc:>,<:mes arri:>,<:att answ:>,<:tem mess:>,<:rem ans :>,
<* 31 *> <:creat co:>,<:remov co:>,<:g open  :>,<:g lock  :>,<:exit gl :>,
<* 36 *> <:wait sle:>,<:exit wsl:>,<:get buf :>,<:        :>,<:        :>,
<* 41 *> <:        :>,<:        :>,<:        :>,<:        :>,<:        :>,
<* 46 *> <:        :>,<:        :>,<:        :>,<:        :>,<:crt link:>,
<* 51 *> <:rem link:>,<:adj link:>,<:put op  :>,<:check op:>,<:releasop:>,
<* 56 *> <:get spoo:>,<:get free:>,<:adjust  :>,<:rel_cte :>,<:seg io  :>,
<* 61 *> <:look nam:>,<:in mcl n:>,<:rem mcln:>,<:get mseg:>,<:        :>,
<* 66 *> <:next    :>,<:c spoola:>,<:r spoola:>,<:seg ispo:>,<:ext spoo:>,
<* 71 *> <:cut area:>,<:move    :>,<:w-error :>,<:        :>,<:new term:>,
<* 76 *> <:searchth:>,<:in sess :>,<:out sess:>,<:unlink s:>,<:get tdat:>,
<* 81 *> <:link th :>,<:ulink th:>,<:link ph :>,<:ulink ph:>,<:        :>,
<* 86 *> <:        :>,<:        :>,<:        :>,<:        :>,<:        :>,
<* 91 *> <:        :>,<:        :>,<:        :>,<:        :>,<:        :>,
<* 96 *> <:        :>,<:        :>,<:        :>,<:get abs :>,<:        :>,
<* 101*> <:        :>,<:push    :>,<:pop     :>,<:crt mcl :>,<:var addr:>,
<* 106*> <:alloc va:>,<:del var :>,<:set var :>,<:wait    :>,<:wait op :>,
<* 111*> <:wait ter:>,<:tasc mes:>,<:s-att   :>,<:rem ph  :>,<:rem th l:>,
<* 116*> <:crt user:>,<:crt ph  :>,<:mcl exit:>,<:term th :>,<:direct  :>,
<* 121*> <:input op:>,<:output o:>,<:sim in  :>,<:ctrl op :>,<:cont mcl:>,
<* 126*> <:answer i:>,<:f8000 in:>,<:send f8 :>,<:f8 read :>,<:term s-w:>,
<* 131*> <:signon  :>,<:to_from :>,<:        :>,<:        :>,<:        :>,
<* 136*> <:        :>,<:        :>,<:        :>,<:        :>,<:init_td :>,
<* 141*> <:c_read  :>,<:c_write :>,<:get t ad:>,<:comp txt:>,<:move txt:>,
<* 146*> <:outtext :>,<:c_outtxt:>,<:write   :>,<:erase   :>,<:cursor  :>,
<* 151*> <:in_text :>,<:rd_char :>,<:rd pass :>,<:strip nl:>,<:strip sp:>,
<* 156*> <:        :>,<:        :>,<:        :>,<:        :>,<:run mcl :>,
<* 161*> <:end_th  :>,<:ex err 1:>,<:ex err 2:>,<:ex err 3:>,<:        :>,
<* 166*> <:        :>,<:        :>,<:        :>,<:        :>,<:next op :>,
<* 171*> <:        :>,<:        :>,<:        :>,<:        :>,<:        :>,
<* 176*> <:        :>,<:        :>,<:        :>,<:        :>,<:        :>,
<* 181*> <:lette.th:>,<:sear.th :>,<:op_mes  :>,<:crt ph  :>,<:        :>,
<* 186*> <:        :>,<:start rm:>,<:        :>,<:        :>,<:        :>,
<* 191*> <:        :>,<:        :>,<:        :>,<:        :>,<:        :>,
<* 196*> <:        :>,<:        :>,<:        :>,<:        :>,<:i sysm  :>,
<* 201*> <:in strg :>,<:in point:>,<:gen sysm:>,<:w sysm  :>,<:find ses:>,
<* 206*> <:search p:>,<:new pass:>,<:new ses :>,<:rem ses :>,<:brk ses :>,
<* 211*> <:kill out:>,<:send att:>,<:get char:>,<:        :>,<:        :>,
<* 216*> <:        :>,<:        :>,<:        :>,<:start sm:>,<:goto ac :>));
open(z,4,<:tastermtest:>,0);
monitor(42,z,i,tail);
top_seg:=tail(1);
min_time:= (extend (-1)) shift (-1);
setposition(z,0,1);
for i:=1 step 1 until top_seg-1 do begin
  inrec6(z,512);
  if min_time > z.tim and z.tim<>0 then begin
    low_seg:=i;
    min_time:=z.tim;
  end;
end;
setposition(z,0,0);
rest:=inrec6(z,4);
segno:=0;
<* write(out,<:** lowsegno = :>,<< dd>,low_seg,<:<10>:>); *>

write(out,<:<10>testoutput fra rcmtest<10><10>:>);

rep:   next;

outchar(out,10);
write(out,<< ddd>,lno,<:. :>); lno:=lno+1;
if type<221 then write(out,string txt(type))
else write(out,<:        :>);
write(out,<<dddd>,type,<: -:>);
write(out,<<ddddd>,time);
write(out,<< ddd>,coru extract 12,<:/:>);
i:=coru shift (-12);
if i < 7 then
  write(out, case i+1 of ( <:C,:>, <:D,:>, <:T,:>, <:M,:>, <:W,:>, <:P,:>, <:R,:> ) )
else write(out,<< d>,i);
write(out, << dddddd>,fourth,<: : :>);
for i:=2 step 2 until l do begin
  write(out,<< -ddddddd>,z.i);
  if i mod 8=0 and i<l then write(out,<:<10>:>,false add 32,43);
end;

if type <> 1023 then goto rep;
FIN:
end;  


 
▶EOF◀