Porting s1 sound driver to s2 trouble

Discussion in 'Discussion and Q&A Archive' started by sonicstheman, Oct 30, 2009.

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

    sonicstheman Active Member Exiled

    Joined:
    Jul 12, 2009
    Messages:
    36
    Hi,


    This is simular to my last topic, but I am having trouble with getting the s1 sound driver into s2. Here are all the errors:



    Code:
    macro assembler 1.42 Beta [Bld 55]
    
    (i386-unknown-win32)
    
    (C) 1992,2007 Alfred Arnold
    
    68RS08-Generator (C) 2006 Andreas Bolsch
    
    Mitsubishi M16C-Generator also (C) 1999 RMS
    
    XILINX KCPSM(Picoblaze)-Generator (C) 2003 Andreas Wassatsch
    
    TMS320C2x-Generator (C) 1994/96 Thomas Sailer
    
    TMS320C5x-Generator (C) 1995/96 Thomas Sailer
    
    
    
    assembling s2.asm
    
    PASS 1
    
    s2.macrosetup.asm(201)
    
    s2.sounddriver.asm(2807)
    
    > > >s2.asm(86726): error: unknown opcode
    
    > > > INCBIN
    
    > > > Kos_Z80:  incbin  sound\z80_1.bin
    
    > > >s2.asm(86730): warning: address is not properly aligned
    
    > > >		   incbin  sound\z80_2.bin
    
    > > >s2.asm(86730): error: unknown opcode
    
    > > > INCBIN
    
    > > >		   incbin  sound\z80_2.bin
    
    > > >s2.asm(86732): error: unknown opcode
    
    > > > INCBIN
    
    > > > Music81:  incbin  sound\music81.bin
    
    > > >s2.asm(86734): error: unknown opcode
    
    > > > INCBIN
    
    > > > Music82:  incbin  sound\music82.bin
    
    > > >s2.asm(86736): error: unknown opcode
    
    > > > INCBIN
    
    > > > Music83:  incbin  sound\music83.bin
    
    > > >s2.asm(86738): error: unknown opcode
    
    > > > INCBIN
    
    > > > Music84:  incbin  sound\music84.bin
    
    > > >s2.asm(86740): error: unknown opcode
    
    > > > INCBIN
    
    > > > Music85:  incbin  sound\music85.bin
    
    > > >s2.asm(86742): error: unknown opcode
    
    > > > INCBIN
    
    > > > Music86:  incbin  sound\music86.bin
    
    > > >s2.asm(86744): error: unknown opcode
    
    > > > INCBIN
    
    > > > Music87:  incbin  sound\music87.bin
    
    > > >s2.asm(86746): error: unknown opcode
    
    > > > INCBIN
    
    > > > Music88:  incbin  sound\music88.bin
    
    > > >s2.asm(86748): error: unknown opcode
    
    > > > INCBIN
    
    > > > Music89:  incbin  sound\music89.bin
    
    > > >s2.asm(86750): error: unknown opcode
    
    > > > INCBIN
    
    > > > Music8A:  incbin  sound\music8A.bin
    
    > > >s2.asm(86752): error: unknown opcode
    
    > > > INCBIN
    
    > > > Music8B:  incbin  sound\music8B.bin
    
    > > >s2.asm(86754): error: unknown opcode
    
    > > > INCBIN
    
    > > > Music8C:  incbin  sound\music8C.bin
    
    > > >s2.asm(86756): error: unknown opcode
    
    > > > INCBIN
    
    > > > Music8D:  incbin  sound\music8D.bin
    
    > > >s2.asm(86758): error: unknown opcode
    
    > > > INCBIN
    
    > > > Music8E:  incbin  sound\music8E.bin
    
    > > >s2.asm(86760): error: unknown opcode
    
    > > > INCBIN
    
    > > > Music8F:  incbin  sound\music8F.bin
    
    > > >s2.asm(86762): error: unknown opcode
    
    > > > INCBIN
    
    > > > Music90:  incbin  sound\music90.bin
    
    > > >s2.asm(86764): error: unknown opcode
    
    > > > INCBIN
    
    > > > Music91:  incbin  sound\music91.bin
    
    > > >s2.asm(86766): error: unknown opcode
    
    > > > INCBIN
    
    > > > Music92:  incbin  sound\music92.bin
    
    > > >s2.asm(86768): error: unknown opcode
    
    > > > INCBIN
    
    > > > Music93:  incbin  sound\music93.bin
    
    > > >s2.asm(86790): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundA0:  incbin  sound\soundA0.bin
    
    > > >s2.asm(86792): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundA1:  incbin  sound\soundA1.bin
    
    > > >s2.asm(86794): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundA2:  incbin  sound\soundA2.bin
    
    > > >s2.asm(86796): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundA3:  incbin  sound\soundA3.bin
    
    > > >s2.asm(86798): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundA4:  incbin  sound\soundA4.bin
    
    > > >s2.asm(86800): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundA5:  incbin  sound\soundA5.bin
    
    > > >s2.asm(86802): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundA6:  incbin  sound\soundA6.bin
    
    > > >s2.asm(86804): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundA7:  incbin  sound\soundA7.bin
    
    > > >s2.asm(86806): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundA8:  incbin  sound\soundA8.bin
    
    > > >s2.asm(86808): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundA9:  incbin  sound\soundA9.bin
    
    > > >s2.asm(86810): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundAA:  incbin  sound\soundAA.bin
    
    > > >s2.asm(86812): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundAB:  incbin  sound\soundAB.bin
    
    > > >s2.asm(86814): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundAC:  incbin  sound\soundAC.bin
    
    > > >s2.asm(86816): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundAD:  incbin  sound\soundAD.bin
    
    > > >s2.asm(86818): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundAE:  incbin  sound\soundAE.bin
    
    > > >s2.asm(86820): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundAF:  incbin  sound\soundAF.bin
    
    > > >s2.asm(86822): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundB0:  incbin  sound\soundB0.bin
    
    > > >s2.asm(86824): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundB1:  incbin  sound\soundB1.bin
    
    > > >s2.asm(86826): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundB2:  incbin  sound\soundB2.bin
    
    > > >s2.asm(86828): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundB3:  incbin  sound\soundB3.bin
    
    > > >s2.asm(86830): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundB4:  incbin  sound\soundB4.bin
    
    > > >s2.asm(86832): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundB5:  incbin  sound\soundB5.bin
    
    > > >s2.asm(86834): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundB6:  incbin  sound\soundB6.bin
    
    > > >s2.asm(86836): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundB7:  incbin  sound\soundB7.bin
    
    > > >s2.asm(86838): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundB8:  incbin  sound\soundB8.bin
    
    > > >s2.asm(86840): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundB9:  incbin  sound\soundB9.bin
    
    > > >s2.asm(86842): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundBA:  incbin  sound\soundBA.bin
    
    > > >s2.asm(86844): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundBB:  incbin  sound\soundBB.bin
    
    > > >s2.asm(86846): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundBC:  incbin  sound\soundBC.bin
    
    > > >s2.asm(86848): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundBD:  incbin  sound\soundBD.bin
    
    > > >s2.asm(86850): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundBE:  incbin  sound\soundBE.bin
    
    > > >s2.asm(86852): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundBF:  incbin  sound\soundBF.bin
    
    > > >s2.asm(86854): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundC0:  incbin  sound\soundC0.bin
    
    > > >s2.asm(86856): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundC1:  incbin  sound\soundC1.bin
    
    > > >s2.asm(86858): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundC2:  incbin  sound\soundC2.bin
    
    > > >s2.asm(86860): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundC3:  incbin  sound\soundC3.bin
    
    > > >s2.asm(86862): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundC4:  incbin  sound\soundC4.bin
    
    > > >s2.asm(86864): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundC5:  incbin  sound\soundC5.bin
    
    > > >s2.asm(86866): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundC6:  incbin  sound\soundC6.bin
    
    > > >s2.asm(86868): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundC7:  incbin  sound\soundC7.bin
    
    > > >s2.asm(86870): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundC8:  incbin  sound\soundC8.bin
    
    > > >s2.asm(86872): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundC9:  incbin  sound\soundC9.bin
    
    > > >s2.asm(86874): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundCA:  incbin  sound\soundCA.bin
    
    > > >s2.asm(86876): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundCB:  incbin  sound\soundCB.bin
    
    > > >s2.asm(86878): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundCC:  incbin  sound\soundCC.bin
    
    > > >s2.asm(86880): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundCD:  incbin  sound\soundCD.bin
    
    > > >s2.asm(86882): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundCE:  incbin  sound\soundCE.bin
    
    > > >s2.asm(86884): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundCF:  incbin  sound\soundCF.bin
    
    > > >s2.asm(86886): error: unknown opcode
    
    > > > INCBIN
    
    > > > SoundD0:  incbin  sound\soundD0.bin
    
    > > >s2.asm(86888): error: unknown opcode
    
    > > > INCBIN
    
    > > > SegaPCM:  incbin  sound\segapcm.bin
    
    s2.asm(86907)
    
    
    
    1.09 seconds assembly time
    
    
    
      89915 lines source file
    
     119636 lines incl. macro expansions
    
    	  1 pass
    
    	 71 errors
    
    	  1 warning
    
    Press any key to continue . . .

    Hope you can help!
     
  2. Thorn

    Thorn wroar Member

    Joined:
    Aug 11, 2007
    Messages:
    70
    - Ctrl+H to Find and Replace


    - Replace all instances of "incbin" with "binclude"


    - Make sure you have at least a file of filler for each .bin file being requested


    It's just a difference in terminology between different versions of the disassembly being built.
     
  3. sonicstheman

    sonicstheman Active Member Exiled

    Joined:
    Jul 12, 2009
    Messages:
    36
    Code:
    macro assembler 1.42 Beta [Bld 55]
    
    (i386-unknown-win32)
    
    (C) 1992,2007 Alfred Arnold
    
    68RS08-Generator (C) 2006 Andreas Bolsch
    
    Mitsubishi M16C-Generator also (C) 1999 RMS
    
    XILINX KCPSM(Picoblaze)-Generator (C) 2003 Andreas Wassatsch
    
    TMS320C2x-Generator (C) 1994/96 Thomas Sailer
    
    TMS320C5x-Generator (C) 1995/96 Thomas Sailer
    
    
    
    assembling s2.asm
    
    PASS 1
    
    s2.macrosetup.asm(201)
    
    s2.sounddriver.asm(2807)
    
    s2.asm(86907)
    
    PASS 2
    
    s2.macrosetup.asm(201)
    
    > > >s2.asm(821): error: symbol undefined
    
    > > > Init_Sonic1_Sound_Driver
    
    > > >   jsr	 Init_Sonic1_Sound_Driver	   &#59; init Sonic 1 sound driver
    
    > > >s2.asm(821): warning: address is not properly aligned
    
    > > >   jsr	 Init_Sonic1_Sound_Driver	   &#59; init Sonic 1 sound driver
    
    > > >s2.asm(821): error: addressing mode not allowed here
    
    > > >   jsr	 Init_Sonic1_Sound_Driver	   &#59; init Sonic 1 sound driver
    
    > > >s2.asm(12721): error: addressing mode not allowed on 68000
    
    > > >   move.l  word_A656(pc,d0.w),d1
    
    > > >s2.asm(12721): error: addressing mode not allowed here
    
    > > >   move.l  word_A656(pc,d0.w),d1
    
    > > >s2.asm(51386): error: addressing mode not allowed on 68000
    
    > > >   lea	 byte_28726(pc,d1.w),a1
    
    > > >s2.asm(51386): error: addressing mode not allowed here
    
    > > >   lea	 byte_28726(pc,d1.w),a1
    
    > > >s2.sounddriver.asm(229) BANKSWITCH(9) REPT 1(2): error: symbol undefined
    
    > > > SNDDAC_START
    
    > > >				 db &#40;73h|&#40;&#40;&#40;&#40;SNDDAC_START&#41;&&#40;1<<&#40;15+cnt&#41;&#41;&#41;==0&#41;<<2&#41;&#41;
    
    > > >s2.sounddriver.asm&#40;229&#41; BANKSWITCH&#40;9&#41; REPT 2&#40;2&#41;&#58; error&#58; symbol undefined
    
    > > > SNDDAC_START
    
    > > >				 db &#40;73h|&#40;&#40;&#40;&#40;SNDDAC_START&#41;&&#40;1<<&#40;15+cnt&#41;&#41;&#41;==0&#41;<<2&#41;&#41;
    
    > > >s2.sounddriver.asm&#40;229&#41; BANKSWITCH&#40;9&#41; REPT 3&#40;2&#41;&#58; error&#58; symbol undefined
    
    > > > SNDDAC_START
    
    > > >				 db &#40;73h|&#40;&#40;&#40;&#40;SNDDAC_START&#41;&&#40;1<<&#40;15+cnt&#41;&#41;&#41;==0&#41;<<2&#41;&#41;
    
    > > >s2.sounddriver.asm&#40;229&#41; BANKSWITCH&#40;9&#41; REPT 4&#40;2&#41;&#58; error&#58; symbol undefined
    
    > > > SNDDAC_START
    
    > > >				 db &#40;73h|&#40;&#40;&#40;&#40;SNDDAC_START&#41;&&#40;1<<&#40;15+cnt&#41;&#41;&#41;==0&#41;<<2&#41;&#41;
    
    > > >s2.sounddriver.asm&#40;229&#41; BANKSWITCH&#40;9&#41; REPT 5&#40;2&#41;&#58; error&#58; symbol undefined
    
    > > > SNDDAC_START
    
    > > >				 db &#40;73h|&#40;&#40;&#40;&#40;SNDDAC_START&#41;&&#40;1<<&#40;15+cnt&#41;&#41;&#41;==0&#41;<<2&#41;&#41;
    
    > > >s2.sounddriver.asm&#40;229&#41; BANKSWITCH&#40;9&#41; REPT 6&#40;2&#41;&#58; error&#58; symbol undefined
    
    > > > SNDDAC_START
    
    > > >				 db &#40;73h|&#40;&#40;&#40;&#40;SNDDAC_START&#41;&&#40;1<<&#40;15+cnt&#41;&#41;&#41;==0&#41;<<2&#41;&#41;
    
    > > >s2.sounddriver.asm&#40;229&#41; BANKSWITCH&#40;9&#41; REPT 7&#40;2&#41;&#58; error&#58; symbol undefined
    
    > > > SNDDAC_START
    
    > > >				 db &#40;73h|&#40;&#40;&#40;&#40;SNDDAC_START&#41;&&#40;1<<&#40;15+cnt&#41;&#41;&#41;==0&#41;<<2&#41;&#41;
    
    > > >s2.sounddriver.asm&#40;229&#41; BANKSWITCH&#40;9&#41; REPT 8&#40;2&#41;&#58; error&#58; symbol undefined
    
    > > > SNDDAC_START
    
    > > >				 db &#40;73h|&#40;&#40;&#40;&#40;SNDDAC_START&#41;&&#40;1<<&#40;15+cnt&#41;&#41;&#41;==0&#41;<<2&#41;&#41;
    
    > > >s2.sounddriver.asm&#40;229&#41; BANKSWITCH&#40;9&#41; REPT 9&#40;2&#41;&#58; error&#58; symbol undefined
    
    > > > SNDDAC_START
    
    > > >				 db &#40;73h|&#40;&#40;&#40;&#40;SNDDAC_START&#41;&&#40;1<<&#40;15+cnt&#41;&#41;&#41;==0&#41;<<2&#41;&#41;
    
    > > >s2.sounddriver.asm&#40;925&#41; BANKSWITCH&#40;9&#41; REPT 1&#40;2&#41;&#58; error&#58; symbol undefined
    
    > > > MUSICPOINT2
    
    > > >				 db &#40;73h|&#40;&#40;&#40;&#40;MUSICPOINT2&#41;&&#40;1<<&#40;15+cnt&#41;&#41;&#41;==0&#41;<<2&#41;&#41;
    
    > > >s2.sounddriver.asm&#40;925&#41; BANKSWITCH&#40;9&#41; REPT 2&#40;2&#41;&#58; error&#58; symbol undefined
    
    > > > MUSICPOINT2
    
    > > >				 db &#40;73h|&#40;&#40;&#40;&#40;MUSICPOINT2&#41;&&#40;1<<&#40;15+cnt&#41;&#41;&#41;==0&#41;<<2&#41;&#41;
    
    > > >s2.sounddriver.asm&#40;925&#41; BANKSWITCH&#40;9&#41; REPT 3&#40;2&#41;&#58; error&#58; symbol undefined
    
    > > > MUSICPOINT2
    
    > > >				 db &#40;73h|&#40;&#40;&#40;&#40;MUSICPOINT2&#41;&&#40;1<<&#40;15+cnt&#41;&#41;&#41;==0&#41;<<2&#41;&#41;
    
    > > >s2.sounddriver.asm&#40;925&#41; BANKSWITCH&#40;9&#41; REPT 4&#40;2&#41;&#58; error&#58; symbol undefined
    
    > > > MUSICPOINT2
    
    > > >				 db &#40;73h|&#40;&#40;&#40;&#40;MUSICPOINT2&#41;&&#40;1<<&#40;15+cnt&#41;&#41;&#41;==0&#41;<<2&#41;&#41;
    
    > > >s2.sounddriver.asm&#40;925&#41; BANKSWITCH&#40;9&#41; REPT 5&#40;2&#41;&#58; error&#58; symbol undefined
    
    > > > MUSICPOINT2
    
    > > >				 db &#40;73h|&#40;&#40;&#40;&#40;MUSICPOINT2&#41;&&#40;1<<&#40;15+cnt&#41;&#41;&#41;==0&#41;<<2&#41;&#41;
    
    > > >s2.sounddriver.asm&#40;925&#41; BANKSWITCH&#40;9&#41; REPT 6&#40;2&#41;&#58; error&#58; symbol undefined
    
    > > > MUSICPOINT2
    
    > > >				 db &#40;73h|&#40;&#40;&#40;&#40;MUSICPOINT2&#41;&&#40;1<<&#40;15+cnt&#41;&#41;&#41;==0&#41;<<2&#41;&#41;
    
    > > >s2.sounddriver.asm&#40;925&#41; BANKSWITCH&#40;9&#41; REPT 7&#40;2&#41;&#58; error&#58; symbol undefined
    
    > > > MUSICPOINT2
    
    > > >				 db &#40;73h|&#40;&#40;&#40;&#40;MUSICPOINT2&#41;&&#40;1<<&#40;15+cnt&#41;&#41;&#41;==0&#41;<<2&#41;&#41;
    
    > > >s2.sounddriver.asm&#40;925&#41; BANKSWITCH&#40;9&#41; REPT 8&#40;2&#41;&#58; error&#58; symbol undefined
    
    > > > MUSICPOINT2
    
    > > >				 db &#40;73h|&#40;&#40;&#40;&#40;MUSICPOINT2&#41;&&#40;1<<&#40;15+cnt&#41;&#41;&#41;==0&#41;<<2&#41;&#41;
    
    > > >s2.sounddriver.asm&#40;925&#41; BANKSWITCH&#40;9&#41; REPT 9&#40;2&#41;&#58; error&#58; symbol undefined
    
    > > > MUSICPOINT2
    
    > > >				 db &#40;73h|&#40;&#40;&#40;&#40;MUSICPOINT2&#41;&&#40;1<<&#40;15+cnt&#41;&#41;&#41;==0&#41;<<2&#41;&#41;
    
    > > >s2.sounddriver.asm&#40;1072&#41; BANKSWITCH&#40;9&#41; REPT 1&#40;2&#41;&#58; error&#58; symbol undefined
    
    > > > SND_SEGA
    
    > > >				 db &#40;73h|&#40;&#40;&#40;&#40;SND_SEGA&#41;&&#40;1<<&#40;15+cnt&#41;&#41;&#41;==0&#41;<<2&#41;&#41;
    
    > > >s2.sounddriver.asm&#40;1072&#41; BANKSWITCH&#40;9&#41; REPT 2&#40;2&#41;&#58; error&#58; symbol undefined
    
    > > > SND_SEGA
    
    > > >				 db &#40;73h|&#40;&#40;&#40;&#40;SND_SEGA&#41;&&#40;1<<&#40;15+cnt&#41;&#41;&#41;==0&#41;<<2&#41;&#41;
    
    > > >s2.sounddriver.asm&#40;1072&#41; BANKSWITCH&#40;9&#41; REPT 3&#40;2&#41;&#58; error&#58; symbol undefined
    
    > > > SND_SEGA
    
    > > >				 db &#40;73h|&#40;&#40;&#40;&#40;SND_SEGA&#41;&&#40;1<<&#40;15+cnt&#41;&#41;&#41;==0&#41;<<2&#41;&#41;
    
    > > >s2.sounddriver.asm&#40;1072&#41; BANKSWITCH&#40;9&#41; REPT 4&#40;2&#41;&#58; error&#58; symbol undefined
    
    > > > SND_SEGA
    
    > > >				 db &#40;73h|&#40;&#40;&#40;&#40;SND_SEGA&#41;&&#40;1<<&#40;15+cnt&#41;&#41;&#41;==0&#41;<<2&#41;&#41;
    
    > > >s2.sounddriver.asm&#40;1072&#41; BANKSWITCH&#40;9&#41; REPT 5&#40;2&#41;&#58; error&#58; symbol undefined
    
    > > > SND_SEGA
    
    > > >				 db &#40;73h|&#40;&#40;&#40;&#40;SND_SEGA&#41;&&#40;1<<&#40;15+cnt&#41;&#41;&#41;==0&#41;<<2&#41;&#41;
    
    > > >s2.sounddriver.asm&#40;1072&#41; BANKSWITCH&#40;9&#41; REPT 6&#40;2&#41;&#58; error&#58; symbol undefined
    
    > > > SND_SEGA
    
    > > >				 db &#40;73h|&#40;&#40;&#40;&#40;SND_SEGA&#41;&&#40;1<<&#40;15+cnt&#41;&#41;&#41;==0&#41;<<2&#41;&#41;
    
    > > >s2.sounddriver.asm&#40;1072&#41; BANKSWITCH&#40;9&#41; REPT 7&#40;2&#41;&#58; error&#58; symbol undefined
    
    > > > SND_SEGA
    
    > > >				 db &#40;73h|&#40;&#40;&#40;&#40;SND_SEGA&#41;&&#40;1<<&#40;15+cnt&#41;&#41;&#41;==0&#41;<<2&#41;&#41;
    
    > > >s2.sounddriver.asm&#40;1072&#41; BANKSWITCH&#40;9&#41; REPT 8&#40;2&#41;&#58; error&#58; symbol undefined
    
    > > > SND_SEGA
    
    > > >				 db &#40;73h|&#40;&#40;&#40;&#40;SND_SEGA&#41;&&#40;1<<&#40;15+cnt&#41;&#41;&#41;==0&#41;<<2&#41;&#41;
    
    > > >s2.sounddriver.asm&#40;1072&#41; BANKSWITCH&#40;9&#41; REPT 9&#40;2&#41;&#58; error&#58; symbol undefined
    
    > > > SND_SEGA
    
    > > >				 db &#40;73h|&#40;&#40;&#40;&#40;SND_SEGA&#41;&&#40;1<<&#40;15+cnt&#41;&#41;&#41;==0&#41;<<2&#41;&#41;
    
    > > >s2.sounddriver.asm&#40;1074&#41;&#58; error&#58; symbol undefined
    
    > > > Snd_Sega
    
    > > >   ld	  hl,zmake68kPtr&#40;Snd_Sega&#41;&#59; was&#58; 9E8Ch
    
    > > >s2.sounddriver.asm&#40;1940&#41; BANKSWITCH&#40;9&#41; REPT 1&#40;2&#41;&#58; error&#58; symbol undefined
    
    > > > MUSICPOINT1
    
    > > >				 db &#40;73h|&#40;&#40;&#40;&#40;MUSICPOINT1&#41;&&#40;1<<&#40;15+cnt&#41;&#41;&#41;==0&#41;<<2&#41;&#41;
    
    > > >s2.sounddriver.asm&#40;1940&#41; BANKSWITCH&#40;9&#41; REPT 2&#40;2&#41;&#58; error&#58; symbol undefined
    
    > > > MUSICPOINT1
    
    > > >				 db &#40;73h|&#40;&#40;&#40;&#40;MUSICPOINT1&#41;&&#40;1<<&#40;15+cnt&#41;&#41;&#41;==0&#41;<<2&#41;&#41;
    
    > > >s2.sounddriver.asm&#40;1940&#41; BANKSWITCH&#40;9&#41; REPT 3&#40;2&#41;&#58; error&#58; symbol undefined
    
    > > > MUSICPOINT1
    
    > > >				 db &#40;73h|&#40;&#40;&#40;&#40;MUSICPOINT1&#41;&&#40;1<<&#40;15+cnt&#41;&#41;&#41;==0&#41;<<2&#41;&#41;
    
    > > >s2.sounddriver.asm&#40;1940&#41; BANKSWITCH&#40;9&#41; REPT 4&#40;2&#41;&#58; error&#58; symbol undefined
    
    > > > MUSICPOINT1
    
    > > >				 db &#40;73h|&#40;&#40;&#40;&#40;MUSICPOINT1&#41;&&#40;1<<&#40;15+cnt&#41;&#41;&#41;==0&#41;<<2&#41;&#41;
    
    > > >s2.sounddriver.asm&#40;1940&#41; BANKSWITCH&#40;9&#41; REPT 5&#40;2&#41;&#58; error&#58; symbol undefined
    
    > > > MUSICPOINT1
    
    > > >				 db &#40;73h|&#40;&#40;&#40;&#40;MUSICPOINT1&#41;&&#40;1<<&#40;15+cnt&#41;&#41;&#41;==0&#41;<<2&#41;&#41;
    
    > > >s2.sounddriver.asm&#40;1940&#41; BANKSWITCH&#40;9&#41; REPT 6&#40;2&#41;&#58; error&#58; symbol undefined
    
    > > > MUSICPOINT1
    
    > > >				 db &#40;73h|&#40;&#40;&#40;&#40;MUSICPOINT1&#41;&&#40;1<<&#40;15+cnt&#41;&#41;&#41;==0&#41;<<2&#41;&#41;
    
    > > >s2.sounddriver.asm&#40;1940&#41; BANKSWITCH&#40;9&#41; REPT 7&#40;2&#41;&#58; error&#58; symbol undefined
    
    > > > MUSICPOINT1
    
    > > >				 db &#40;73h|&#40;&#40;&#40;&#40;MUSICPOINT1&#41;&&#40;1<<&#40;15+cnt&#41;&#41;&#41;==0&#41;<<2&#41;&#41;
    
    > > >s2.sounddriver.asm&#40;1940&#41; BANKSWITCH&#40;9&#41; REPT 8&#40;2&#41;&#58; error&#58; symbol undefined
    
    > > > MUSICPOINT1
    
    > > >				 db &#40;73h|&#40;&#40;&#40;&#40;MUSICPOINT1&#41;&&#40;1<<&#40;15+cnt&#41;&#41;&#41;==0&#41;<<2&#41;&#41;
    
    > > >s2.sounddriver.asm&#40;1940&#41; BANKSWITCH&#40;9&#41; REPT 9&#40;2&#41;&#58; error&#58; symbol undefined
    
    > > > MUSICPOINT1
    
    > > >				 db &#40;73h|&#40;&#40;&#40;&#40;MUSICPOINT1&#41;&&#40;1<<&#40;15+cnt&#41;&#41;&#41;==0&#41;<<2&#41;&#41;
    
    > > >s2.sounddriver.asm&#40;1943&#41; BANKSWITCH&#40;9&#41; REPT 1&#40;2&#41;&#58; error&#58; symbol undefined
    
    > > > MUSICPOINT2
    
    > > >				 db &#40;73h|&#40;&#40;&#40;&#40;MUSICPOINT2&#41;&&#40;1<<&#40;15+cnt&#41;&#41;&#41;==0&#41;<<2&#41;&#41;
    
    > > >s2.sounddriver.asm&#40;1943&#41; BANKSWITCH&#40;9&#41; REPT 2&#40;2&#41;&#58; error&#58; symbol undefined
    
    > > > MUSICPOINT2
    
    > > >				 db &#40;73h|&#40;&#40;&#40;&#40;MUSICPOINT2&#41;&&#40;1<<&#40;15+cnt&#41;&#41;&#41;==0&#41;<<2&#41;&#41;
    
    > > >s2.sounddriver.asm&#40;1943&#41; BANKSWITCH&#40;9&#41; REPT 3&#40;2&#41;&#58; error&#58; symbol undefined
    
    > > > MUSICPOINT2
    
    > > >				 db &#40;73h|&#40;&#40;&#40;&#40;MUSICPOINT2&#41;&&#40;1<<&#40;15+cnt&#41;&#41;&#41;==0&#41;<<2&#41;&#41;
    
    > > >s2.sounddriver.asm&#40;1943&#41; BANKSWITCH&#40;9&#41; REPT 4&#40;2&#41;&#58; error&#58; symbol undefined
    
    > > > MUSICPOINT2
    
    > > >				 db &#40;73h|&#40;&#40;&#40;&#40;MUSICPOINT2&#41;&&#40;1<<&#40;15+cnt&#41;&#41;&#41;==0&#41;<<2&#41;&#41;
    
    > > >s2.sounddriver.asm&#40;1943&#41; BANKSWITCH&#40;9&#41; REPT 5&#40;2&#41;&#58; error&#58; symbol undefined
    
    > > > MUSICPOINT2
    
    > > >				 db &#40;73h|&#40;&#40;&#40;&#40;MUSICPOINT2&#41;&&#40;1<<&#40;15+cnt&#41;&#41;&#41;==0&#41;<<2&#41;&#41;
    
    > > >s2.sounddriver.asm&#40;1943&#41; BANKSWITCH&#40;9&#41; REPT 6&#40;2&#41;&#58; error&#58; symbol undefined
    
    > > > MUSICPOINT2
    
    > > >				 db &#40;73h|&#40;&#40;&#40;&#40;MUSICPOINT2&#41;&&#40;1<<&#40;15+cnt&#41;&#41;&#41;==0&#41;<<2&#41;&#41;
    
    > > >s2.sounddriver.asm&#40;1943&#41; BANKSWITCH&#40;9&#41; REPT 7&#40;2&#41;&#58; error&#58; symbol undefined
    
    > > > MUSICPOINT2
    
    > > >				 db &#40;73h|&#40;&#40;&#40;&#40;MUSICPOINT2&#41;&&#40;1<<&#40;15+cnt&#41;&#41;&#41;==0&#41;<<2&#41;&#41;
    
    > > >s2.sounddriver.asm&#40;1943&#41; BANKSWITCH&#40;9&#41; REPT 8&#40;2&#41;&#58; error&#58; symbol undefined
    
    > > > MUSICPOINT2
    
    > > >				 db &#40;73h|&#40;&#40;&#40;&#40;MUSICPOINT2&#41;&&#40;1<<&#40;15+cnt&#41;&#41;&#41;==0&#41;<<2&#41;&#41;
    
    > > >s2.sounddriver.asm&#40;1943&#41; BANKSWITCH&#40;9&#41; REPT 9&#40;2&#41;&#58; error&#58; symbol undefined
    
    > > > MUSICPOINT2
    
    > > >				 db &#40;73h|&#40;&#40;&#40;&#40;MUSICPOINT2&#41;&&#40;1<<&#40;15+cnt&#41;&#41;&#41;==0&#41;<<2&#41;&#41;
    
    > > >s2.sounddriver.asm&#40;2428&#41; BANKSWITCH&#40;9&#41; REPT 1&#40;2&#41;&#58; error&#58; symbol undefined
    
    > > > MUSICPOINT2
    
    > > >				 db &#40;73h|&#40;&#40;&#40;&#40;MUSICPOINT2&#41;&&#40;1<<&#40;15+cnt&#41;&#41;&#41;==0&#41;<<2&#41;&#41;
    
    > > >s2.sounddriver.asm&#40;2428&#41; BANKSWITCH&#40;9&#41; REPT 2&#40;2&#41;&#58; error&#58; symbol undefined
    
    > > > MUSICPOINT2
    
    > > >				 db &#40;73h|&#40;&#40;&#40;&#40;MUSICPOINT2&#41;&&#40;1<<&#40;15+cnt&#41;&#41;&#41;==0&#41;<<2&#41;&#41;
    
    > > >s2.sounddriver.asm&#40;2428&#41; BANKSWITCH&#40;9&#41; REPT 3&#40;2&#41;&#58; error&#58; symbol undefined
    
    > > > MUSICPOINT2
    
    > > >				 db &#40;73h|&#40;&#40;&#40;&#40;MUSICPOINT2&#41;&&#40;1<<&#40;15+cnt&#41;&#41;&#41;==0&#41;<<2&#41;&#41;
    
    > > >s2.sounddriver.asm&#40;2428&#41; BANKSWITCH&#40;9&#41; REPT 4&#40;2&#41;&#58; error&#58; symbol undefined
    
    > > > MUSICPOINT2
    
    > > >				 db &#40;73h|&#40;&#40;&#40;&#40;MUSICPOINT2&#41;&&#40;1<<&#40;15+cnt&#41;&#41;&#41;==0&#41;<<2&#41;&#41;
    
    > > >s2.sounddriver.asm&#40;2428&#41; BANKSWITCH&#40;9&#41; REPT 5&#40;2&#41;&#58; error&#58; symbol undefined
    
    > > > MUSICPOINT2
    
    > > >				 db &#40;73h|&#40;&#40;&#40;&#40;MUSICPOINT2&#41;&&#40;1<<&#40;15+cnt&#41;&#41;&#41;==0&#41;<<2&#41;&#41;
    
    > > >s2.sounddriver.asm&#40;2428&#41; BANKSWITCH&#40;9&#41; REPT 6&#40;2&#41;&#58; error&#58; symbol undefined
    
    > > > MUSICPOINT2
    
    > > >				 db &#40;73h|&#40;&#40;&#40;&#40;MUSICPOINT2&#41;&&#40;1<<&#40;15+cnt&#41;&#41;&#41;==0&#41;<<2&#41;&#41;
    
    > > >s2.sounddriver.asm&#40;2428&#41; BANKSWITCH&#40;9&#41; REPT 7&#40;2&#41;&#58; error&#58; symbol undefined
    
    > > > MUSICPOINT2
    
    > > >				 db &#40;73h|&#40;&#40;&#40;&#40;MUSICPOINT2&#41;&&#40;1<<&#40;15+cnt&#41;&#41;&#41;==0&#41;<<2&#41;&#41;
    
    > > >s2.sounddriver.asm&#40;2428&#41; BANKSWITCH&#40;9&#41; REPT 8&#40;2&#41;&#58; error&#58; symbol undefined
    
    > > > MUSICPOINT2
    
    > > >				 db &#40;73h|&#40;&#40;&#40;&#40;MUSICPOINT2&#41;&&#40;1<<&#40;15+cnt&#41;&#41;&#41;==0&#41;<<2&#41;&#41;
    
    > > >s2.sounddriver.asm&#40;2428&#41; BANKSWITCH&#40;9&#41; REPT 9&#40;2&#41;&#58; error&#58; symbol undefined
    
    > > > MUSICPOINT2
    
    > > >				 db &#40;73h|&#40;&#40;&#40;&#40;MUSICPOINT2&#41;&&#40;1<<&#40;15+cnt&#41;&#41;&#41;==0&#41;<<2&#41;&#41;
    
    > > >s2.sounddriver.asm&#40;2632&#41;&#58; error&#58; symbol undefined
    
    > > > SndDAC_Sample1
    
    > > >   dw	  zmake68kPtr&#40;SndDAC_Sample1&#41;
    
    > > >s2.sounddriver.asm&#40;2634&#41;&#58; error&#58; symbol undefined
    
    > > > SndDAC_Sample1
    
    > > >   dw	  SndDAC_Sample1_End-SndDAC_Sample1
    
    > > >s2.sounddriver.asm&#40;2634&#41;&#58; error&#58; symbol undefined
    
    > > > SndDAC_Sample1_End
    
    > > >   dw	  SndDAC_Sample1_End-SndDAC_Sample1
    
    > > >s2.sounddriver.asm&#40;2636&#41;&#58; error&#58; symbol undefined
    
    > > > SndDAC_Sample2
    
    > > >   dw	  zmake68kPtr&#40;SndDAC_Sample2&#41;
    
    > > >s2.sounddriver.asm&#40;2637&#41;&#58; error&#58; symbol undefined
    
    > > > SndDAC_Sample2
    
    > > >   dw	  SndDAC_Sample2_End-SndDAC_Sample2
    
    > > >s2.sounddriver.asm&#40;2637&#41;&#58; error&#58; symbol undefined
    
    > > > SndDAC_Sample2_End
    
    > > >   dw	  SndDAC_Sample2_End-SndDAC_Sample2
    
    > > >s2.sounddriver.asm&#40;2639&#41;&#58; error&#58; symbol undefined
    
    > > > SndDAC_Sample3
    
    > > >   dw	  zmake68kPtr&#40;SndDAC_Sample3&#41;
    
    > > >s2.sounddriver.asm&#40;2640&#41;&#58; error&#58; symbol undefined
    
    > > > SndDAC_Sample3
    
    > > >   dw	  SndDAC_Sample3_End-SndDAC_Sample3
    
    > > >s2.sounddriver.asm&#40;2640&#41;&#58; error&#58; symbol undefined
    
    > > > SndDAC_Sample3_End
    
    > > >   dw	  SndDAC_Sample3_End-SndDAC_Sample3
    
    > > >s2.sounddriver.asm&#40;2642&#41;&#58; error&#58; symbol undefined
    
    > > > SndDAC_Sample4
    
    > > >   dw	  zmake68kPtr&#40;SndDAC_Sample4&#41;
    
    > > >s2.sounddriver.asm&#40;2643&#41;&#58; error&#58; symbol undefined
    
    > > > SndDAC_Sample4
    
    > > >   dw	  SndDAC_Sample4_End-SndDAC_Sample4
    
    > > >s2.sounddriver.asm&#40;2643&#41;&#58; error&#58; symbol undefined
    
    > > > SndDAC_Sample4_End
    
    > > >   dw	  SndDAC_Sample4_End-SndDAC_Sample4
    
    > > >s2.sounddriver.asm&#40;2645&#41;&#58; error&#58; symbol undefined
    
    > > > SndDAC_Sample5
    
    > > >   dw	  zmake68kPtr&#40;SndDAC_Sample5&#41;
    
    > > >s2.sounddriver.asm&#40;2646&#41;&#58; error&#58; symbol undefined
    
    > > > SndDAC_Sample5
    
    > > >   dw	  SndDAC_Sample5_End-SndDAC_Sample5
    
    > > >s2.sounddriver.asm&#40;2646&#41;&#58; error&#58; symbol undefined
    
    > > > SndDAC_Sample5_End
    
    > > >   dw	  SndDAC_Sample5_End-SndDAC_Sample5
    
    > > >s2.sounddriver.asm&#40;2648&#41;&#58; error&#58; symbol undefined
    
    > > > SndDAC_Sample6
    
    > > >   dw	  zmake68kPtr&#40;SndDAC_Sample6&#41;
    
    > > >s2.sounddriver.asm&#40;2649&#41;&#58; error&#58; symbol undefined
    
    > > > SndDAC_Sample6
    
    > > >   dw	  SndDAC_Sample6_End-SndDAC_Sample6
    
    > > >s2.sounddriver.asm&#40;2649&#41;&#58; error&#58; symbol undefined
    
    > > > SndDAC_Sample6_End
    
    > > >   dw	  SndDAC_Sample6_End-SndDAC_Sample6
    
    > > >s2.sounddriver.asm&#40;2651&#41;&#58; error&#58; symbol undefined
    
    > > > SndDAC_Sample7
    
    > > >   dw	  zmake68kPtr&#40;SndDAC_Sample7&#41;
    
    > > >s2.sounddriver.asm&#40;2652&#41;&#58; error&#58; symbol undefined
    
    > > > SndDAC_Sample7
    
    > > >   dw	  SndDAC_Sample7_End-SndDAC_Sample7
    
    > > >s2.sounddriver.asm&#40;2652&#41;&#58; error&#58; symbol undefined
    
    > > > SndDAC_Sample7_End
    
    > > >   dw	  SndDAC_Sample7_End-SndDAC_Sample7
    
    s2.sounddriver.asm&#40;2807&#41;
    
    rom size is $100000 bytes &#40;1024 kb&#41;. About $45E6 bytes are padding.
    
    s2.asm&#40;86907&#41;
    
    
    
    2.26 seconds assembly time
    
    
    
      89915 lines source file
    
     119669 lines incl. macro expansions
    
    	  2 passes
    
    	 82 errors
    
    	  1 warning
    
    Press any key to continue . . .
     
  4. Spanner

    Spanner The Tool Member

    Joined:
    Aug 9, 2007
    Messages:
    2,570
    Do a search and replace for "incbin" and change it to "binclude".
     
  5. sonicstheman

    sonicstheman Active Member Exiled

    Joined:
    Jul 12, 2009
    Messages:
    36
    I done that still same error
     
  6. Spanner

    Spanner The Tool Member

    Joined:
    Aug 9, 2007
    Messages:
    2,570
    Are you trying to delete the Sonic 2 sound driver? Just get rid of any references to it.
     
  7. sonicstheman

    sonicstheman Active Member Exiled

    Joined:
    Jul 12, 2009
    Messages:
    36
    What should I delete?
     
  8. Mikel

    Mikel Science is true power! Member

    Joined:
    Oct 5, 2007
    Messages:
    19
    Location:
    Oklahoma
    Well, if you removed the Sonic 2 Sound Driver, remove the s2.sounddriver.asm file, add the Sonic 1 Sound Driver code from Tweaker's guide to port the Sound Driver to Sonic 2 to the end of the rom.
     
  9. Alriightyman

    Alriightyman I'm back! Member

    Joined:
    Oct 3, 2007
    Messages:
    156
    Location:
    USA
    It seems to me that it cannot find this label:



    Code:
    Init_Sonic1_Sound_Driver
    Did you copy and paste your code for the sound driver or "include" it?? If you used "include", try to copy and paste the code instead. Also, run a search for that label and make sure it is there.
     
  10. sonicstheman

    sonicstheman Active Member Exiled

    Joined:
    Jul 12, 2009
    Messages:
    36
    First of all, the sound driver files, when I click to download them it says 404 error


    I was watching this video



    and this is what I would like but in sonic 2.
     
    Last edited by a moderator: Nov 29, 2009
Thread Status:
Not open for further replies.