浏览代码

+ added build mode that enables the Z80 internal assembler

git-svn-id: trunk@45239 -
nickysn 5 年之前
父节点
当前提交
66a72cfb72
共有 1 个文件被更改,包括 50 次插入5 次删除
  1. 50 5
      compiler/ppcz80.lpi

+ 50 - 5
compiler/ppcz80.lpi

@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <CONFIG>
   <ProjectOptions>
-    <Version Value="12"/>
+    <Version Value="11"/>
     <PathDelim Value="\"/>
     <General>
       <Flags>
@@ -9,23 +9,67 @@
         <MainUnitHasCreateFormStatements Value="False"/>
         <MainUnitHasTitleStatement Value="False"/>
         <LRSInOutputDirectory Value="False"/>
-        <CompatibilityMode Value="True"/>
       </Flags>
       <SessionStorage Value="InProjectDir"/>
+      <MainUnit Value="0"/>
       <Title Value="ppcz80"/>
     </General>
-    <BuildModes Count="1">
+    <BuildModes Count="2">
       <Item1 Name="default" Default="True"/>
+      <Item2 Name="z80 internal asm">
+        <CompilerOptions>
+          <Version Value="11"/>
+          <PathDelim Value="\"/>
+          <Target>
+            <Filename Value="z80\pp"/>
+          </Target>
+          <SearchPaths>
+            <IncludeFiles Value="z80"/>
+            <OtherUnitFiles Value="z80;systems"/>
+            <UnitOutputDirectory Value="z80\lazbuild"/>
+          </SearchPaths>
+          <Parsing>
+            <SyntaxOptions>
+              <CStyleOperator Value="False"/>
+              <AllowLabel Value="False"/>
+              <CPPInline Value="False"/>
+              <UseAnsiStrings Value="False"/>
+            </SyntaxOptions>
+          </Parsing>
+          <Other>
+            <Verbosity>
+              <ShowWarn Value="False"/>
+              <ShowNotes Value="False"/>
+              <ShowHints Value="False"/>
+            </Verbosity>
+            <ConfigFile>
+              <StopAfterErrCount Value="50"/>
+            </ConfigFile>
+            <CustomOptions Value="-dz80
+-dEXTDEBUG
+-dZ80_INTERNAL_ASM"/>
+            <OtherDefines Count="4">
+              <Define0 Value="z80"/>
+              <Define1 Value="DEBUG_REGALLOC"/>
+              <Define2 Value="EXTDEBUG"/>
+              <Define3 Value="Z80_INTERNAL_ASM"/>
+            </OtherDefines>
+          </Other>
+        </CompilerOptions>
+      </Item2>
     </BuildModes>
     <PublishOptions>
       <Version Value="2"/>
     </PublishOptions>
     <RunParams>
+      <local>
+        <LaunchingApplication PathPlusParams="\usr\X11R6\bin\xterm -T 'Lazarus Run Output' -e $(LazarusDir)\tools\runwait.sh $(TargetCmdLine)"/>
+      </local>
       <FormatVersion Value="2"/>
       <Modes Count="1">
         <Mode0 Name="default">
           <local>
-            <LaunchingApplication PathPlusParams="\usr\X11R6\bin\xterm -T &apos;Lazarus Run Output&apos; -e $(LazarusDir)\tools\runwait.sh $(TargetCmdLine)"/>
+            <LaunchingApplication PathPlusParams="\usr\X11R6\bin\xterm -T 'Lazarus Run Output' -e $(LazarusDir)\tools\runwait.sh $(TargetCmdLine)"/>
           </local>
         </Mode0>
       </Modes>
@@ -71,10 +115,11 @@
       </ConfigFile>
       <CustomOptions Value="-dz80
 -dEXTDEBUG"/>
-      <OtherDefines Count="3">
+      <OtherDefines Count="4">
         <Define0 Value="z80"/>
         <Define1 Value="DEBUG_REGALLOC"/>
         <Define2 Value="EXTDEBUG"/>
+        <Define3 Value="Z80_INTERNAL_ASM"/>
       </OtherDefines>
     </Other>
   </CompilerOptions>