Commit Graph

58674 Commits

Author SHA1 Message Date
nickysn
1813727faf + support addr_full in the sdcc-sdasz80 asm writer
git-svn-id: branches/z80@44896 -
2020-04-20 21:38:31 +00:00
nickysn
bee3e9c354 + make use of normalize_ref in tcgz80.a_load_reg_ref
git-svn-id: branches/z80@44895 -
2020-04-20 21:34:10 +00:00
nickysn
a7b69cd18b - removed make_simple_ref, because normalize_ref should be used instead
git-svn-id: branches/z80@44894 -
2020-04-20 20:52:07 +00:00
nickysn
0d6e59e9ef + actually return the proper (HL) reference result in tcgz80.normalize_ref
git-svn-id: branches/z80@44893 -
2020-04-20 20:49:45 +00:00
nickysn
5c138c341f + added an output parameter to tcgz80.normalize_ref, that returns a list of the registers that were
actually used, so they can be freed after the reference is used.

git-svn-id: branches/z80@44892 -
2020-04-20 20:46:30 +00:00
nickysn
fc991af9d1 + added tregisterlist - dynarray of tregister, and methods get/uncpuregisters for allocating/freeing
a dynamic list of registers

git-svn-id: branches/z80@44891 -
2020-04-20 20:42:16 +00:00
nickysn
882522259e + initial implementation of tcgz80.normalize_ref
git-svn-id: branches/z80@44890 -
2020-04-20 20:27:08 +00:00
nickysn
6e1dd417cf + only allow the first operand to be a condition
git-svn-id: branches/z80@44886 -
2020-04-20 17:07:21 +00:00
nickysn
a6e72713ad + support conditions in the Z80 inline assembler
git-svn-id: branches/z80@44885 -
2020-04-20 17:02:03 +00:00
nickysn
e5f4419694 + also support local labels in the Z80 inline assembler reader
git-svn-id: branches/z80@44884 -
2020-04-20 16:08:13 +00:00
nickysn
90fa75fb7a + support labels in the Z80 inline assembler
git-svn-id: branches/z80@44883 -
2020-04-20 15:49:11 +00:00
nickysn
0f323df7a3 * synchronized with trunk
git-svn-id: branches/z80@44873 -
2020-04-19 21:10:31 +00:00
nickysn
04a4ff3f3f * loop forever in fpc_do_exit in the ZX Spectrum RTL
git-svn-id: branches/z80@44869 -
2020-04-19 19:33:14 +00:00
nickysn
4bc5270f34 * jump to PASCALMAIN in the ZX Spectrum startup code
git-svn-id: branches/z80@44868 -
2020-04-19 19:32:30 +00:00
florian
be50c77f34 * regenerated
git-svn-id: trunk@44867 -
2020-04-19 19:22:05 +00:00
florian
c96a3cc9d1 + take care of OPTNEW when building utils
git-svn-id: trunk@44866 -
2020-04-19 19:07:43 +00:00
Jonas Maebe
6636f3f0dc * updated after changes
git-svn-id: trunk@44862 -
2020-04-19 17:34:22 +00:00
Jonas Maebe
26ec913725 * regenerated makefiles
git-svn-id: trunk@44861 -
2020-04-19 17:33:47 +00:00
Jonas Maebe
f81dac4f6f - remove ld.so.conf parsing from makefiles: this was probably done because we
used to completely replace the default linker script under Linux (which
    also includes search directories), and it's wrong in case of
    cross-compiling

