mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-28 21:00:28 +02:00
+ m68k-atari: fixed bogus TOS program flags passed to VLink. added -WF argument to allow the user to specify their own flags if needed
This commit is contained in:
parent
ca8a94e693
commit
b3cbf07f27
@ -416,6 +416,9 @@ interface
|
|||||||
palmos_applicationid : string[4] = 'FPCA';
|
palmos_applicationid : string[4] = 'FPCA';
|
||||||
{$endif defined(m68k) or defined(arm)}
|
{$endif defined(m68k) or defined(arm)}
|
||||||
{$if defined(m68k)}
|
{$if defined(m68k)}
|
||||||
|
{ Atari Specific }
|
||||||
|
ataritos_exe_flags: dword = 7;
|
||||||
|
|
||||||
{ Sinclair QL specific }
|
{ Sinclair QL specific }
|
||||||
sinclairql_metadata_format: string[4] = 'QHDR';
|
sinclairql_metadata_format: string[4] = 'QHDR';
|
||||||
sinclairql_vlink_experimental: boolean = true; { temporary }
|
sinclairql_vlink_experimental: boolean = true; { temporary }
|
||||||
|
@ -4327,6 +4327,7 @@ A*2We_Use external resources (Darwin)
|
|||||||
P*2We_Use external resources (Darwin)
|
P*2We_Use external resources (Darwin)
|
||||||
p*2We_Use external resources (Darwin)
|
p*2We_Use external resources (Darwin)
|
||||||
3*2WF_Specify full-screen type application (EMX, OS/2)
|
3*2WF_Specify full-screen type application (EMX, OS/2)
|
||||||
|
6*2WF<x>_Set TOS program flags to <x> (Atari)
|
||||||
3*2WG_Specify graphic type application (EMX, OS/2, Windows)
|
3*2WG_Specify graphic type application (EMX, OS/2, Windows)
|
||||||
4*2WG_Specify graphic type application (Windows)
|
4*2WG_Specify graphic type application (Windows)
|
||||||
A*2WG_Specify graphic type application (Windows)
|
A*2WG_Specify graphic type application (Windows)
|
||||||
|
@ -2810,6 +2810,20 @@ begin
|
|||||||
end;
|
end;
|
||||||
'F':
|
'F':
|
||||||
begin
|
begin
|
||||||
|
{$if defined(m68k)}
|
||||||
|
if target_info.system in [system_m68k_atari] then
|
||||||
|
begin
|
||||||
|
if (length(More)>j) then
|
||||||
|
begin
|
||||||
|
val(Copy(More,j+1,255),ataritos_exe_flags,code);
|
||||||
|
if code<>0 then
|
||||||
|
IllegalPara(opt);
|
||||||
|
end
|
||||||
|
else
|
||||||
|
IllegalPara(opt);
|
||||||
|
break;
|
||||||
|
end;
|
||||||
|
{$endif defined(m68k)}
|
||||||
if target_info.system in systems_os2 then
|
if target_info.system in systems_os2 then
|
||||||
begin
|
begin
|
||||||
if UnsetBool(More, j, opt, false) then
|
if UnsetBool(More, j, opt, false) then
|
||||||
|
@ -224,7 +224,7 @@ begin
|
|||||||
GCSectionsStr:='';
|
GCSectionsStr:='';
|
||||||
DynLinkStr:='';
|
DynLinkStr:='';
|
||||||
MapStr:='';
|
MapStr:='';
|
||||||
FlagsStr:='-tos-flags fastload,fastram';
|
FlagsStr:='-tos-flags '+tostr(ataritos_exe_flags);
|
||||||
|
|
||||||
if UseVlink and (cs_link_map in current_settings.globalswitches) then
|
if UseVlink and (cs_link_map in current_settings.globalswitches) then
|
||||||
MapStr:='-M'+maybequoted(ScriptFixFileName(current_module.mapfilename));
|
MapStr:='-M'+maybequoted(ScriptFixFileName(current_module.mapfilename));
|
||||||
|
Loading…
Reference in New Issue
Block a user