Login
Back to forumSee the full topicGo to last reply

Posted By

Csabo
on 2014-09-26
11:00:52
 Re: Basic bug?

Good find! I can confirm that indeed -32768 is the only one that produces the error message.

Though my hunch is that it's not an equal versus smaller-than issue. If they wanted to limit it to 16 bit values, the probably would have put in an upper barrier as well. 32767 is the highest one working correctly, above that, you get the same "value truncation" as with negative numbers, and none of the values give the error.

So yeah, it is odd. Not sure of the exact cause, I don't have time to track it down, but with YAPE and/or the ROM disassembly plus patient, you could just step through it.



Back to top


Copyright © Plus/4 World Team, 2001-2024. Support Plus/4 World on Patreon