|
|
DataMuseum.dkPresents historical artifacts from the history of: CP/M |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about CP/M Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 512 (0x200)
Types: TextFile
Names: »KIGGE.PAS«
└─⟦037dced94⟧ Bits:30003312 Elevopgave i styring af skildpadde til Piccolo
└─⟦this⟧ »KIGGE.PAS«
program Kigge;
var
vent,pause:integer;
tilstand,valg : byte;
procedure flyt(var tilstand : byte);
begin
for vent:=1 to pause do port(.17.):=tilstand;
for vent:=1 to pause do port(.17.):=0;
end;
begin
port(.19.):=255;
port(.19.):=192;
pause := 200;
repeat
tilstand := 0;
valg:=port(.17.);
if valg = 64 then tilstand := 3;
flyt(tilstand);
until keypress;
end.
«eof»