Casting boolean to int

That's nice. What part of "some chips/systems" is stumping you?

I am sure I've seen at least one Basic and maybe one C that set -all- the bits. Yet in -every- case I have seen, 0 is false and non-zero is true.

Try this in setup():

if (-1) Serial.println( "-1 is TRUE" );

See if it don't work.