To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.nxtOpen lugnet.robotics.nxt in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / NXT / 582
581  |  583
Subject: 
Adding syscalls/opcodes to NXT-G
Newsgroups: 
lugnet.robotics.nxt
Date: 
Wed, 21 Mar 2007 09:59:44 GMT
Viewed: 
19172 times
  
One of the biggest problems with extending the current FW is that the NI
compiler for NXT-G/NXTToolkit is not so flexible. In particular, one can't add
new syscalls.
Here's a suggestion I would be happy to hear your ideas on - the NXT-G compiler
has a WriteIOMap function which has as an input a binary U8 array. One can
change this syscall in the FW so when the module name is left empty (not a case
I believe ever happens in any existing NXT-G blocks) the FW takes the binary
array, wraps it and create from it a new program clump. This will allow
executing syscalls and several other opcodes from NXT-G.

Guy Ziv
NXTasy.org



Message has 1 Reply:
  Re: Adding syscalls/opcodes to NXT-G
 
(...) Can you flesh this out a bit? What do you have in mind when you say "create from it a new program clump"? The current version of the firmware limits the size of this buffer to 64 bytes. I increased that limit in my recent changes to be 800 (...) (18 years ago, 21-Mar-07, to lugnet.robotics.nxt)

3 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR