Commit Graph

58857 Commits

Author SHA1 Message Date
svenbarth
a6f1c04f22 * Windows does not support a GOT, so rely on page relative addressing
git-svn-id: trunk@44916 -
2020-04-21 06:04:31 +00:00
svenbarth
dfde4def62 + add a GAS compatible variant of the Clang assembler (currently used for Aarch64-Win64 as no GNU AS exists for that target, yet)
git-svn-id: trunk@44915 -
2020-04-21 06:04:27 +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
5b941e3cea + implement relocations for Aarch64 for the internal COFF linker
git-svn-id: trunk@44913 -
2020-04-21 06:04:15 +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
f8b0c24024 + support pushing word-sized parameters in a_load_reg_cgpara
git-svn-id: branches/z80@44911 -
2020-04-21 03:48:36 +00:00
nickysn
2b4ed4e90d + inline assembler implementation of FillChar
git-svn-id: branches/z80@44910 -
2020-04-21 03:26:34 +00:00
nickysn
e261ea8e2b - disable some rtl/compiler features on the ZX Spectrum
git-svn-id: branches/z80@44909 -
2020-04-21 03:03:06 +00:00
nickysn
391990e456 * tg.direction is always -1 on the Z80
git-svn-id: branches/z80@44908 -
2020-04-21 03:02:43 +00:00
Károly Balogh
6630f47ab4 m68k-amiga: implemented LockDosList, UnlockDosList, and NextDosEntry helpers for legacy support
git-svn-id: trunk@44907 -
2020-04-21 03:01:17 +00:00
nickysn
d3e946b779 * fixed Z80 stack and temp allocation, so it doesn't have any wasted bytes
git-svn-id: branches/z80@44906 -
2020-04-21 02:51:44 +00:00
nickysn
1669254c5a + full RTL include, hidden behind ifdefs, because the code generator isn't able to compile it yet
git-svn-id: branches/z80@44905 -
2020-04-21 02:18:37 +00:00
nickysn
861ae0b139 + some rtl include files added
git-svn-id: branches/z80@44904 -
2020-04-21 02:11:52 +00:00
nickysn
aeafe0db40 + added math.inc and set.inc for Z80, empty for now
git-svn-id: branches/z80@44903 -
2020-04-21 02:05:10 +00:00
nickysn
6f874eefa6 + added keyboard input functions (ReadKey and KeyPressed) to the ZX Spectrum. Now you can start having fun! :)
git-svn-id: branches/z80@44902 -
2020-04-21 01:16:04 +00:00
nickysn
93be8bba50 + added fancier ZX Spectrum console output stuff: OpenChannel, Ink, Paper and GotoXY
git-svn-id: branches/z80@44901 -
2020-04-21 00:56:29 +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
557a481743 + use normalize_ref in tcgz80.a_load_ref_reg
git-svn-id: branches/z80@44897 -
2020-04-20 21:44:36 +00:00
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
florian
b4ff93c9fe + forgotten files added
git-svn-id: trunk@44889 -
2020-04-20 20:08:19 +00:00
svenbarth
068f0d2ec8 * fix for Mantis #36935: apply patch by J. Gareth Moreton to fix a typo in cs_opt_remove_empty_proc
git-svn-id: trunk@44888 -
2020-04-20 18:42:30 +00:00
svenbarth
752ff32333 * fix WinAPI directive: the purpose is to present the OS' default calling convention which for Windows means stdcall (at least on those platforms that support stdcall) on other platforms it is cdecl (for now)
git-svn-id: trunk@44887 -
2020-04-20 18:29:28 +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
pierre
cd6de6a4ca Regenerate all Makefiles
git-svn-id: trunk@44882 -
2020-04-20 13:58:47 +00:00
pierre
3f9e6aa6b9 Add handling of sparc64-linux and pass -m32/-m64 to $CROSSGCC call
git-svn-id: trunk@44881 -
2020-04-20 13:57:26 +00:00
pierre
4d25558519 * Use off_t type for l_start and l_end fields instead of kernel_off_t
+ Distinguish rlim_t type depending on fs32bit macro being set or not.

git-svn-id: trunk@44879 -
2020-04-20 09:50:07 +00:00
pierre
4888c379c4 Use same field type and name as in /ust/include/sys/stat.h
git-svn-id: trunk@44878 -
2020-04-20 09:37:55 +00:00
ondrej
d1acd07e07 fpImage: fix HtmlColorNameToFPColorMap (TFPColor components are Word not Byte)
git-svn-id: trunk@44877 -
2020-04-20 08:41:18 +00:00
pierre
4b5f37c2a7 Correctly update after commit 44871
git-svn-id: trunk@44876 -
2020-04-19 21:48:58 +00:00
pierre
57809eb922 Add several missing -T options in help
git-svn-id: trunk@44875 -
2020-04-19 21:40:40 +00:00
nickysn
0f323df7a3 * synchronized with trunk
git-svn-id: branches/z80@44873 -
2020-04-19 21:10:31 +00:00
pierre
a76c0db9dd Update after commit 44790
git-svn-id: trunk@44872 -
2020-04-19 21:09:08 +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
florian
0750fdf410 * xtensa-freertos requires also SUBARCH being set
git-svn-id: trunk@44870 -
2020-04-19 20:59:50 +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