Prev: 38183 Up: Map Next: 38221
38212: Get current border colour
Used by the routines at 38075, 38124 and 38183.
Output
A Current border colour (0 - 7)
38212 LD A,(23624) Load A with stored border colour
38215 RRCA Clear bits for 1, 2 and 4 to leave (border colour × 8) only...
38216 RRCA ...
38217 RRCA ...
38218 AND 7 Ensure all other bits are cleared
38220 RET Return
Prev: 38183 Up: Map Next: 38221