Guest User

Untitled

a guest
Oct 19th, 2018
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. MAP_WIDTH  = 50
  2. MAP_HEIGHT = 50
  3. MAP_BASE   = $5678
  4.  
  5. .macro makeLUT op
  6.   .repeat MAP_HEIGHT, y_
  7.     .byte op ( y_ * MAP_WIDTH + MAP_BASE )
  8.   .endrepeat
  9. .endmacro
  10.  
  11. multtab_low:            makeLUT <
  12. multtab_hi:             makeLUT >
Add Comment
Please, Sign In to add comment