|
I've been poking around with my NXT, and as usual I've decided to bite off more
than I can chew.
In trying to discover a way to *unset* pixels on the display without wiping the
whole thing, I've been sifting through some of the less-discussed macros in the
NXCDefs.h and NXTDefs.h files.
I'm curious about the following ones. Given that the display is 100x64 pixels,
or 6400 bits, or 800 bytes, the macros for Set/GetDisplayNormal() and
Set/GetDisplayPopup() look for all the world like they're addressing screen
memory. Is that the case? Am I totally off my rocker?
If so, any suggestions for another way around this, or do I need to write my own
firmware?
Oh - and are Normal/Popup really a pair of screen buffers like they look to be?
Jeff
> SetDisplayEraseMask(n)
> SetDisplayUpdateMask(n)
> SetDisplayDisplay(n)
> SetDisplayFlags(n)
> SetDisplayTextLinesCenterFlags(n)
> setDisplayNormal(x, line, cnt, data)
> SetDisplayPopup(x, line, cnt, data)
> GetDisplayEraseMask(n)
> GetDisplayUpdateMask(n)
> GetDisplayDisplay(n)
> GetDisplayFlags(n)
> GetDisplayTextLinesCenterFlags(n)
> GetDisplayNormal(x, line, cnt, data)
> GetDisplayPopup(x, line, cnt, data)
|
|
Message has 2 Replies: | | Re: What do these macros do?
|
| Ok, well, replying to my own message in the best of internet style... I got impatient and starting prodding. After a few hard resets, I came up with the following: Yes, the Get/SetDisplayNormal() permits you to write directly to screen memory. This (...) (18 years ago, 11-Jan-07, to lugnet.robotics.nxt, lugnet.robotics)
|
Message is in Reply To:
| | Not eXactly C beta release news
|
| Today I am releasing a new beta of NBC and its highly popular high-level sister Not eXactly C (NXC). It is available via the NBC website ((URL) sure to also download the latest BricxCC test release for updated NXT support for both NBC and NXC ((URL) (...) (18 years ago, 20-Dec-06, to lugnet.robotics.nxt, lugnet.robotics)
|
12 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
Robotics
|
|
|
|