Sonic The Hedgehog 2 Clone Driver. Unknown label opcode?!?

Discussion in 'Discussion and Q&A Archive' started by DeoxysKyogre, Mar 21, 2010.

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

    DeoxysKyogre No idea what to put here .-. Member

    Joined:
    Jan 31, 2009
    Messages:
    298
    Well, i have inserted the s1 sound driver. I've inserted the s2 clone driver. But, the labels, why does it say it's unknown?


    Here's those errors i'm mentioning:



    Code:
    > > > Music98:  incbin  sound\music98.bin
    
    > > >Sonic 2 Clone Driver.asm(2499): error: unknown opcode
    
    > > > INCBIN
    
    > > > Music99:  incbin  sound\music99.bin
    
    > > >Sonic 2 Clone Driver.asm(2501): error: unknown opcode
    
    > > > INCBIN
    
    > > > Music9A:  incbin  sound\music9A.bin
    
    > > >Sonic 2 Clone Driver.asm(2503): error: unknown opcode
    
    > > > INCBIN
    
    > > > Music9B:  incbin  sound\music9B.bin
    
    > > >Sonic 2 Clone Driver.asm(2505): error: unknown opcode
    
    > > > INCBIN
    
    > > > Music9C:  incbin  sound\music9C.bin
    
    > > >Sonic 2 Clone Driver.asm(2507): error: unknown opcode
    
    > > > INCBIN
    
    > > > Music9D:  incbin  sound\music9D.bin
    
    > > >Sonic 2 Clone Driver.asm(2509): error: unknown opcode
    
    > > > INCBIN
    
    > > > Music9E:  incbin  sound\music9E.bin
    
    > > >Sonic 2 Clone Driver.asm(2511): error: unknown opcode
    
    > > > INCBIN
    
    > > > Music9F:  incbin  sound\music9F.bin
    
    > > >Sonic 2 Clone Driver.asm(2547): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundA0:  incbin  sound\soundA0.bin
    
    > > >Sonic 2 Clone Driver.asm(2549): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundA1:  incbin  sound\soundA1.bin
    
    > > >Sonic 2 Clone Driver.asm(2551): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundA2:  incbin  sound\soundA2.bin
    
    > > >Sonic 2 Clone Driver.asm(2553): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundA3:  incbin  sound\soundA3.bin
    
    > > >Sonic 2 Clone Driver.asm(2555): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundA4:  incbin  sound\soundA4.bin
    
    > > >Sonic 2 Clone Driver.asm(2557): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundA5:  incbin  sound\soundA5.bin
    
    > > >Sonic 2 Clone Driver.asm(2559): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundA6:  incbin  sound\soundA6.bin
    
    > > >Sonic 2 Clone Driver.asm(2561): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundA7:  incbin  sound\soundA7.bin
    
    > > >Sonic 2 Clone Driver.asm(2563): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundA8:  incbin  sound\soundA8.bin
    
    > > >Sonic 2 Clone Driver.asm(2565): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundA9:  incbin  sound\soundA9.bin
    
    > > >Sonic 2 Clone Driver.asm(2567): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundAA:  incbin  sound\soundAA.bin
    
    > > >Sonic 2 Clone Driver.asm(2569): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundAB:  incbin  sound\soundAB.bin
    
    > > >Sonic 2 Clone Driver.asm(2571): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundAC:  incbin  sound\soundAC.bin
    
    > > >Sonic 2 Clone Driver.asm(2573): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundAD:  incbin  sound\soundAD.bin
    
    > > >Sonic 2 Clone Driver.asm(2575): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundAE:  incbin  sound\soundAE.bin
    
    > > >Sonic 2 Clone Driver.asm(2577): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundAF:  incbin  sound\soundAF.bin
    
    > > >Sonic 2 Clone Driver.asm(2579): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundB0:  incbin  sound\soundB0.bin
    
    > > >Sonic 2 Clone Driver.asm(2581): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundB1:  incbin  sound\soundB1.bin
    
    > > >Sonic 2 Clone Driver.asm(2583): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundB2:  incbin  sound\soundB2.bin
    
    > > >Sonic 2 Clone Driver.asm(2585): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundB3:  incbin  sound\soundB3.bin
    
    > > >Sonic 2 Clone Driver.asm(2587): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundB4:  incbin  sound\soundB4.bin
    
    > > >Sonic 2 Clone Driver.asm(2589): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundB5:  incbin  sound\soundB5.bin
    
    > > >Sonic 2 Clone Driver.asm(2591): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundB6:  incbin  sound\soundB6.bin
    
    > > >Sonic 2 Clone Driver.asm(2593): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundB7:  incbin  sound\soundB7.bin
    
    > > >Sonic 2 Clone Driver.asm(2595): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundB8:  incbin  sound\soundB8.bin
    
    > > >Sonic 2 Clone Driver.asm(2597): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundB9:  incbin  sound\soundB9.bin
    
    > > >Sonic 2 Clone Driver.asm(2599): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundBA:  incbin  sound\soundBA.bin
    
    > > >Sonic 2 Clone Driver.asm(2601): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundBB:  incbin  sound\soundBB.bin
    
    > > >Sonic 2 Clone Driver.asm(2603): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundBC:  incbin  sound\soundBC.bin
    
    > > >Sonic 2 Clone Driver.asm(2605): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundBD:  incbin  sound\soundBD.bin
    
    > > >Sonic 2 Clone Driver.asm(2607): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundBE:  incbin  sound\soundBE.bin
    
    > > >Sonic 2 Clone Driver.asm(2609): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundBF:  incbin  sound\soundBF.bin
    
    > > >Sonic 2 Clone Driver.asm(2611): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundC0:  incbin  sound\soundC0.bin
    
    > > >Sonic 2 Clone Driver.asm(2613): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundC1:  incbin  sound\soundC1.bin
    
    > > >Sonic 2 Clone Driver.asm(2615): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundC2:  incbin  sound\soundC2.bin
    
    > > >Sonic 2 Clone Driver.asm(2617): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundC3:  incbin  sound\soundC3.bin
    
    > > >Sonic 2 Clone Driver.asm(2619): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundC4:  incbin  sound\soundC4.bin
    
    > > >Sonic 2 Clone Driver.asm(2621): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundC5:  incbin  sound\soundC5.bin
    
    > > >Sonic 2 Clone Driver.asm(2623): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundC6:  incbin  sound\soundC6.bin
    
    > > >Sonic 2 Clone Driver.asm(2625): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundC7:  incbin  sound\soundC7.bin
    
    > > >Sonic 2 Clone Driver.asm(2627): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundC8:  incbin  sound\soundC8.bin
    
    > > >Sonic 2 Clone Driver.asm(2629): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundC9:  incbin  sound\soundC9.bin
    
    > > >Sonic 2 Clone Driver.asm(2631): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundCA:  incbin  sound\soundCA.bin
    
    > > >Sonic 2 Clone Driver.asm(2633): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundCB:  incbin  sound\soundCB.bin
    
    > > >Sonic 2 Clone Driver.asm(2635): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundCC:  incbin  sound\soundCC.bin
    
    > > >Sonic 2 Clone Driver.asm(2637): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundCD:  incbin  sound\soundCD.bin
    
    > > >Sonic 2 Clone Driver.asm(2639): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundCE:  incbin  sound\soundCE.bin
    
    > > >Sonic 2 Clone Driver.asm(2641): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundCF:  incbin  sound\soundCF.bin
    
    > > >Sonic 2 Clone Driver.asm(2643): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundD0:  incbin  sound\soundD0.bin
    
    > > >Sonic 2 Clone Driver.asm(2645): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundD1:  incbin  sound\soundD1.bin
    
    > > >Sonic 2 Clone Driver.asm(2647): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundD2:  incbin  sound\soundD2.bin
    
    > > >Sonic 2 Clone Driver.asm(2649): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundD3:  incbin  sound\soundD3.bin
    
    > > >Sonic 2 Clone Driver.asm(2651): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundD4:  incbin  sound\soundD4.bin
    
    > > >Sonic 2 Clone Driver.asm(2653): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundD5:  incbin  sound\soundD5.bin
    
    > > >Sonic 2 Clone Driver.asm(2655): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundD6:  incbin  sound\soundD6.bin
    
    > > >Sonic 2 Clone Driver.asm(2657): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundD7:  incbin  sound\soundD7.bin
    
    > > >Sonic 2 Clone Driver.asm(2659): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundD8:  incbin  sound\soundD8.bin
    
    > > >Sonic 2 Clone Driver.asm(2661): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundD9:  incbin  sound\soundD9.bin
    
    > > >Sonic 2 Clone Driver.asm(2663): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundDA:  incbin  sound\soundDA.bin
    
    > > >Sonic 2 Clone Driver.asm(2665): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundDB:  incbin  sound\soundDB.bin
    
    > > >Sonic 2 Clone Driver.asm(2667): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundDC:  incbin  sound\soundDC.bin
    
    > > >Sonic 2 Clone Driver.asm(2669): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundDD:  incbin  sound\soundDD.bin
    
    > > >Sonic 2 Clone Driver.asm(2671): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundDE:  incbin  sound\soundDE.bin
    
    > > >Sonic 2 Clone Driver.asm(2673): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundDF:  incbin  sound\soundDF.bin
    
    > > >Sonic 2 Clone Driver.asm(2675): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundE0:  incbin  sound\soundE0.bin
    
    > > >Sonic 2 Clone Driver.asm(2677): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundE1:  incbin  sound\soundE1.bin
    
    > > >Sonic 2 Clone Driver.asm(2679): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundE2:  incbin  sound\soundE2.bin
    
    > > >Sonic 2 Clone Driver.asm(2681): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundE3:  incbin  sound\soundE3.bin
    
    > > >Sonic 2 Clone Driver.asm(2683): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundE4:  incbin  sound\soundE4.bin
    
    > > >Sonic 2 Clone Driver.asm(2685): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundE5:  incbin  sound\soundE5.bin
    
    > > >Sonic 2 Clone Driver.asm(2687): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundE6:  incbin  sound\soundE6.bin
    
    > > >Sonic 2 Clone Driver.asm(2689): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundE7:  incbin  sound\soundE7.bin
    
    > > >Sonic 2 Clone Driver.asm(2691): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundE8:  incbin  sound\soundE8.bin
    
    > > >Sonic 2 Clone Driver.asm(2693): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundE9:  incbin  sound\soundE9.bin
    
    > > >Sonic 2 Clone Driver.asm(2695): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundEA:  incbin  sound\soundEA.bin
    
    > > >Sonic 2 Clone Driver.asm(2697): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundEB:  incbin  sound\soundEB.bin
    
    > > >Sonic 2 Clone Driver.asm(2699): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundEC:  incbin  sound\soundEC.bin
    
    > > >Sonic 2 Clone Driver.asm(2701): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundED:  incbin  sound\soundED.bin
    
    > > >Sonic 2 Clone Driver.asm(2703): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundEE:  incbin  sound\soundEE.bin
    
    > > >Sonic 2 Clone Driver.asm(2705): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundEF:  incbin  sound\soundEF.bin
    
    > > >Sonic 2 Clone Driver.asm(2707): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundF0:  incbin  sound\soundF0.bin
    
    > > >Sonic 2 Clone Driver.asm(2711): error: unknown opcode
    
    > > > INCBIN
    
    > > > SegaPCM:  incbin  sound\segapcm.bin
    
    > > >Sonic 2 Clone Driver.asm(2715): error: unknown opcode
    
    > > > INCBIN
    
    > > > DAC1: incbin sound\dac1d.bin
    
    > > >Sonic 2 Clone Driver.asm(2717): error: unknown opcode
    
    > > > INCBIN
    
    > > > DAC2: incbin sound\dac2d.bin
    
    > > >Sonic 2 Clone Driver.asm(2719): error: unknown opcode
    
    > > > INCBIN
    
    > > > DAC3: incbin sound\dac3d.bin
    
    > > >Sonic 2 Clone Driver.asm(2721): error: unknown opcode
    
    > > > INCBIN
    
    > > > DAC4: incbin sound\dac4d.bin
    
    > > >Sonic 2 Clone Driver.asm(2723): error: unknown opcode
    
    > > > INCBIN
    
    > > > DAC5: incbin sound\dac5d.bin
    
    > > >Sonic 2 Clone Driver.asm(2725): error: unknown opcode
    
    > > > INCBIN
    
    > > > DAC6: incbin sound\dac6d.bin
    
    > > >Sonic 2 Clone Driver.asm(2727): error: unknown opcode
    
    > > > INCBIN
    
    > > > DAC7: incbin sound\dac7d.bin
    
    Sonic 2 Clone Driver.asm(2730)
    
    s2.asm(90714)
    
    
    2.70 seconds assembly time
    
      93645 lines source file
     123393 lines incl. macro expansions
    	  1 pass
    	137 errors
    	  0 warnings
    137 errors? :S
     
    Last edited by a moderator: Mar 23, 2010
  2. Mikel

    Mikel Science is true power! Member

    Joined:
    Oct 5, 2007
    Messages:
    19
    Location:
    Oklahoma
    This is simple, what you need to do, is replace all instances of "incbin" with "BINCLUDE" (Without the apostrophes)


    If you have anymore errors, I can help you with them.
     
    Last edited by a moderator: Mar 21, 2010
  3. DeoxysKyogre

    DeoxysKyogre No idea what to put here .-. Member

    Joined:
    Jan 31, 2009
    Messages:
    298
    Ok. Thanks a lot because this. But... lolololololol:



    Code:
    macro assembler 1.42 Beta [Bld 55]
    
    (i386-unknown-win32)
    
    © 1992,2007 Alfred Arnold
    
    68RS08-Generator © 2006 Andreas Bolsch
    
    Mitsubishi M16C-Generator also © 1999 RMS
    
    XILINX KCPSM(Picoblaze)-Generator © 2003 Andreas Wassatsch
    
    TMS320C2x-Generator © 1994/96 Thomas Sailer
    
    TMS320C5x-Generator © 1995/96 Thomas Sailer
    
    
    
    assembling s2.asm
    
    PASS 1
    
    s2.macrosetup.asm(201)
    
    Sonic 2 Clone Driver.asm(2730)
    
    s2.asm(90714)
    
    PASS 2
    
    s2.macrosetup.asm(201)
    
    > > >s2.asm(1468): error: symbol undefined
    
    > > > zComRange
    
    > > >   lea	 (Z80_RAM+zComRange).l,a1; $A01B80
    
    > > >s2.asm(1468): error: addressing mode not allowed here
    
    > > >   lea	 (Z80_RAM+zComRange).l,a1; $A01B80
    
    > > >s2.asm(12807): error: addressing mode not allowed on 68000
    
    > > >   move.l  word_A656(pc,d0.w),d1
    
    > > >s2.asm(12807): error: addressing mode not allowed here
    
    > > >   move.l  word_A656(pc,d0.w),d1
    
    > > >s2.asm(51780): error: addressing mode not allowed on 68000
    
    > > >   lea	 byte_28726(pc,d1.w),a1
    
    > > >s2.asm(51780): error: addressing mode not allowed here
    
    > > >   lea	 byte_28726(pc,d1.w),a1
    
    > > >s2.asm(86947): error: symbol undefined
    
    > > > zPalModeByte
    
    > > >   sne	 (Z80_RAM+zPalModeByte).l	   ; set if PAL
    
    > > >s2.asm(86947): error: addressing mode not allowed here
    
    > > >   sne	 (Z80_RAM+zPalModeByte).l	   ; set if PAL
    
    > > >s2.asm(86969): error: symbol undefined
    
    > > > Snd_Driver
    
    > > >   lea	 Snd_Driver(pc),a6
    
    > > >s2.asm(86969): error: addressing mode not allowed here
    
    > > >   lea	 Snd_Driver(pc),a6
    
    > > >s2.asm(86971): error: symbol undefined
    
    > > > Snd_Driver
    
    > > > movewZ80CompSize: move.w  #Snd_Driver_End-Snd_Driver,d7; patched (by fixp
    
    ointer.exe) after compression since the exact size can't be known beforehand
    
    > > >s2.asm(86971): error: symbol undefined
    
    > > > Snd_Driver_End
    
    > > > movewZ80CompSize: move.w  #Snd_Driver_End-Snd_Driver,d7; patched (by fixp
    
    ointer.exe) after compression since the exact size can't be known beforehand
    
    rom size is $200000 bytes (2048 kb). About $1423A bytes are padding.
    Sonic 2 Clone Driver.asm(2730)
    s2.asm(90714)
    
    4.49 seconds assembly time
    
      93645 lines source file
     123393 lines incl. macro expansions
    	  2 passes
    	 12 errors
    	  0 warnings
    Presione una tecla para continuar . . .

    Why me...
     
    Last edited by a moderator: Mar 22, 2010
  4. DeoxysKyogre

    DeoxysKyogre No idea what to put here .-. Member

    Joined:
    Jan 31, 2009
    Messages:
    298
    DOUBLE POST, sorry.


    Please, remove this topic. It's fixed now.
     
  5. Qjimbo

    Qjimbo Well-Known Member Member

    Joined:
    Feb 27, 2008
    Messages:
    850
    Location:
    Vancouver, BC
    Not sure why this topic got locked. Unlocked it.


    @DeoxysKyogre: In future use [codebox] instead of [code] for large blocks of text like that.
     
    Last edited by a moderator: Mar 22, 2010
  6. Irixion

    Irixion Well-Known Member Member

    Joined:
    Aug 11, 2007
    Messages:
    670
    Location:
    Ontario, Canada
    I love it how Tweaker's guide doesn't cover the 'how to get rid of S2 Driver so you can actually get this in without these errors'. I wasn't being sarcastic either, I find that quite smart :V.


    Anyway, get rid of all instances of z(or any lines that have it.)


    This includez ZComp, Z80Compsize, and all associated code. This is why you prep the rom by getting rid of the S2 driver first (or at least that's how I do it to avoid confusion)
     
  7. Spanner

    Spanner The Tool Member

    Joined:
    Aug 9, 2007
    Messages:
    2,570
    The guide is on the wiki. If you want to add it, go ahead, however I'd recommend creating a new guide solely for this purpose and linking to it in the sound driver guide.
     
Thread Status:
Not open for further replies.