Jump to content
IGNORED

DASM sideways representation of data ?


Propane13

Recommended Posts

New Question for DASM users:

 

Say that in 2600-land, you've got a six digit score routine that does fetches from 6 different locations:

 

F500

F580

F600

F680

F700

F780

 

The code does a LDA F500,X stored to GRP0 and then LDA F580,X stored as GRP1, etc... So, all you need to do is increment X to point to 6 new points of data.

 

From a disassembly perspective, this sucks a bit. You'll have 6 vertical blocks of graphics data that are all supposed to be sandwiched together, and you can't grasp the full effect unless the code is running, or spliced together.

 

So, in DASM, is there any way to do the following (perhaps with a macro):

 

macro Unknown

...

endm

 

 

Unknown (F500_data, F580_data, F600_data, F680_data, F700_data, F780_data)

Unknown (F501_data, F581_data, F601_data, F681_data, F701_data, F781_data)

 

I have a feeling if I create some data re-arrangement macros, they will fail due to origin-reverse-indexed errors.

 

Any ideas?

 

Thanks,

-John K. Harvey

Link to comment
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.
Note: Your post will require moderator approval before it will be visible.

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...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...