Commit Graph

16 Commits

Author SHA1 Message Date
Károly Balogh
94693e5f70 sinclairql: make sure smsfuncs.inc is in sync with the one in packages
git-svn-id: trunk@49394 -
2021-05-22 09:43:31 +00:00
Károly Balogh
13f3cd2ae3 sinclairql: for setting the exit message of the default console, use a helper function instead.
git-svn-id: trunk@49365 -
2021-05-14 17:32:40 +00:00
Károly Balogh
6fbf4dfd90 sinclairql: introduce a way to override the system unit's console opening/closing and exit message via weakexternals
git-svn-id: trunk@49364 -
2021-05-14 15:26:31 +00:00
Károly Balogh
2f90dbbd44 sinclairql: implemented StackTop, this results in working stacktraces and working stack checking. Implemented a custom 5% stack safety margin and a system specific SysBackTraceStr()
git-svn-id: trunk@49201 -
2021-04-14 04:05:33 +00:00
Károly Balogh
da252e2f4b sinclairql: turn the anyKey string const into a pchar, this reduces the final binary size by 200-odd bytes
git-svn-id: trunk@49196 -
2021-04-13 10:20:29 +00:00
Károly Balogh
8128736233 sinclairql: also have a function which returns a pointer directly to the QLstring job name
git-svn-id: trunk@49191 -
2021-04-12 12:21:25 +00:00
Károly Balogh
3280ec3220 sinclairql: have a max. 48 char buffer for job name. set the job name to the program name by default on system unit init
git-svn-id: trunk@49190 -
2021-04-12 11:58:14 +00:00
Károly Balogh
f3a19aaf59 sinclairql: first version of working argc/argv generation. implemented ParamCount and ParamStr()
git-svn-id: trunk@49168 -
2021-04-10 15:12:45 +00:00
Károly Balogh
ca475537e8 sinclairql: instead of tinyheap, made the QL port to use the new OS heap by default, also implemented Randomize, based on patch by Norman Dunbar
git-svn-id: trunk@49150 -
2021-04-09 04:35:54 +00:00
pierre
44e39f454a Add basic support for setting argc and argv for sinclairql OS
git-svn-id: trunk@49134 -
2021-04-07 15:58:42 +00:00
ondrej
1a0ba60de6 * revert r47598: implement TRandomGenerator
git-svn-id: trunk@47605 -
2020-11-27 04:53:06 +00:00
ondrej
c4dd3b661a * rtl: implement TRandomGenerator for thread-safe random
git-svn-id: trunk@47598 -
2020-11-26 05:59:00 +00:00
Károly Balogh
f9d54b7cb7 sinclairql: system unit changes and improvements, patch by Marcel Kilgus in qlforum.co.uk, merged with minor tweaks
git-svn-id: trunk@47562 -
2020-11-24 19:55:13 +00:00
Károly Balogh
6f59167c64 sinclairql: more work on the QL port. very basic stdio (console writeln) works.
git-svn-id: trunk@47455 -
2020-11-19 04:51:56 +00:00
Károly Balogh
d5596ef21d sinclairql: initial heap allocation code, and minor system unit bits
git-svn-id: trunk@47351 -
2020-11-08 20:50:32 +00:00
Károly Balogh
18f364a497 + RTL skeleton for the Sinclair QL
git-svn-id: trunk@47310 -
2020-11-04 15:59:50 +00:00