Commit Graph

1276 Commits

Author SHA1 Message Date
svenbarth
85149ab9a4 * change exe extension for MSX-DOS from exe to com
git-svn-id: trunk@45602 -
2020-06-06 18:20:40 +00:00
svenbarth
921e73ab0c + add compiler support for the Z80 MSX-DOS target
git-svn-id: trunk@45596 -
2020-06-06 17:16:20 +00:00
svenbarth
bf96709e39 * with ihx2tzx now also supporting binary output it makes sense to rename it to something more generic
git-svn-id: trunk@45594 -
2020-06-06 17:16:08 +00:00
nickysn
f5489b5678 + allow specifying the program load address for the ZX Spectrum target via the -WB option
git-svn-id: trunk@45581 -
2020-06-03 20:09:27 +00:00
nickysn
d1377777be + enabled the ZX Spectrum internal linker
git-svn-id: trunk@45579 -
2020-06-03 19:36:41 +00:00
nickysn
84cd9e129b + ZX Spectrum internal linker: invoke the ihx2tzx to postprocess the ihx file,
produced by the internal linker (in the future, the code of this utility may
  be integrated into the compiler)
* changed the exe extension of ZX Spectrum to '.tzx'

git-svn-id: trunk@45578 -
2020-06-03 19:33:03 +00:00
nickysn
3023a9f0e2 - removed the GetCode/Data/BssSize overrides in the ZX Spectrum internal linker,
since the default implementation, inherited from parent now works

