Commit Graph

68636 Commits

Author SHA1 Message Date
Michaël Van Canneyt
a546d4e64d * Fix time argument of X509GmtimeAdj. Fixes issue #40555 2023-12-06 09:57:15 +01:00
Karoly Balogh
005cb5914c human68k: implemented do_rename 2023-12-06 04:41:28 +01:00
Karoly Balogh
8ceeb8d165 human68k: pre-fetch the version number of the OS during startup. and store it for easy access 2023-12-06 04:41:28 +01:00
Karoly Balogh
34519c67a1 human68k: implemented do_chdir 2023-12-06 04:41:28 +01:00
Michaël Van Canneyt
09397bd542 * Delphi-compatible Record-based Regex API 2023-12-05 15:38:49 +01:00
Karoly Balogh
14cee4c152 human68k: implemented do_getdir (based on the Atari version) 2023-12-05 11:25:03 +01:00
Karoly Balogh
70839bd7f4 human68k: cosmetics, no functional change 2023-12-05 09:53:42 +01:00
Karoly Balogh
93a257ab29 human68k: try not to nuke immediately during argument parsing, if memory allocation fails 2023-12-05 09:52:52 +01:00
Karoly Balogh
e867fce883 human68k: implemented do_open (based on the Atari version) 2023-12-05 09:49:22 +01:00
Jonas Maebe
958f30f192 webtbs/tw10641.pp: skip for Darwin (it does not support these relocations) 2023-12-04 22:52:39 +01:00
Jonas Maebe
aa3f29eec8 LLVM: recognise Xcode-15 as LLVM codegen target 2023-12-04 22:52:39 +01:00
Jonas Maebe
24fcd05e8c LLVM: only round currency values when storing them back to memory
Resolves #40550
2023-12-04 22:52:39 +01:00
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