* PS1 system unit: moved constants that should be public to the interface part

This commit is contained in:
Nikolay Nikolov 2024-09-29 21:11:39 +03:00
parent b8154e3877
commit 23a66d21bd

View File

@ -16,18 +16,6 @@ interface
{$endif FPUNONE}
var
argc:longint=0;
argv:PPAnsiChar;
envp:PPAnsiChar;
implementation
procedure _InitHeap(p: pdword; l: dword); external name 'InitHeap2';
procedure _free(p: pointer); external name 'free2';
function _malloc(l: dword): pointer; external name 'malloc2';
const
maxExitCode = 255;
AllowDirectorySeparators : set of AnsiChar = ['\','/'];
@ -46,6 +34,17 @@ const
FileNameCaseSensitive = true;
sLineBreak = #13;
var
argc:longint=0;
argv:PPAnsiChar;
envp:PPAnsiChar;
implementation
procedure _InitHeap(p: pdword; l: dword); external name 'InitHeap2';
procedure _free(p: pointer); external name 'free2';
function _malloc(l: dword): pointer; external name 'malloc2';
{I ../mips/setjump.inc}
{$I system.inc}