Compare commits
4
Commits
b8cdb7a5f8
..
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cbc66b2e03 | ||
|
|
0b0fdc6652 | ||
|
|
d8c80df020 | ||
|
|
679a300a67 |
@@ -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);
|
||||||
|
}
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
#system epoc img
|
||||||
|
#model small jpi
|
||||||
|
|
||||||
|
#compile hello
|
||||||
|
#link hello
|
||||||
+4877
File diff suppressed because it is too large
Load Diff
Executable
+8565
File diff suppressed because it is too large
Load Diff
+5317
File diff suppressed because it is too large
Load Diff
+11144
File diff suppressed because it is too large
Load Diff
+21059
File diff suppressed because it is too large
Load Diff
+9417
File diff suppressed because it is too large
Load Diff
+10935
File diff suppressed because it is too large
Load Diff
Executable
+21638
File diff suppressed because it is too large
Load Diff
@@ -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;'
|
||||||
|
|||||||
Reference in New Issue
Block a user