ASM to Sega Genesis Platform

All about assembly programming in the Sega Genesis console.


    [Tutorial] How to replace Knuckles with an enchilada

    Share
    avatar
    UburL33tUzerNam

    Mensagens : 810
    Data de inscrição : 2013-08-08
    Localização : Somewhere
    Current Project : Things

    [Tutorial] How to replace Knuckles with an enchilada

    Post  UburL33tUzerNam on Wed May 20, 2015 6:00 pm

    This guide will show you how to replace Knuckles with an enchilada.

    1. Go to Knuckles_MdNormal:
    2. Replace it with the following:
    Code:
    Knuckles_MdNormal:
       cmpi.b   #1,(v_hasSpammedForum)   ; have we spammed the forums yet?
       bne.s   @nospam   ; if not, branch
       move.w   'SPAM',d0-a7
       move.w   d0-a7,(v_forums).w   ; spam the forums
       move.w   #$FFFF,(v_flashwidth).w
       move.w   #$FFFF,(v_flashheight).w
       lea   (ytURL).w,a0
    @ytembed:
       move.w   #$FFFF,d0
       lea   (YouTube).w,a1
       move.w   a1,d1
       dbf   d0,@ytembed
       jmp   @continue
    @continue:
       cmpi.b   #1,(v_hasSpammedForum)   ; have we spammed the forums yet?
       bne.s   @nospam   ; if not, branch
       jmp   Knuckles_MdNormal   ; start over
    @nospam:
       rts
    ytURL:
       dc.b   "https://www.youtube.com/watch?v=Ryowiw9NxOE"
    3. Build and run.
    avatar
    UburL33tUzerNam

    Mensagens : 810
    Data de inscrição : 2013-08-08
    Localização : Somewhere
    Current Project : Things

    Re: [Tutorial] How to replace Knuckles with an enchilada

    Post  UburL33tUzerNam on Mon May 25, 2015 11:31 am

    UburL33tUzerNam wrote:This guide will show you how to replace Knuckles with an enchilada.

    1. Go to Knuckles_MdNormal:
    2. Replace it with the following:
    Code:
    Knuckles_MdNormal:
     cmpi.b #1,(v_hasSpammedForum) ; have we spammed the forums yet?
     bne.s @nospam ; if not, branch
     move.w 'SPAM',d0-a7
     move.w d0-a7,(v_forums).w ; spam the forums
     move.w #$FFFF,(v_flashwidth).w
     move.w #$FFFF,(v_flashheight).w
     lea (ytURL).w,a0
    @ytembed:
     move.w #$FFFF,d0
     lea (YouTube).w,a1
     move.w a1,d1
     dbf d0,@ytembed
     jmp @continue
    @continue:
     cmpi.b #1,(v_hasSpammedForum) ; have we spammed the forums yet?
     bne.s @nospam ; if not, branch
     jmp Knuckles_MdNormal ; start over
    @nospam:
     rts
    ytURL:
     dc.b "https://www.youtube.com/watch?v=Ryowiw9NxOE"
    3. Build and run.
    lik my guyde
    avatar
    JoshDP

    Mensagens : 1009
    Data de inscrição : 2014-10-05
    Current Project : S3K and S1 Coop hax

    Re: [Tutorial] How to replace Knuckles with an enchilada

    Post  JoshDP on Mon May 25, 2015 1:05 pm

    Yes.
    avatar
    Jdpense

    Mensagens : 824
    Data de inscrição : 2014-08-21

    Re: [Tutorial] How to replace Knuckles with an enchilada

    Post  Jdpense on Thu Jul 16, 2015 4:51 pm

    UburL33tUzerNam wrote:
    UburL33tUzerNam wrote:This guide will show you how to replace Knuckles with an enchilada.

    1. Go to Knuckles_MdNormal:
    2. Replace it with the following:
    Code:
    Knuckles_MdNormal:
     cmpi.b #1,(v_hasSpammedForum) ; have we spammed the forums yet?
     bne.s @nospam ; if not, branch
     move.w 'SPAM',d0-a7
     move.w d0-a7,(v_forums).w ; spam the forums
     move.w #$FFFF,(v_flashwidth).w
     move.w #$FFFF,(v_flashheight).w
     lea (ytURL).w,a0
    @ytembed:
     move.w #$FFFF,d0
     lea (YouTube).w,a1
     move.w a1,d1
     dbf d0,@ytembed
     jmp @continue
    @continue:
     cmpi.b #1,(v_hasSpammedForum) ; have we spammed the forums yet?
     bne.s @nospam ; if not, branch
     jmp Knuckles_MdNormal ; start over
    @nospam:
     rts
    ytURL:
     dc.b "https://www.youtube.com/watch?v=Ryowiw9NxOE"
    3. Build and run.
    lik my guyde
    I luv et

    Sponsored content

    Re: [Tutorial] How to replace Knuckles with an enchilada

    Post  Sponsored content


      Current date/time is Wed Aug 23, 2017 12:19 am