home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C!T ROM 2
/
ctrom_ii_b.zip
/
ctrom_ii_b
/
PROGRAM
/
PASCAL
/
MOUSEBUG
/
MOUSEON.PAS
< prev
Wrap
Pascal/Delphi Source File
|
1980-01-01
|
438b
|
27 lines
{$M 1024, 0, 1024}
uses
dos;
var
regs : registers;
procedure test_key(flags,cs,ip,ax,bx,cx,dx,si,di,ds,es,bp : word);
interrupt;
begin
if mem[$0040:$0017] and $0C = $0C then
begin
regs.ax := 1;
intr($33,regs);
end;
end;
begin
setintvec($1C, @test_key);
writeln('Mouse on utility');
writeln('(c) 1991 R.F. Lens');
writeln('use [ctrl - alt] to turn mousecursor on');
keep(0);
end.