Jump to content
Sign in to follow this  
Heaven/TQA

MADS question

Recommended Posts

any ideas how I could translate this into a more compact table generation in MADS?

 

.byte <[[0/3]*1024+font+8+0]

.byte <[[1/3]*1024+font+8+8]

.byte <[[2/3]*1024+font+8+16]

.byte <[[3/3]*1024+font+8+0]

.byte <[[4/3]*1024+font+8+8]

.byte <[[5/3]*1024+font+8+16]

.byte <[[6/3]*1024+font+8+0]

.byte <[[7/3]*1024+font+8+8]

.byte <[[8/3]*1024+font+8+16]

.byte <[[9/3]*1024+font+8+0]

.byte <[[10/3]*1024+font+8+8]

.byte <[[11/3]*1024+font+8+16]

.byte <[[12/3]*1024+font+8+0]

.byte <[[13/3]*1024+font+8+8]

.byte <[[14/3]*1024+font+8+16]

.byte <[[15/3]*1024+font+8+0]

.byte <[[16/3]*1024+font+8+8]

.byte <[[17/3]*1024+font+8+16]

.byte <[[18/3]*1024+font+8+0]

.byte <[[19/3]*1024+font+8+8]

.byte <[[20/3]*1024+font+8+16]

.byte <[[21/3]*1024+font+8+0]

.byte <[[22/3]*1024+font+8+8]

.byte <[[23/3]*1024+font+8+16]

 

something like

 

:24 .byte <[[#/3]*1024+font+8+...]

 

i do not know yet how i can translate the 0,8,16,0,8,16 offset into MADS commands for the table generator...

 

any ideas?

Share this post


Link to post
Share on other sites

	:24 .byte <[[#/3]*1024+font+8+#%3*8]

% = MOD-ulo

 

xasm compatible version
:24 dta <[[#/3]*1024+font+8+#%3*8]

Edited by tebe

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...