mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-09 19:46:02 +02:00
+ implemented randomize for win16
git-svn-id: trunk@31873 -
This commit is contained in:
parent
2574c6304d
commit
25573b5927
@ -252,14 +252,8 @@ begin
|
||||
end;
|
||||
|
||||
procedure randomize;
|
||||
{var
|
||||
hl : longint;
|
||||
regs : Registers;}
|
||||
begin
|
||||
{ regs.AH:=$2C;
|
||||
MsDos(regs);
|
||||
hl:=regs.DX;
|
||||
randseed:=hl*$10000+ regs.CX;}
|
||||
randseed:=GetTickCount;
|
||||
end;
|
||||
|
||||
{****************************************************************************
|
||||
|
Loading…
Reference in New Issue
Block a user