Browse Source

+ define system macros for 6502

Nikolay Nikolov 1 year ago
parent
commit
7dd17132b8
1 changed files with 7 additions and 0 deletions
  1. 7 0
      compiler/options.pas

+ 7 - 0
compiler/options.pas

@@ -4799,6 +4799,13 @@ procedure read_arguments(cmd:TCmdStr);
         def_system_macro('FPC_COMP_IS_INT64');
         def_system_macro('FPC_COMP_IS_INT64');
       {$endif z80}
       {$endif z80}
 
 
+      {$ifdef mos6502}
+        def_system_macro('CPUMOS6502');
+        def_system_macro('CPU16');
+        def_system_macro('FPC_CURRENCY_IS_INT64');
+        def_system_macro('FPC_COMP_IS_INT64');
+      {$endif mos6502}
+
       {$ifdef wasm32}
       {$ifdef wasm32}
         def_system_macro('CPUWASM');
         def_system_macro('CPUWASM');
         def_system_macro('CPUWASM32');
         def_system_macro('CPUWASM32');