Commit Graph

19 Commits

Author SHA1 Message Date
Kirill Kranz
c3ad885277 set stack top to 801FFFF0 as in system.cnf 2024-11-09 09:27:27 +00:00
Kirill Kranz
f6726b6a87 InitHeap to aligned size 2024-11-09 09:27:27 +00: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
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
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