git-svn-id: trunk@44860 -
2020-04-19 17:33:18 +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
pierre
0df2c867ca Set 'default' target to freertos in rtl/freertos directory
git-svn-id: trunk@44858 -
2020-04-19 16:02:39 +00:00
nickysn
f8d69601f2 + added makefiles for ihx2tzx
git-svn-id: branches/z80@44857 -
2020-04-19 15:58:29 +00:00
florian
14d46bccba * Xtensa: make use of extui for shifting with constant values >=16
git-svn-id: trunk@44856 -
2020-04-19 15:52:41 +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
nickysn
21dd92df23 + added Makefile for the ZX Spectrum rtl
git-svn-id: branches/z80@44852 -
2020-04-19 14:45:14 +00:00
nickysn
1cadaff1f9 - disable packages that don't build on the zxspectrum target
git-svn-id: branches/z80@44851 -
2020-04-19 14:21:27 +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
florian
5882e2935c * do all make targets in parallel, no issues found yet
git-svn-id: trunk@44849 -
2020-04-19 13:28:41 +00:00
nickysn
d959bdacd8 + support z80 and zxspectrum in fpmkunit
git-svn-id: branches/z80@44848 -
2020-04-19 13:20:11 +00:00
nickysn
b868d653bb * regenerated makefiles after sync with trunk
git-svn-id: branches/z80@44847 -
2020-04-19 13:00:50 +00:00
nickysn
60d092f2fd * synchronized with trunk
git-svn-id: branches/z80@44846 -
2020-04-19 12:25:44 +00:00
Károly Balogh
0d22ee477a rtl-extra: fix StrToHostAddr to not accept numbers outside of byte value range by silently wrapping them to a byte
git-svn-id: trunk@44845 -
2020-04-19 11:44:22 +00:00
florian
8cc76b4b33 * regenerated
git-svn-id: trunk@44844 -
2020-04-19 11:24:46 +00:00
florian
1643fc5210 + xtensa-embedded: patch by Christo Crause to check and support SUBARCH
git-svn-id: trunk@44843 -
2020-04-19 11:22:55 +00:00
florian
db19900eb1 * TARMAsmOptimizer.RemoveSuperfluousMove should not mess with PC
git-svn-id: trunk@44842 -
2020-04-19 11:04:31 +00:00
florian
c2df0f2300 * Xtensa: handle localsize > 32760
git-svn-id: trunk@44840 -
2020-04-19 08:41:32 +00:00
florian
7b2bd0b917 * Xtensa: generate better code for adding/subtracting 16 bit constants
git-svn-id: trunk@44839 -
2020-04-19 08:41:31 +00:00
florian
702e63e59f * build more units for FreeRTOS
git-svn-id: trunk@44838 -
2020-04-19 08:41:30 +00:00
florian
2edec13a0f * use j.l in external wrappers, this is not save yet as A15 might contain
an argument: externals need to be called with call4 if they use all
    parameter registers, this needs to be implemented

git-svn-id: trunk@44837 -
2020-04-19 07:37:45 +00:00
florian
a49a776307 * go through cg to generate jumps, so the right jump is generated always
git-svn-id: trunk@44836 -
2020-04-19 07:36:13 +00:00
nickysn
54980555ac + added PPSUF for z80 in makefile
git-svn-id: branches/z80@44835 -
2020-04-19 04:57:45 +00:00
nickysn
ed2c19293a - removed getopstr - unused function, causing warning
git-svn-id: branches/z80@44834 -
2020-04-19 04:54:38 +00:00
nickysn
fb9d7c1289 * fixed warning in agsdasz80
git-svn-id: branches/z80@44833 -
2020-04-19 04:52:33 +00:00
nickysn
fc9a5797dd * fixed warning in agz80asm
git-svn-id: branches/z80@44832 -
2020-04-19 04:50:32 +00:00
nickysn
034ac3be18 * fixed warning in t_zxspectrum
git-svn-id: branches/z80@44831 -
2020-04-19 04:48:12 +00:00
nickysn
bb0c9424f8 * another warning in cgcpu fixed
git-svn-id: branches/z80@44830 -
2020-04-19 04:46:09 +00:00
nickysn
8a5757e72b * fixed warnings in Z80 cgcpu
git-svn-id: branches/z80@44829 -
2020-04-19 04:44:26 +00:00
nickysn
44d4b5ea83 * fixed warnings in aoptcpu
git-svn-id: branches/z80@44828 -
2020-04-19 04:40:48 +00:00