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 - Newbie asm question

Reply to topic
Author Message
  • Joined: 09 Sep 2001
  • Posts: 236
  • Location: Umeå, Sweden
Reply with quote
Newbie asm question
Post Posted: Sun Dec 30, 2001 12:48 pm
I was planning to add some music to my (first ever) SMS program, using Martin Konrad's great mod2psg, but I use WLA DX and it won't compile the line "ld a, (ix)", it compiles great using the table assembler (atleast it did), anyone have any idea?

The error message I get says
shite.o:psgmod.inc:43: FIX_REFERENCES: Reference to an unknown label "ix".

Anyone got any idea?

/David Eriksson (fx^)
fxmas@home.se
  View user's profile Send private message Visit poster's website
  • Site Admin
  • Joined: 08 Jul 2001
  • Posts: 8652
  • Location: Paris, France
Reply with quote
Post Posted: Sun Dec 30, 2001 1:29 pm
Quote
> I was planning to add some music to my (first ever) SMS program, using Martin Konrad's great mod2psg, but I use WLA DX and it won't compile the line "ld a, (ix)", it compiles great using the table assembler (atleast it did), anyone have any idea?
> The error message I get says
> shite.o:psgmod.inc:43: FIX_REFERENCES: Reference to an unknown label "ix".
> Anyone got any idea?

ld a, (ix) works fine for me. What version of WLA-DX are you running ? It might be a change or bug in a recent version.
Does ld a, (ix+0) works ?
  View user's profile Send private message Visit poster's website
  • Joined: 09 Sep 2001
  • Posts: 236
  • Location: Umeå, Sweden
Reply with quote
Post Posted: Sun Dec 30, 2001 2:18 pm
Quote
> ld a, (ix) works fine for me. What version of WLA-DX are you running ? It might be a change or bug in a recent version.
> Does ld a, (ix+0) works ?

I'm running Wla DX 8.3 and yes, ld a, (ix+0) did work :) but my code didn't play any music :/ (not surprising though :)

Thanks anyway, gotta go squash some bugs now
  View user's profile Send private message Visit poster's website
Reply to topic



Back to the top of this page

Back to SMS Power!