Commit Graph

29 Commits

Author SHA1 Message Date
Kirill Kranz
fe6e7430ce ordinary malloc doesn't work, so malloc2 2024-10-05 01:25:18 +02:00
Nikolay Nikolov
94e399faf7 * PS1: clamp the stack size, so it doesn't exceed the maximum memory available (minus 1k for heap) 2024-10-05 00:41:40 +03:00
Nikolay Nikolov
73aa2fd266 + PS1: initialize the thread manager in the system unit 2024-10-05 00:18:21 +03:00
Nikolay Nikolov
dacbca0379 + PS1: add const AllFilesMask to the system unit 2024-10-05 00:15:59 +03:00
Nikolay Nikolov
9eaf79d30c + comment (no functional changes) 2024-10-05 00:13:36 +03:00
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
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
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