Commit Graph

68614 Commits

Author SHA1 Message Date
Michaël Van Canneyt
4a0402f358 * Correct casing 2023-12-03 13:14:22 +01:00
Karoly Balogh
1fdd4f8c90 human68k: actually, the comm field coming from the OS is in ph68kdos_comline format, so use it accordingly 2023-12-03 12:14:22 +01:00
Karoly Balogh
a4c94c8b44 human68k: more work on getting tinyheap right. still doesn't seem to work, sadly, so still disabled 2023-12-03 12:14:22 +01:00
Karoly Balogh
b81b818a75 human68k: set default stack size to 16KiB 2023-12-03 12:14:22 +01:00
florian
1f91fe4b11 * fix output position of deprecated hint for certain cases where it was wrong, resolves #40534 2023-12-03 11:35:03 +01:00
Karoly Balogh
60473c7ead human68k: parse the arguments passed to the program, fill out argc/argv, make ParamCount and ParamStr() to work 2023-12-03 09:54:05 +01:00
Karoly Balogh
0b65c173b8 human68k: disable tinyheap, as there's some memory trashing going on with it, and use the regular one for now 2023-12-03 09:54:05 +01:00
Karoly Balogh
d009941744 human68k: setup the stack, then use setblock to limit the memory usage to the amount we're really using. this frees up RAM, and allows the heap allocator to work. 2023-12-03 09:54:05 +01:00
Karoly Balogh
932849c1bf human68k: refactored some type naming used in the startup code 2023-12-03 09:54:05 +01:00
Karoly Balogh
d85d6b4bac human68k: handle the OS malloc returning errors properly 2023-12-03 09:54:05 +01:00
Karoly Balogh
fef24dabd6 human68k: minimal DOS calls error handling/inoutres mapping 2023-12-03 09:54:05 +01:00
florian
e1e9a6728f * fix casing 2023-12-02 20:58:43 +01:00
J. Gareth "Curious Kit" Moreton
ccf631eabd * x86: Fixed inefficiencies revealed in "TEST/JNE/TEST/JNE"
optimisations after SkipAligns cull.

         A variant "TEST/JNE/TEST/JE/@Lbl" optimisation now exists to
	 accommodate for an intermediate jump optimisation that prevents
	 the original optimisation from working if performed first.
2023-12-02 18:25:19 +00:00
ccrause
248082347f AVR optimization LdsMov2Lds 2023-12-02 18:22:35 +00:00
Michaël Van Canneyt
c49123086d * Make string argument const. 2023-12-02 15:25:02 +01:00
Michaël Van Canneyt
cda64d090e * Make methods static so they are assignment compatible with regular procedures. 2023-12-02 15:10:32 +01:00
Michaël Van Canneyt
4e29cac57f * pcre available only on selected platforms 2023-12-02 15:01:09 +01:00
Michaël Van Canneyt
59cb93fcb4 $ Corrections for widestring use 2023-12-02 13:44:37 +01:00
Michaël Van Canneyt
8d2e2c6c21 * Add Delphi-compatible regular expressions based on libpcre 2023-12-02 13:44:37 +01:00
Michaël Van Canneyt
33917ee19b * Use prefix for enum 2023-12-02 13:44:37 +01:00
Henrique Gottardi Werlang
8a8699ab6a Fix for function Val to validate the parameter count of the function. 2023-12-01 22:13:57 +00:00
Pierre Muller
34ae77bd3b Improve GNU linker call for m68k-human68k target
+ Add '-b xfile' option
  + Add '-m human68kxfile' option
  + Add $GCSECTIONS and set GCSectionStr for GNU linker
2023-12-01 22:51:03 +01:00
Pierre Muller
f1e32bb187 Add human68k OS to list of supported OSes for m68k GNU assembler 2023-12-01 22:12:58 +01:00
Karoly Balogh
7ecb19f906 human68k: fixed a dumb typo on the bss start calculation. fixes FPC binaries under run68. 2023-12-01 21:03:07 +01:00
Karoly Balogh
42abb3395a human68k: implemented some basic file and I/O handling functions 2023-12-01 04:05:39 +01:00
Karoly Balogh
5649ce150b m68k: have the targets in alphabetical order in the help text 2023-12-01 01:45:23 +01:00
Karoly Balogh
f2c5bb2bfd regenerated msg*.inc files for the compiler after human68k merge 2023-12-01 01:38:56 +01:00
Karoly Balogh
442e9d2573 human68k: RTL works enough now to run a hello, world! 2023-11-30 23:43:27 +00:00
Karoly Balogh
9eda172a48 m68k: do not generate argument popping for a noreturn call 2023-11-30 23:43:27 +00:00
Karoly Balogh
439faf0da8 m68k: basic DOS syscall generation for human68k 2023-11-30 23:43:27 +00:00
Karoly Balogh
a398da4c72 human68k: fix xecutable generation 2023-11-30 23:43:27 +00:00
Karoly Balogh
998db01365 human68k: some forgotten regenned files 2023-11-30 23:43:27 +00:00
Karoly Balogh
e55f6dbb08 human68k: actually tell the build system where the rtl directory is 2023-11-30 23:43:27 +00:00
Karoly Balogh
679f2f75b3 human68k: regenerated Makefiles 2023-11-30 23:43:27 +00:00
Karoly Balogh
8d211f17b4 human68k: add support to fpmkunit 2023-11-30 23:43:27 +00:00
Karoly Balogh
ac0287b5e0 human68k: fpmake changes, disable everything that cannot be built currently 2023-11-30 23:43:27 +00:00
Karoly Balogh
d72eaaf734 human68k: ppudump typo/build fix 2023-11-30 23:43:27 +00:00
Karoly Balogh
ba773e3385 human68k: this system has internal sysinit 2023-11-30 23:43:27 +00:00
Karoly Balogh
5508272cd5 human68k: fpcmake support fixes, files regenerated 2023-11-30 23:43:27 +00:00
Karoly Balogh
c4c3c2a7aa human68k: add an RTL skeleton, almost nothing is implemented yet 2023-11-30 23:43:27 +00:00
Karoly Balogh
7bcd8dc883 human68k: have a README for the RTL 2023-11-30 23:43:27 +00:00
Karoly Balogh
cde3dd3a87 m68k: first bit of a Human68k RTL - a very dummy startup code 2023-11-30 23:43:27 +00:00
Karoly Balogh
33e9bd3c74 m68k: Human68k support for fpcmake 2023-11-30 23:43:27 +00:00
Karoly Balogh
3c34c8b86b tabs to spaces cosmetics. no functional change 2023-11-30 23:43:27 +00:00
Karoly Balogh
4a1db1dc79 m68k: initial compiler changes for Human68k (Sharp X68000) support 2023-11-30 23:43:27 +00:00
Michaël Van Canneyt
07a798f733 * Correct case label 2023-12-01 00:06:22 +01:00
Michaël Van Canneyt
eee6168fc1 * Add SHA224 hash 2023-11-30 14:58:00 +01:00
Michaël Van Canneyt
487f7bf4ab * Add SHA224 hash 2023-11-30 14:53:32 +01:00
Michaël Van Canneyt
fe243540a8 * System.Hash for Delphi compatibility 2023-11-30 12:14:12 +01:00
Michaël Van Canneyt
9586d3e674 * Dotted version of fnvhash.pp 2023-11-30 12:11:28 +01:00