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 / 371
370  |  372
Subject: 
Re: Text Based Programming for NXT - pbLua is Available
Newsgroups: 
lugnet.robotics.nxt
Date: 
Thu, 18 Jan 2007 20:57:03 GMT
Viewed: 
11932 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:
  Re: Text Based Programming for NXT - pbLua is Available
 
(...) This would definitely be useful for me! I am currently programming an interface for controling a train layout. This is the kind of thing that needs good graphics. There is a lot of situation where advanced graphics are useful in robotics. (...) (17 years ago, 20-Jan-07, to lugnet.robotics.nxt)

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 (...) (17 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
    

Custom Search

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