|
t0xic_kitt3n
|
 |
« Reply #15 on: 22 August, 2011, 07:08:32 » |
0
|
The rs232 is stdout, using printf in ndless programs outputs to there.
|
|
|
|
|
Logged
|
██████ ██ ██ ███████ ████ ██ ██ ██ ███████ █ ██ █ ██ ██ ██ █ ██ ██ ████ ███ ███ ██ █ ██ ██ ██ ██ ██ ██ ██ ██ ███████ ██ ██ ██ ██ ██ █ ██ ██ ██ ███████ ██ █ ██ ██████ █████ ██ ██ ██ ██ █ ██ █████ ██ ██ ██ ██ █ ██ ███ ██████ ██ ██ ██ █ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ █ ██ ██ ██ ██ ██ ██ ██ █ ████ ██ ██ ███████ █████ ██ ██ ██ ██ ███████
|
|
|
ExtendeD
Coder Of Tomorrow
LV8 Addict (Next: 1000)
Offline
Gender: 
Last Login: Today at 07:34:38
Date Registered: 02 January, 2010, 13:03:41
Location: France
Posts: 774
Total Post Ratings: +154
|
 |
« Reply #16 on: 22 August, 2011, 22:28:48 » |
0
|
Nice compu  I really should export Ndless's program launcher to let you call it instead of replicating it in your shell. This would avoid: - bugs duplication such as the missing clear_cache() in your code which may make the launch crash in some conditions - breaking your shell if the program format changes, which may happen when new features are included (such as compatibility flags or other programs metadata)
|
|
|
|
|
Logged
|
|
|
|
compu
LV5 Advanced (Next: 300)
   
Online
Gender: 
Last Login: Today at 11:39:10
Date Registered: 09 January, 2011, 22:45:52
Location: Germany
Posts: 229
Topic starter
Total Post Ratings: +53
|
 |
« Reply #17 on: 10 September, 2011, 21:14:36 » |
0
|
Update  - Using on-screen console instead of RS232 - Launched programs can use Nspire I/O to write to (and read from) rshell's console - Programs that need to be run with rshell have the header "RSH\0" instead of "PRG\0" to prevent errors when launching with the standard loader - Included program rshell_header.exe to replace "PRG\0" with "RSH\0" - Launching a program does not require the .tns ending anymore (for example you can type "ls" instead of "ls.tns") My solution isn't very memory-efficient yet, because I didn't get shared variables/functions to work.
|
|
|
|
Logged
|
|
|
|
|
t0xic_kitt3n
|
 |
« Reply #18 on: 11 September, 2011, 05:48:28 » |
0
|
Is that a run indicator I see in the corner?
|
|
|
|
|
Logged
|
██████ ██ ██ ███████ ████ ██ ██ ██ ███████ █ ██ █ ██ ██ ██ █ ██ ██ ████ ███ ███ ██ █ ██ ██ ██ ██ ██ ██ ██ ██ ███████ ██ ██ ██ ██ ██ █ ██ ██ ██ ███████ ██ █ ██ ██████ █████ ██ ██ ██ ██ █ ██ █████ ██ ██ ██ ██ █ ██ ███ ██████ ██ ██ ██ █ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ █ ██ ██ ██ ██ ██ ██ ██ █ ████ ██ ██ ███████ █████ ██ ██ ██ ██ ███████
|
|
|
compu
LV5 Advanced (Next: 300)
   
Online
Gender: 
Last Login: Today at 11:39:10
Date Registered: 09 January, 2011, 22:45:52
Location: Germany
Posts: 229
Topic starter
Total Post Ratings: +53
|
 |
« Reply #19 on: 11 September, 2011, 12:21:53 » |
0
|
Unfortunately not, it is a bug. 
|
|
|
|
|
Logged
|
|
|
|
compu
LV5 Advanced (Next: 300)
   
Online
Gender: 
Last Login: Today at 11:39:10
Date Registered: 09 January, 2011, 22:45:52
Location: Germany
Posts: 229
Topic starter
Total Post Ratings: +53
|
Update: Made compatible with Nspire I/O 2.0. + I have ported argtable2 which allows us to have fancy command-line arguments, and therefore to create powerful console applications  Download can be found at http://nspforge.unsads.com/p/rshell/downloaderAnd a screenshot of what argtable2 can do:
|
|
|
|
Logged
|
|
|
|
|