4 Commits
Author SHA1 Message Date
lyrathorpe cbc66b2e03 docs: add sibo sdk docs 2026-07-06 17:27:17 +01:00
lyrathorpe 0b0fdc6652 docs(hello.c): remove comment about printf, was incorrect
my C is rusty it seems
2026-06-26 17:53:55 +01:00
lyrathorpe d8c80df020 feat(hello): add a Hellorld application
just the docs example, but better commented
2026-06-26 17:42:46 +01:00
lyrathorpe 679a300a67 docs(tsc): add some TODO in there 2026-06-26 17:42:13 +01:00
11 changed files with 92976 additions and 1 deletions
+15
View File
@@ -0,0 +1,15 @@
/*
* hello.c
*
* Hellorld application using Psion's "CLIB" - just plain C, no Psion extensions
*/
#include <stdio.h>
int main(VOID) {
printf("Hellorld!");
// Wait for a key to be pressed
getchar();
// Exit, not sure why 0 is being passed as it's a void? But this is the SDK example code
return(0);
}
+5
View File
@@ -0,0 +1,5 @@
#system epoc img
#model small jpi
#compile hello
#link hello
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+21638
View File
File diff suppressed because it is too large Load Diff
+4 -1
View File
@@ -1,2 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
EMU2_DRIVE_C=$HOME/.bin/psion-sibo-sdk EMU2_DRIVE_D=`pwd` EMU2_DEFAULT_DRIVE=D $HOME/.bin/emu2 $HOME/.bin/psion-sibo-sdk/TS/SYS/TSC.EXE $1 $2 -- 'PATH=%PATH%;C:\DOS;C:\TS\INCLUDE;C:\TS\SYS;C:\TS\LIB;C:\SIBOSDK\SYS;'
# TODO: Ensure all positional parameters get copied in properly, regardless of how many there are. Always before --
EMU2_DRIVE_C=$HOME/.bin/psion-sibo-sdk EMU2_DRIVE_D=$(pwd) EMU2_DEFAULT_DRIVE=D $HOME/.bin/emu2 $HOME/.bin/psion-sibo-sdk/TS/SYS/TSC.EXE $1 $2 -- 'PATH=%PATH%;C:\DOS;C:\TS\INCLUDE;C:\TS\SYS;C:\TS\LIB;C:\SIBOSDK\SYS;'