joeldipops / gbz80-pseudoOps

Set of rgbasm macros and constants to facilitate readability for modern programmers
MIT License
9 stars 1 forks source link

`orAny [hl], [hl]` has unexpected behavior #16

Closed ISSOtm closed 5 years ago

ISSOtm commented 5 years ago

This line makes orAny [hl], [hl] only read from memory once, which is not expected behavior. This could be useful for reading STAT, for example, or acknowledging by polling memory (some mappers, including custom, work this way)

joeldipops commented 5 years ago

Considering several solutions for this none of which is satisfying.

joeldipops commented 5 years ago

Have added a warning message to these and provided a config setting to suppress warnings.