|
DataMuseum.dkPresents historical artifacts from the history of: RC4000/8000/9000 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about RC4000/8000/9000 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 1536 (0x600) Types: TextFile Names: »tprepdma«
└─⟦2c55ea56f⟧ Bits:30001844 SW-save af projekt 1000, Alarm-system └─⟦6b41451d2⟧ └─⟦this⟧ »tprepdma«
prefix prepdma; procedure prepdma(fh,fl:integer; var msg,dev:reference); const setmsel=14*256; setflh =13*256; setfll =12*256; setcnth=11*256; setcntl=10*256; setadrh= 9*256; setadrl= 8*256; cntsetpnt=20*256; type inftype=record top,cnt:integer; b0,b1,b2,b3:byte; end; wrd=record h,l:byte end; procedure getbufparam(var inf:inftype; first,last:integer; var m:reference); external; procedure control(w:integer; var dev:reference); external; procedure asgn=asgnintset(var w:wrd; w1:integer); external; var inf:inftype; w: wrd; begin lock msg as m:record first,last,next:integer; end do begin getbufparam(inf,m.first,m.last,msg); control(setmsel+inf.b1,dev); control(setflh+fh,dev); asgn(w,-inf.cnt); control(setcnth+w.h,dev); control(setcntl+w.l,dev); control(setadrh+inf.b2,dev); control(setadrl+inf.b3,dev); control(setfll+fl,dev); control(cntsetpnt,dev); end; end . ▶EOF◀