Target CPU
Target CPU
How in the IDE do you specify which ZX chip you are compiling for? (ZX-24, ZX-40, ZX-44)
This can be done either using a compiler option (on the command line or at the top of your project file) or by using an option directive in the first file that is compiled (the first one in the project file), usually the one containing Main().
To use the compiler option, place a line like the following in your project file before any of the files to be compiled:
To use the option directive, place a line like the following in the first file listed in your project file:
The full set of compiler options and option directives is described in their respective sections of the Language Reference Manual.
To use the compiler option, place a line like the following in your project file before any of the files to be compiled:
Code: Select all
--target-CPU=ZX44
Code: Select all
Option TargetCPU ZX44
- Don Kinzer