aenachescu / PhiOS

GNU General Public License v3.0
6 stars 1 forks source link

add defines for debug and testing modes #95

Open aenachescu opened 7 years ago

aenachescu commented 7 years ago

Each bitmap mask should have a flag for debug mode and testing mode. We can reserve 0x80000000 and 0x40000000 or we can use specialized flags for each bitmap mask. The first case: PRO: you don't have to remember to add the specialized flags CON: each bitmap mask must have 4bytes

The second case: PRO: masks can have different sizes CON: there is a chance to forget to add the specialized flags