Commit Graph

68674 Commits

Author SHA1 Message Date
Jonas Maebe
82f025e9e7 trealconstnode.printnodedata: fix currency values getting written to stdout 2023-12-04 22:52:39 +01:00
Karoly Balogh
1e066ba0bd human68k: one more rework after advices/reports from Pierre Muller, hopefully this fixes all remaning edge cases 2023-12-04 15:37:42 +01:00
Karoly Balogh
5c93f3e271 human68k: also fill the entire args buffer with zeros, for proper last argument termination 2023-12-03 23:49:51 +01:00
florian
3cd2cbcda8 * GetEpochTime (not used though it seems) should return time_t 2023-12-03 23:28:23 +01:00
Michaël Van Canneyt
fb9bcac2d3 * Better creation of self-signed certificates. Patch by Anton (@odisey1245). Fixes issue #40553 2023-12-03 21:39:24 +01:00
Karoly Balogh
a009cc5c35 human68k: fixed argv[0] generation, after figuring out that length() is something very different to strlen() 2023-12-03 14:22:53 +01:00
Karoly Balogh
d7812f6c05 human68k: fix zero termination of the last argument 2023-12-03 14:22:53 +01:00
Michaël Van Canneyt
37e4fed3d4 * Some small improvements, added some clarification to readme 2023-12-03 13:14:22 +01:00
Michaël Van Canneyt
68217c7cd0 * Subtarget support 2023-12-03 13:14:22 +01:00
Michaël Van Canneyt
1f874777af * More const for string params 2023-12-03 13:14:22 +01:00
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