Commit Graph

15 Commits

Author SHA1 Message Date
Károly Balogh
53674e387f sinclairql: include qdosh.inc directly. this will allow easier sharing of qdosfuncs.inc with the qlunits package
git-svn-id: trunk@49308 -
2021-05-01 11:48:39 +00:00
Károly Balogh
c9b90ccde0 m68k: sinclair ql now requires vlink 0.16h or newer.
git-svn-id: trunk@49296 -
2021-04-29 22:23:58 +00:00
Károly Balogh
6dbcd17f54 sinclairql: hopefully fix off-by-one processing in the packed relocs code
git-svn-id: trunk@49232 -
2021-04-19 05:42:18 +00:00
Károly Balogh
0d5260396c sinclairql: added startup code support for the 'packed' relocation table format in vlink. disabled for now.
git-svn-id: trunk@49211 -
2021-04-16 17:03:41 +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
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
80d549a734 sinclairql: further tweaks to the startup code. enable optimizations. mark functions as noreturn to save a few bytes
git-svn-id: trunk@49144 -
2021-04-08 23:51:48 +00:00
Károly Balogh
ab0de8eec0 sinclairql: fix and simplify the startup code changes in r49134. accessing global variables is not possible before relocation
git-svn-id: trunk@49143 -
2021-04-08 23:33: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
Károly Balogh
2294472ac7 sinclairql: changed startup code to be able to run directly as job without a BASIC loader. based on a patch by Marcel Kilgus in qlforum.co.uk
git-svn-id: trunk@47570 -
2020-11-25 04:42:44 +00:00
Károly Balogh
2a733aa751 sinclairql: fixed the relocation marker comment in the startup code. no functional change
git-svn-id: trunk@47432 -
2020-11-15 23:19:38 +00:00
Károly Balogh
f2ee1dae52 sinclairql: startup code fixes. set the top of the new stack as stack pointer, not the bottom of it. initialize the .bss section following the new linker script. better protection against re-relocation.
git-svn-id: trunk@47429 -
2020-11-15 22:59:33 +00:00
Károly Balogh
b425c97fce sinclairql: implemented startup code, including binary relocation and stack allocation
git-svn-id: trunk@47349 -
2020-11-08 20:48:04 +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