Writing to a null pointer on the game boy was a valid operation and there were optimizations you could do that required it
Shit you're right. I interpreted "this memory may be used for any purpose" as it being RAM. My point was more that 0 was a valid pointer, and a valid optimization involved something that is UB in every language
-
-
Yeah, it is a valid pointer, but I don't see what optimization you're referring to.
-
Replacing `CALL x` with `RST 0` where 0 contains `JP x` for your most used value of x
- 1 more reply
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.