Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
blog:x68_devtools [2020/07/04 12:39] – john | blog:x68_devtools [2020/08/12 20:28] (current) – [The Lydux toolchain (GCC 4.6.2)] john | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ======= X68000 Development Tools ======= | + | ======= |
===== Documentation ===== | ===== Documentation ===== | ||
Line 74: | Line 74: | ||
| code.rtf | Note sure what this is - a character encoding table?? | {{ : | | code.rtf | Note sure what this is - a character encoding table?? | {{ : | ||
| condition.rtf | Explanation of the condition bits in status registers resulting from arithmetic operations. | {{ : | | condition.rtf | Explanation of the condition bits in status registers resulting from arithmetic operations. | {{ : | ||
- | | doscall.rtf | List of the available DOS/ | + | | doscall.rtf | List of the available DOS/ |
| fdformat.rtf | Table of the various supported 3.5" and 5.25" floppy disk formats and their layout (sectors/ | | fdformat.rtf | Table of the various supported 3.5" and 5.25" floppy disk formats and their layout (sectors/ | ||
| fefunc.rtf | List of the available arithmetic operators, including multiplication and division, and their parameters. | {{ : | | fefunc.rtf | List of the available arithmetic operators, including multiplication and division, and their parameters. | {{ : | ||
Line 124: | Line 124: | ||
Note as well, that the current distribution includes some C header prototypes that cause bus errors due to struct alignment problems. This is discussed here: https:// | Note as well, that the current distribution includes some C header prototypes that cause bus errors due to struct alignment problems. This is discussed here: https:// | ||
The pre-compiled bundle above already has the fixes applied to //dos.h//. | The pre-compiled bundle above already has the fixes applied to //dos.h//. | ||
+ | |||
+ | ==== Makefiles & Compiling ==== | ||
Using the toolchain: | Using the toolchain: | ||
- | * Download the archive | + | * Download the pre-built binaries above and extract in /, it unpacks to / |
* X68000 library functions are defined in: | * X68000 library functions are defined in: | ||
* / | * / | ||
* / | * / | ||
* Use the sample makefile below | * Use the sample makefile below | ||
- | + | ||
< | < | ||
# Names of the compiler and friends | # Names of the compiler and friends |