Browse Source

+ enabled FPU emulation for the Z80

git-svn-id: branches/z80@45007 -
nickysn 5 years ago
parent
commit
3f62fb7fe7
2 changed files with 3 additions and 1 deletions
  1. 1 0
      compiler/fpcdefs.inc
  2. 2 1
      compiler/options.pas

+ 1 - 0
compiler/fpcdefs.inc

@@ -299,6 +299,7 @@
   {$define cpu8bit}
   {$define cpu16bitaddr}
   {$define cpu8bitalu}
+  {$define cpufpemu}
   {$define cpuflags}
   {$define cpunofpu}
   {$define cpunodefaultint}

+ 2 - 1
compiler/options.pas

@@ -4253,7 +4253,8 @@ begin
      ((target_info.system in [system_arm_wince,system_arm_gba,
          system_m68k_amiga,system_m68k_atari,
          system_arm_nds,system_arm_embedded,
-         system_riscv32_embedded,system_riscv64_embedded,system_xtensa_embedded])
+         system_riscv32_embedded,system_riscv64_embedded,system_xtensa_embedded,
+         system_z80_embedded,system_z80_zxspectrum])
 {$ifdef arm}
       or (target_info.abi=abi_eabi)
 {$endif arm}