Nikolay Nikolov
f3ffadb217
+ PS1: set the IsConsole and IsLibrary in the system unit startup
2024-10-05 00:11:13 +03:00
Nikolay Nikolov
9662462d10
+ PS1: implemented debug output via write/writeln (visible in emulator logs, same effect as printf)
2024-10-05 00:09:17 +03:00
Nikolay Nikolov
6914d812fd
+ PS1: initialize the unicode string manager
2024-10-04 23:57:48 +03:00
Nikolay Nikolov
f9ffdeaf9e
* PS1: initialize exceptions on system unit startup
2024-10-04 23:54:29 +03:00
Nikolay Nikolov
47b4506802
* PS1: call InitHeap to finish the Pascal part of the heap initialization
2024-10-04 23:23:30 +03:00
Nikolay Nikolov
322301ef0b
* PS1: initialize the heap with the proper addresses - between bss_end and StackBottom
2024-10-04 23:13:52 +03:00
Nikolay Nikolov
c24cae29d6
+ PS1: initialize StackLength and StackBottom
2024-10-04 16:45:12 +03:00
Nikolay Nikolov
1b26f5c3a3
- MIPS: removed functions get_fsr and set_fsr from the RTL in case the SoftFPU
...
is enabled, because they contain inline assembler, containing FPU code
2024-10-02 20:26:01 +03:00
Frederic Kehrein
23dd7a5173
Adding TNullPtr to types
...
Additional changes:
* Now using TNullPtr instead of custom type in TNullable
* Adding assignment of variants with TNulPtr to avoid name conflicts
* Adding comparison to TNullPtr (Pointers, TObjects, TNullable)
2024-10-02 05:30:09 +00:00
Nikolay Nikolov
aefca4c22b
+ enabled compilation of unit strings for the ZX Spectrum
2024-09-30 02:29:46 +03:00
Nikolay Nikolov
6ad30649ad
+ enabled compilation of unit uuchar for the ZX Spectrum
2024-09-30 02:27:12 +03:00
Nikolay Nikolov
4c7dd0810f
+ enabled compilation of unit objpas for the ZX Spectrum
2024-09-30 02:19:25 +03:00
Nikolay Nikolov
ed7da321f5
+ enabled compilation of the strings unit for PS1
2024-09-29 21:31:37 +03:00
Nikolay Nikolov
cdbbbf036b
+ enable compilation of the uuchar unit for the PS1 target
2024-09-29 21:28:32 +03:00
Nikolay Nikolov
f6c487dcd7
+ enabled the sysconst unit for the PS1 target
2024-09-29 21:26:20 +03:00
Nikolay Nikolov
d3af1091b6
+ enabled the ctypes unit for the PS1
2024-09-29 21:23:49 +03:00
Nikolay Nikolov
4b4365a013
+ enabled compilation of unit iso7185 for the PS1 target
2024-09-29 21:21:07 +03:00
Nikolay Nikolov
3a9024f0b7
+ define FPC_IS_SYSTEM in the PS1 system unit
2024-09-29 21:20:23 +03:00
Nikolay Nikolov
23a66d21bd
* PS1 system unit: moved constants that should be public to the interface part
2024-09-29 21:11:39 +03:00
Nikolay Nikolov
fc039aab28
+ PS1 system unit: include the softfpu code, in case the softfpu is enabled in
...
the compiler (it is still disabled by default)
2024-09-29 20:00:57 +03:00
Nikolay Nikolov
b900e5f611
+ added dependencies for the psy-q-sdk units to the PS1 RTL makefile. Fixes
...
parallel make.
2024-09-29 17:34:24 +03:00
Kirill Kranz
7e73ccf915
some psy-q-sdk bindings added to the rtl compilation
2024-09-29 16:59:02 +03:00
Kirill Kranz
2139180379
fixed
2024-09-29 16:59:02 +03:00
Kirill Kranz
19658ea42b
strt.pp removed from build
2024-09-29 16:59:02 +03:00
Kirill Kranz
66f73d466b
psy-q-sdk lib duplicate named *.o files excluded from link
2024-09-29 16:59:02 +03:00
Kirill Kranz
4ff2b54f70
dirs_ps1=ps1
2024-09-29 16:59:02 +03:00
Kirill Kranz
b639035415
moved the psy-q-sdk to the rtl/ps1 folder
2024-09-29 16:58:12 +03:00
Kirill Kranz
2f5cbbacb7
DynArrays works
...
because of InitHeap3, malloc3 and free3 functions from the psy-q-sdk
2024-09-29 16:58:12 +03:00
Kirill Kranz
ec2f18f8be
compiles cube.pas example
2024-09-29 16:56:18 +03:00
Kirill Kranz
52651a7ede
First compiler Build
2024-09-29 16:56:18 +03:00
Pierre Muller
abb5294b6e
Add CC_OPT for riscv processors
2024-09-29 08:13:43 +00:00
florian
7d83cea8da
* fpc_varset_load takes a ptrint for set size
2024-09-23 22:34:23 +02:00
Rika Ichinose
9917350ef0
AVX2 CompareByte for i386.
2024-09-23 20:10:57 +00:00
Rika Ichinose
fc1050a834
Make use of CPUX86_HINT_BSX_DEST_UNCHANGED_ON_ZF_1 in Bsf*/Bsr*.
2024-09-22 08:33:44 +00:00
Rika Ichinose
1ecd60e90d
Align Win64 CONTEXT to 16 bytes.
2024-09-22 07:57:00 +00:00
Rika Ichinose
3183902868
Import tlhelp32.h functions.
2024-09-22 07:55:12 +00:00
Rika Ichinose
b8fdd7148b
Simplify RTTIRecordOp.
2024-09-22 07:50:51 +00:00
Michaël Van Canneyt
aec11012e8
* Remove superfluous initialization of local variable. Fixes issue #40917
2024-09-13 16:09:36 +02:00
Pierre Muller
231bb3df8d
Change prt0.as and cprt0.as to allow to generate FreeBSD aarch64 13.2 executables
2024-09-13 11:57:16 +00:00
Pierre Muller
feb7d54553
Fix compilation of heaptrc unit using fixes branch bsd compiler
2024-09-13 09:21:47 +00:00
florian
5c91c89aea
* avr: take advantage of sbiw in mod/div_word
...
+ test
2024-09-11 22:40:10 +02:00
florian
a867530056
* another fix of cosh/sinh overflow checking
2024-09-06 22:24:38 +02:00
florian
81ffe0ed36
* improved cosh/sinh argument checking
2024-09-05 22:21:56 +02:00
Rika Ichinose
b480979c53
Import TzSpecificLocalTimeToSystemTime.
2024-09-05 21:18:25 +03:00
florian
d4a2f67a6d
+ check argument range for cosh/sinh
2024-09-04 22:08:45 +02:00
Nikolay Nikolov
2dd0b55d04
* the fpc_invalidpointer rtl function declared compproc to allow easier calling
...
from the high level code generator
2024-09-03 18:04:52 +03:00
Nikolay Nikolov
00e5289967
* WebAssembly threads: fix race condition, which causes sometimes an abandoned
...
basic event to be reported as signalled. This should fix the test tbrtlevt.pp
sometimes failing.
2024-09-03 03:18:21 +03:00
Nikolay Nikolov
ccbc28dd85
* WebAssembly: fixed SysUtils.sleep() with large timeouts causing incorrect time
...
delay, due to arithmetic overflow
2024-09-03 02:30:14 +03:00
Nikolay Nikolov
0314ba9bfd
* WebAssembly threads: in TThread.WaitFor, call CheckSynchronize in a loop,
...
while waiting on a thread that isn't finished, but the waiting happens on the
main thread. This fixes the hang in test tb0636.pp
2024-09-03 01:19:51 +03:00
florian
1850eab89a
* ensure that the final assignment in the hyperbolic functions raises an exception if they overflow
2024-09-02 21:35:54 +01:00