Forums

Sega Master System / Mark III / Game Gear
SG-1000 / SC-3000 / SF-7000 / OMV
Home - Forums - Games - Scans - Maps - Cheats - Credits
Music - Videos - Development - Hacks - Translations - Homebrew

View topic - wla-dx, label dependent size

Reply to topic
Author Message
  • Joined: 25 Feb 2013
  • Posts: 393
  • Location: Osaka
Reply with quote
wla-dx, label dependent size
Post Posted: Wed Jan 11, 2017 12:28 pm
I have some data I would like to copy in ram. to define the space is use

.ramsection "name" bank 0 slot 3
myvar ds SIZE
.ends


somewhere in the code i have


databegin:
....
dataend:


however I cannot replace SIZE by dataend-databegin (I get DIRECTIVE_ERROR: DS/DSB needs size. ERROR: Couldn't parse "ds".)

Is there a way to do it?
  View user's profile Send private message
  • Joined: 05 Sep 2013
  • Posts: 4021
  • Location: Stockholm, Sweden
Reply with quote
Post Posted: Wed Jan 11, 2017 4:19 pm
AFAIK it's still marked as 'enhancement', see this.
  View user's profile Send private message Visit poster's website
  • Joined: 25 Feb 2013
  • Posts: 393
  • Location: Osaka
Reply with quote
Post Posted: Thu Jan 12, 2017 2:13 am
spot on, thanks :)
  View user's profile Send private message
Reply to topic



Back to the top of this page

Back to SMS Power!