DataMuseum.dkPresents historical artifacts from the history of: CR80 Hard and Floppy Disks |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about CR80 Hard and Floppy Disks Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - download
Length: 598 (0x256) Types: TextFile Names: »CHECK_IDLE.S«
└─⟦17728abc9⟧ Bits:30005143 8" CR80 Floppy CR80FD_0130 ( CR/D/1422 FLERCPU Source ) └─⟦1815caf3d⟧ └─ ⟦this⟧ »CHECK_IDLE.S«
PROCEDURE CHECK_IDLE (R6); "********************************************************************** "********************************************************************** VAR SAVE: ARRAY[0..7] OF INTEGER; BEGIN R7=>SAVE[7]; STC(6,ADDRESS(SAVE[7])=>R7); STATUS_BASE=>R7; "READ STATUS OF SLAVE_NUMBER SLAVE_NUMBER=>R3+R7=>R7; R7@INTEGER=>R1; IF R1=1 THEN 0=>R4 ELSE 1=>R4; "IF STATUS=IDLING THEN R4:=0 "ELSE R4:=1 R4=>OK; UNS(7,ADDRESS(SAVE[0])=>R7); OK=>R4; EXIT(R6); END; «a5»