mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-11-05 20:10:02 +01:00
- graphget/freememptr
This commit is contained in:
parent
38a2727fb2
commit
d39d35ff55
@ -349,8 +349,6 @@ var { X/Y Verhaeltnis des Bildschirm }
|
|||||||
GranShift : byte;
|
GranShift : byte;
|
||||||
Granular : longint;
|
Granular : longint;
|
||||||
Granularity : longint;
|
Granularity : longint;
|
||||||
graphgetmemptr,
|
|
||||||
graphfreememptr,
|
|
||||||
bankswitchptr :pointer;
|
bankswitchptr :pointer;
|
||||||
isDPMI :Boolean;
|
isDPMI :Boolean;
|
||||||
SwitchCS,SwitchIP : word;
|
SwitchCS,SwitchIP : word;
|
||||||
@ -411,27 +409,6 @@ begin
|
|||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
(* Unused, commented 20/11/98 PM
|
|
||||||
procedure getmem(var p : pointer;size : longint);
|
|
||||||
begin
|
|
||||||
asm
|
|
||||||
pushl 12(%ebp)
|
|
||||||
pushl 8(%ebp)
|
|
||||||
movl _GRAPHGETMEMPTR,%eax
|
|
||||||
call %eax
|
|
||||||
end;
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure freemem(var p : pointer;size : longint);
|
|
||||||
begin
|
|
||||||
asm
|
|
||||||
pushl 12(%ebp)
|
|
||||||
pushl 8(%ebp)
|
|
||||||
movl _GRAPHFREEMEMPTR,%eax
|
|
||||||
call %eax
|
|
||||||
end;
|
|
||||||
end; *)
|
|
||||||
|
|
||||||
|
|
||||||
{$I COLORS.PPI}
|
{$I COLORS.PPI}
|
||||||
|
|
||||||
@ -996,8 +973,6 @@ begin
|
|||||||
PrevExitProc:=ExitProc;
|
PrevExitProc:=ExitProc;
|
||||||
ExitProc:=@GraphExit;
|
ExitProc:=@GraphExit;
|
||||||
bankswitchptr:=@switchbank;
|
bankswitchptr:=@switchbank;
|
||||||
GraphGetMemPtr:=@system.getmem;
|
|
||||||
GraphFreeMemPtr:=@system.freemem;
|
|
||||||
Getdefaultfont;
|
Getdefaultfont;
|
||||||
if not isDPMI then begin
|
if not isDPMI then begin
|
||||||
wrbuffer:=pointer($D0000000);
|
wrbuffer:=pointer($D0000000);
|
||||||
@ -1015,7 +990,10 @@ end.
|
|||||||
|
|
||||||
{
|
{
|
||||||
$Log$
|
$Log$
|
||||||
Revision 1.5 1999-05-04 17:17:31 florian
|
Revision 1.6 1999-09-08 18:55:29 peter
|
||||||
|
- graphget/freememptr
|
||||||
|
|
||||||
|
Revision 1.5 1999/05/04 17:17:31 florian
|
||||||
* some explicit language removed
|
* some explicit language removed
|
||||||
|
|
||||||
Revision 1.4 1999/04/08 12:23:00 peter
|
Revision 1.4 1999/04/08 12:23:00 peter
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user