Commit Graph

45 Commits

Author SHA1 Message Date
Pierre Muller
3bf5c67485 Revert "Add missing dependency on types unit for math unit"
This reverts commit 1f01ba4bc0.
2025-04-03 12:07:18 +00:00
Pierre Muller
1f01ba4bc0 Add missing dependency on types unit for math unit 2025-04-03 11:58:59 +00:00
Nikolay Nikolov
97fde50101 * regen makefiles 2025-03-10 22:39:51 +02:00
Nikolay Nikolov
bf0c724d80 * regen makefiles 2025-02-28 15:12:20 +02:00
Nikolay Nikolov
12c494cc0f * update makefiles 2025-02-28 15:12:19 +02:00
Pierre Muller
930596bd85 Fix directories for some source files, based on suggestion by Alfred Glänzer in #40995 2024-11-19 22:12:31 +00:00
Kirill Kranz
dad75d4472 clearing the bss section on startup
this allows smart linking
2024-11-09 09:27:27 +00:00
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
37b7835b12 + added unit unix98pty. Only enabled for linux, for now, but can be enabled in the future on other unix-likes. 2024-10-19 16:11:25 +03:00
Kirill Kranz
c883760ae7 removed setTile1 2024-10-18 17:40:56 +02:00
Kirill Kranz
c1f9d4998b added OBJPASUNIT dependency 2024-10-18 17:35:44 +02:00
Kirill Kranz
53df6927c5 removed unpreaty line endings / beginnings 2024-10-18 17:33:06 +02:00
Kirill Kranz
192b8a8bff fixes the psy-q-sdk dependencies 2024-10-18 16:59:07 +02:00
Kirill Kranz
ccc6fa0ec6 psy-q-sdk bindings 2024-10-18 11:19:27 +02:00
Kirill Kranz
987d2174a3 all the strings.h functions are in libstd.pas 2024-10-05 01:26:03 +02:00
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