I think GetDisplayNormal has been broken. It will only read up to 255 bytes, instead of all 800. If you tell it to read 256+ bytes, the NXT locks up. I'm 99% sure it worked properly in the past.
I'm using BCC Version 3.3.8.10, dated 08/10/12 00:10:08
GetDisplayNormal broken?
-
- Posts: 1818
- Joined: 02 Oct 2010, 02:19
- Location: Michigan USA
- Contact:
GetDisplayNormal broken?
Matt
http://mattallen37.wordpress.com/
I'm all for gun control... that's why I use both hands when shooting
http://mattallen37.wordpress.com/
I'm all for gun control... that's why I use both hands when shooting
Re: GetDisplayNormal broken?
If this were broken it would almost certainly be something in the firmware that was changed. I vaguely recall, though, that my brother ran into trouble trying to read all 800 bytes from screen memory when he wrote the etch-a-sketch program that I included in NXT Power Programming. It has been so long since I fiddled around with that that I can't remember anymore for sure one way or another. But I am not so sure that it ever worked properly when you try to read all 800 bytes at once.
You could roll back to an older firmware version and/or compiler and see if you can get it to work. That would help me sort out when/where I may have broken something.
John Hansen
You could roll back to an older firmware version and/or compiler and see if you can get it to work. That would help me sort out when/where I may have broken something.
John Hansen
Multi-platform LEGO MINDSTORMS programming
http://bricxcc.sourceforge.net/
http://bricxcc.sourceforge.net/
Who is online
Users browsing this forum: Semrush [Bot] and 1 guest