git-svn-id: trunk@45576 -
2020-06-03 15:39:28 +00:00
nickysn
4a5a2f5ba2 + set IMAGEBASE in the Z80 internal linker script
git-svn-id: trunk@45568 -
2020-06-02 23:01:07 +00:00
nickysn
996ab2feba * renamed some REL sections to follow a similar naming convention
git-svn-id: trunk@45566 -
2020-06-02 22:44:57 +00:00
nickysn
a91b42bd8d + add .text, .data and .bss exe sections and define the entry point in the ZX Spectrum internal linker script
git-svn-id: trunk@45560 -
2020-06-01 22:37:37 +00:00
nickysn
996eaf16b3 + override TInternalLinkerZXSpectrum.GetCode/Data/BssSize to avoid access violation error
git-svn-id: trunk@45550 -
2020-06-01 14:02:10 +00:00
nickysn
7eb782446e + create a linker script for the ZX Spectrum internal linker
git-svn-id: trunk@45549 -
2020-06-01 13:54:27 +00:00
nickysn
b2714052d1 + override TInternalLinkerZXSpectrum.InitSysInitUnitName
git-svn-id: trunk@45546 -
2020-06-01 13:10:39 +00:00
nickysn
4a296c9f5d * enable the Z80 internal linker (not working yet) if the compiler is compiled with the Z80_INTERNAL_LINKER define
git-svn-id: trunk@45542 -
2020-05-31 19:39:12 +00:00
nickysn
2353b1adee + started work on the Z80 internal linker
git-svn-id: trunk@45528 -
2020-05-29 18:13:18 +00:00
nickysn
362d2b50df + enable the Z80 internal assembler
git-svn-id: trunk@45493 -
2020-05-25 00:32:55 +00:00
florian
4559620efa * patch by Reynaldo to generate kernel image for the raspi2 embedded port, resolves #27052
git-svn-id: trunk@45365 -
2020-05-14 21:16:12 +00:00
florian
a4695a7015 * xtensa-embedded: fix setting of the fpu and abi
git-svn-id: trunk@45270 -
2020-05-05 20:41:36 +00:00
florian
a61e18091a * compilation with -Oodfa fixed
git-svn-id: trunk@45218 -
2020-05-02 09:29:36 +00:00
nickysn
950c1d1693 + enable the Z80 internal asm (which doesn't work, yet) if the compiler is compiled with -dZ80_INTERNAL_ASM
git-svn-id: trunk@45215 -
2020-05-02 02:35:03 +00:00
Károly Balogh
695a260ff8 zxspectrum: added support for linking via vlink, and for pascal sysinit code. also some cleanup in the linker code
git-svn-id: trunk@45169 -
2020-04-29 01:32:48 +00:00
nickysn
573d69c8fe * unfortunately tf_smartlink_sections is mutually exclusive with
tf_smartlink_library, and defining both breaks sdasz80, so put this behind
  ifdef Z80_SMARTLINK_SECTIONS

git-svn-id: trunk@45153 -
2020-04-28 15:14:39 +00:00
Károly Balogh
23fc0fe66a z80: added quick & dirty vasm assembler support to the target
git-svn-id: trunk@45152 -
2020-04-28 01:23:31 +00:00
nickysn
a857e60dc1 * tsystemcpu.cpu_sys_z80 renamed .cpu_z80 for consistency with the other values in the enum.
git-svn-id: branches/z80@45140 -
2020-04-27 15:50:29 +00:00
nickysn
085fdcf3ab * moved the ZX Spectrum program load address lower, so we could fit more code and data
git-svn-id: branches/z80@45093 -
2020-04-26 12:30:05 +00:00
nickysn
55f12aac03 + added the tf_no_objectfiles_when_smartlinking target flag to z80-zxspectrum and z80-embedded
git-svn-id: branches/z80@45083 -
2020-04-26 10:22:07 +00:00
nickysn
b1f7770845 + enable tf_smartlink_library and support library-based smartlinking on the z80-embedded target
git-svn-id: branches/z80@45082 -
2020-04-26 10:19:06 +00:00
nickysn
f74d7f1059 * switch back to using an unscripted ar for the ZX Spectrum target
git-svn-id: branches/z80@45081 -
2020-04-26 10:11:20 +00:00
nickysn
f6ab9729fb * fixed writing sdcc-sdldz80 library files to the linker script
git-svn-id: branches/z80@45077 -
2020-04-25 21:09:56 +00:00
nickysn
fdbf1f4b7f + supported scripted sdcc-sdar
git-svn-id: branches/z80@45073 -
2020-04-25 15:39:46 +00:00
nickysn
8bd38e0e29 + added new ar - sdcc-sdar
git-svn-id: branches/z80@45072 -
2020-04-25 15:28:35 +00:00
nickysn
3580c53b05 + enabled library-based smart linking for the ZX Spectrum target (not fully working yet)
git-svn-id: branches/z80@45071 -
2020-04-25 14:09:38 +00:00
nickysn
86643f8a34 * synchronized with trunk
git-svn-id: branches/z80@44981 -
2020-04-21 23:36:44 +00:00
svenbarth
e01de80981 * register the DLL scanner for aarch64-win64
git-svn-id: trunk@44950 -
2020-04-21 06:06:40 +00:00
svenbarth
3af74d2fd2 + implement initial compiler support for Win64 on Aarch64
git-svn-id: trunk@44914 -
2020-04-21 06:04:22 +00:00
svenbarth
3e29742fd9 * for PE+ specific checks use a constant in systems.pas instead of an explicit list (easier to extend this way)
git-svn-id: trunk@44912 -
2020-04-21 06:04:10 +00:00
nickysn
168c009bc3 - removed the 'sdcc-' prefix of sdasz80 and sdldz80
git-svn-id: branches/z80@44900 -
2020-04-20 23:50:45 +00:00
nickysn
d57ffc4745 * changed the object file format for z80-embedded and z80-zxspectrum to .rel
git-svn-id: branches/z80@44899 -
2020-04-20 23:36:15 +00:00
nickysn
2f68090dd6 * synchronized with trunk
git-svn-id: branches/z80@44898 -
2020-04-20 22:42:08 +00:00
nickysn
0f323df7a3 * synchronized with trunk
git-svn-id: branches/z80@44873 -
2020-04-19 21:10:31 +00:00
florian
8ac8c79a71 + initial support for arm-freertos largely based on patch by Michael Ring
git-svn-id: trunk@44871 -
2020-04-19 20:59:52 +00:00
nickysn
77058d0877 + write the origin to the linker map file
git-svn-id: branches/z80@44859 -
2020-04-19 16:20:29 +00:00
nickysn
e72a5314eb - cleaned up some of the commented out code from t_zxspectrum
git-svn-id: branches/z80@44855 -
2020-04-19 15:11:25 +00:00
nickysn
b85f62a3e1 + invoke the ihx2tzx utility after successful linking for the ZX Spectrum platform, in order to produce
a .tzx file (that's a ZX Spectrum tape file format, used and supported by emulators)

git-svn-id: branches/z80@44854 -
2020-04-19 15:10:05 +00:00
nickysn
4b32780516 + set the program origin (i.e. the load address) and pass it to the linker for the ZX Spectrum target
git-svn-id: branches/z80@44853 -
2020-04-19 15:02:22 +00:00
florian
7eff3adbcb * adapted xtensa-freertos to work with the currently stable ESP-IDF 4.0, partially based on a patch by Michael Ring
git-svn-id: trunk@44850 -
2020-04-19 13:28:42 +00:00
nickysn
034ac3be18 * fixed warning in t_zxspectrum
git-svn-id: branches/z80@44831 -
2020-04-19 04:48:12 +00:00
nickysn
4b11433d63 * fixed warning in t_embed
git-svn-id: branches/z80@44819 -
2020-04-19 01:40:16 +00:00
nickysn
3deeff689a + added a ZX Spectrum target to the compiler
git-svn-id: branches/z80@44815 -
2020-04-19 01:09:03 +00:00
nickysn
1cfbae82c6 * synchronized with trunk
git-svn-id: branches/z80@44710 -
2020-04-12 20:45:34 +00:00