fpc/docs/go32ex/outport.pp
1998-09-07 20:53:46 +00:00

12 lines
165 B
ObjectPascal

program outport;
uses crt, go32;
begin
{ turn on speaker }
outportb($61, $ff);
{ wait a little bit }
delay(50);
{ turn it off again }
outportb($61, $0);
end.