Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- MAP_WIDTH = 50
- MAP_HEIGHT = 50
- MAP_BASE = $5678
- .macro makeLUT op
- .repeat MAP_HEIGHT, y_
- .byte op ( y_ * MAP_WIDTH + MAP_BASE )
- .endrepeat
- .endmacro
- multtab_low: makeLUT <
- multtab_hi: makeLUT >
Add Comment
Please, Sign In to add comment