{ (c) 1998 CREEQ <creeq@web.de> }
program stummer_alarm_bildschirm;
uses Crt, Graph;
var
  Gd, Gm: Integer;
  x : integer;
begin
  Gd := Detect;
  InitGraph(Gd, Gm, '');
  if GraphResult <> grOk then
    Halt(1);
  settextstyle(10,0,8);
  setcolor(lightred);
  outtextxy(100,120,'ALARM');
  setfillstyle(1,lightred);
  floodfill(140,180,lightred);
  floodfill(200,180,lightred);
  floodfill(300,180,lightred);
  floodfill(400,180,lightred);
  floodfill(500,180,lightred);
  setcolor(white);
  outtextxy(540,110,'®');
  outtextxy(20,110,'¯');
  repeat
    for x := 300 to 607 do begin sound(x); delay(10); inc(x,10); end;
    for x := 607 downto 300 do begin sound(x); delay(10); dec(x,10) end;
  until keypressed;
  Readkey;
  nosound;
  CloseGraph;
end.


