7 errors when adding the extra character

Discussion in 'Discussion and Q&A Archive' started by sonicrules, Oct 4, 2008.

Thread Status:
Not open for further replies.
  1. sonicrules

    sonicrules Newcomer In Limbo

    Joined:
    Sep 14, 2008
    Messages:
    19
    sonic1.asm(3328) error addressing mode not allowed here


    cnpi.b #10(fffff605) ;has b been pressed


    sonic1.asm(3328) error addressing mode not allowed here


    cnpi.b #10(fffff605) ;has b been pressed


    error addressing mode not allowed here


    move.b #01, (ffffffpe) ;set mulitple character flag indicating metal sonic


    sonic1.asm(25403): operand must


    sonic1.asm(37806):error: symbol double defined


    art_sonic


    art_sonic binclude artunc\msonic :sonic


    It really did say sonic1.asm(3328) twice.


    Also how would you make each character load a different palette


    here is the guide I got it from http://sonicresearch.org/forums/index.php?showtopic=41


    I took your advice and now it works.
     
    Last edited by a moderator: Oct 4, 2008
  2. insulfrog

    insulfrog Active Member Member

    Joined:
    Aug 10, 2007
    Messages:
    40
    Location:
    Boston, Lincolnshire, England
    What split did you use and did you double check everything you have added?
     
  3. Spanner

    Spanner The Tool Member

    Joined:
    Aug 9, 2007
    Messages:
    2,570
    Change art_sonic to art_char2 or something.
     
  4. shobiz

    shobiz Well-Known Member Member

    Joined:
    Aug 11, 2007
    Messages:
    198
    Location:
    Karachi, Pakistan
    It's cmpi.b not cnpi.b
     
  5. Hanoch

    Hanoch Well-Known Member Member

    Joined:
    Aug 3, 2008
    Messages:
    312
    Location:
    Israel
    Sonic 1 uses incbins change the binclude to incbin. For your "addressing mode not allowed here" problem, im not really sure, just add .w at the end of the brackets. and for move.b #01,(ffffffpe) thats not a ram address. Try putting FFFFFE19 instead


    (unless you are adding super sonic then go here)


    EDIT: Didn't notice you answered shobiz.
     
    Last edited by a moderator: Oct 4, 2008
  6. Spanner

    Spanner The Tool Member

    Joined:
    Aug 9, 2007
    Messages:
    2,570
    How about you just read this & redo the entire thing, copypaste is one good thing you know, not typing it all out yourself.


    P.S: I did link to the Retro version, the version here, although it's the same, looks stretched, the wiki version is cleaner.
     
Thread Status:
Not open for further replies.