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

⟦4e71cf8da⟧ TextFile

    Length: 768 (0x300)
    Types: TextFile
    Names: »testshclock«

Derivation

└─⟦667bb35d6⟧ Bits:30007480 RC8000 Dump tape fra HCØ.
    └─⟦4334b4c0b⟧ 
        └─⟦b445b48d8⟧ »ctest« 
            └─⟦this⟧ 

TextFile

(mode list.yes
testcl=algol list.yes
mode list.no
)

begin
long l;
integer shcl;
real time,r;


procedure outshortclock(out,tailcode);
value tailcode; integer tailcode;
zone out;
begin
real r;
write(out,<:  d.:>,<<zddddd>,
systime(4,( if tailcode>0 then tailcode else
tailcode + extend 1 shift 24)/625 * 1 shift 15 + 12  ,  r  ),
<:.:>,<<zddd>,  r/100);
end outshortclock;

time:=getclock/10000;
write(out,time);
l:=time*625;
outshortclock(out,l shift (-15) extract 24);
systime(1,0,time);
write(out,time);
write(out,<< dd dd dd>,systime(4,time,r),r);
write(out,"nl",1);
shcl:=systime(7,0,0.0);
outshortclock(out,shcl);
write(out,<:d.:>,<<zddddd.dddd>,systime(6,shcl,r)+r/1000000);
write(out,"nl",1);
shcl:=systime(7,0,time);
outshortclock(out,shcl);
end;
testcl
▶EOF◀