Post Reply 
WP-34S: Safely copy a graphics register's contents
07-05-2014, 01:30 PM (This post was last modified: 07-05-2014 01:30 PM by Marcus von Cube.)
Post: #26
RE: WP-34S: Safely copy a graphics register's contents
I think I've found the bug:

in unsigned mode Your program seems to be buggy and creates coordinates out of the bounds bounds of the plot object. These values were mistreated as negative values in the range checking code of the plotting commands. I changed the code to use unsigned int instead of int so the range checking now works and the commands with invalid plot coordinates are simply ignored.

You code still doesn't work but the calculator no longer inadvertently modifies the program area. A new build is uploaded to SF. You can try it in the emulator.

Marcus von Cube
Wehrheim, Germany
http://www.mvcsys.de
http://wp34s.sf.net
http://mvcsys.de/doc/basic-compare.html
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: WP-34S: Safely copy a graphics register's contents - Marcus von Cube - 07-05-2014 01:30 PM



User(s) browsing this thread: 1 Guest(s)