Hello
I was wondering if you could compile NXC/NBC code as a RTM (Try-Me) file or SYS (System File). In the "LEGO MINDSTORMS Power Programming" book it said that you could but I don't think it said how.
Compile NXC/NBC code as RTM/SYS
Re: Compile NXC/NBC code as RTM/SYS
I've always wondered - what does a NXT .sys file do? Does it interact with the FW?
Commit to LEGO Mindstorms Robotics Stack Exchange:
bit.ly/MindstormsSE
Commit to LEGO Stack Exchange: bit.ly/Area51LEGOcommit
-
- Posts: 224
- Joined: 30 Oct 2010, 04:10
- Location: 127.0.0.1
- Contact:
Re: Compile NXC/NBC code as RTM/SYS
i think it is part of the FW
probably done with labview
I'll try to decompile it with bricx later
probably done with labview
I'll try to decompile it with bricx later
Commit to Lego Mindstorms StackExchange Q&A http://area51.stackexchange.com/proposals/4105
Minboards IRC Channel #mindboards on Freenode
My blog: http://timpattinson.wordpress.com/
Minboards IRC Channel #mindboards on Freenode
My blog: http://timpattinson.wordpress.com/
Re: Compile NXC/NBC code as RTM/SYS
Yes. The 'On Brick NXT Program' uses a file called 'RPGReader.sys'. You can download a open source version from here: http://bricxcc.sourceforge.net/nbc/samplesmuntoo wrote:I've always wondered - what does a NXT .sys file do? Does it interact with the FW?
Re: Compile NXC/NBC code as RTM/SYS
The NXT firmware doesn't do anything with .sys files other than RPGReader.sys. It is just a renamed .rxe executable.
You can turn on the "save compiler output" option in Preferences and manually rename the resulting .rxe file as .rtm to turn it into a Try Me program. The only change is where it shows up in the NXT menu system. I don't know why anyone would care whether their program showed up as a regular program or a try me program on the NXT.
John Hansen
You can turn on the "save compiler output" option in Preferences and manually rename the resulting .rxe file as .rtm to turn it into a Try Me program. The only change is where it shows up in the NXT menu system. I don't know why anyone would care whether their program showed up as a regular program or a try me program on the NXT.
John Hansen
Multi-platform LEGO MINDSTORMS programming
http://bricxcc.sourceforge.net/
http://bricxcc.sourceforge.net/
Who is online
Users browsing this forum: No registered users and 0 guests