Subject:
|
Re: Text Based Programming for NXT - pbLua is Available
|
Newsgroups:
|
lugnet.robotics.nxt
|
Date:
|
Thu, 18 Jan 2007 20:57:03 GMT
|
Viewed:
|
12353 times
|
| |
| |
Hi Ralph, it's great to see this. I'm eager to have a play. Apologies if I've
been part of the bother with sending you emails.
In releasing details of your toolset, are you revealing your source code too?
Both would be an enormous help to people like me who are looking for a stable
starting platform to build their own firmware tweaks.
I have a lot of things I'd like to try and do with the display, and obviously
feed back in if they all work out. It might be secondary to most people, but
there are a few games for the NXT already and I'd like to put together libraries
that make them much more sophisticated, as well as having some off-shoots for
technical solutions.
My main idea is a series of screen modes. The very basic mode 0 would just
store 160 bytes of data in a 16x8 grid. The routine that refreshes the display
would pull the binary images from a 6x8 font on-the-fly, so you wouldn't need to
store a bitmap of the display anywhere in memory. That'd save you 640 bytes of
RAM.
You'd then have a mode 1 which did the same with a 4x6 font.
The next, mode 2, would be the full 100x64 bit-mapped display we normally get.
Then there are other tricks you can do. How about modes 3 and 4 that are a
combination of both display types? The LCD refresher would generate text
characters from the 160 byte text screen, but in the empty spaces the 100x64
bitmap would show through.
Graphics and text functions would be separate, so then you could draw graphics
and have status or debug text messages on display, but not have them interfere
or push each other off the screen. Of course you'd need two distinct functions
for text, one to place text in character positions and another to plot it at a
pixel position.
Does anyone else think that these things would be useful? I'm not trying to
push aything on Ralph here, but this is the sort of thing I'd like to have a
crack at.
Jason R
|
|
Message has 1 Reply:
Message is in Reply To:
| | Text Based Programming for NXT - pbLua is Available
|
| All, For those of you that have been asking the question: "When will we get a simple text-based programming environment for the NXT?" I can now announce the availability of pbLua Beta 1 at: (URL) This is an implementation of Lua 5.1 for the NXT, and (...) (18 years ago, 16-Jan-07, to lugnet.robotics.nxt) !
|
28 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
Active threads in NXT programmable brick
|
|
|
|