mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-17 17:09:09 +02:00
+ include the tiny heap in the ZX Spectrum system unit, when compiled with -dFULL_RTL
git-svn-id: branches/z80@45028 -
This commit is contained in:
parent
0d7e3921aa
commit
7ccebb5073
@ -13,3 +13,14 @@
|
|||||||
|
|
||||||
**********************************************************************}
|
**********************************************************************}
|
||||||
|
|
||||||
|
{*****************************************************************************
|
||||||
|
Heap Management
|
||||||
|
*****************************************************************************}
|
||||||
|
|
||||||
|
function SysOSAlloc (size: ptruint): pointer;
|
||||||
|
begin
|
||||||
|
end;
|
||||||
|
|
||||||
|
procedure SysOSFree(p: pointer; size: ptruint);
|
||||||
|
begin
|
||||||
|
end;
|
||||||
|
@ -6,7 +6,14 @@ interface
|
|||||||
|
|
||||||
{$define FPC_IS_SYSTEM}
|
{$define FPC_IS_SYSTEM}
|
||||||
|
|
||||||
|
{ The heap for ZX Spectrum is implemented
|
||||||
|
in tinyheap.inc include file,
|
||||||
|
but it uses default SysGetMem names }
|
||||||
|
|
||||||
|
{$define HAS_MEMORYMANAGER}
|
||||||
|
|
||||||
{$I systemh.inc}
|
{$I systemh.inc}
|
||||||
|
{$I tnyheaph.inc}
|
||||||
|
|
||||||
{$ifndef FPUNONE}
|
{$ifndef FPUNONE}
|
||||||
{$ifdef FPC_HAS_FEATURE_SOFTFPU}
|
{$ifdef FPC_HAS_FEATURE_SOFTFPU}
|
||||||
@ -104,6 +111,7 @@ implementation
|
|||||||
{$ifdef FULL_RTL}
|
{$ifdef FULL_RTL}
|
||||||
|
|
||||||
{$I system.inc}
|
{$I system.inc}
|
||||||
|
{$I tinyheap.inc}
|
||||||
|
|
||||||
{$ifndef FPUNONE}
|
{$ifndef FPUNONE}
|
||||||
{$ifdef FPC_HAS_FEATURE_SOFTFPU}
|
{$ifdef FPC_HAS_FEATURE_SOFTFPU}
|
||||||
|
Loading…
Reference in New Issue
Block a user