home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Intermedia 1998 January
/
inter1_98.iso
/
www
/
rozi
/
BUJANIE.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
1997-12-15
|
458b
|
25 lines
program aaa;
uses crt;
var
i:integer;
begin
for i:=0 to 63 do
write('wyswietlam bzury i bzdety na ekranie');
i:=0;
repeat
port[$3d4]:=8;
port[$3d5]:=8+round(7*sin(pi*i/32));
if port[$3da]=0 then;
port[$3c0]:=$33;
port[$3c0]:=round(4+3*cos(pi*i/32));
repeat until (port[$03da] and 8)=0;
repeat until (port[$03da] and 8)=8;
inc(i);
until keypressed;
asm
mov ax,03h
int 10h
end;
end.