ASM to Sega Genesis Platform

All about assembly programming in the Sega Genesis console.


    How to put Extra Menu

    Share
    avatar
    UburL33tUzerNam

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

    How to put Extra Menu

    Post  UburL33tUzerNam on Wed Oct 29, 2014 11:50 am

    This guide will show you how to put Extra Menu. This guide will work with the Github version of Sonic 1.

    1. Open sonic.asm
    2. Search for "GM_Title:"
    3. After GM_Title: add the following:
    Code:
    jsr +

    You should end up with the following:
    Code:
    GM_Title:            ; XREF: GameModeArray
          jsr +
          move.b   #bgm_Stop,d0
          bsr.w   PlaySound_Special ; stop music
          bsr.w   ClearPLC
          bsr.w   PaletteFadeOut
          disable_ints
          bsr.w   SoundDriverLoad
          lea   (vdp_control_port).l,a6
          move.w   #$8004,(a6)   ; 8-colour mode
          move.w   #$8200+(vram_fg>>10),(a6) ; set foreground nametable address
          move.w   #$8400+(vram_bg>>13),(a6) ; set background nametable address
          move.w   #$9001,(a6)   ; 64-cell hscroll size
          move.w   #$9200,(a6)   ; window vertical position
          move.w   #$8B03,(a6)
          move.w   #$8720,(a6)   ; set background colour (palette line 2, entry 0)
          clr.b   (f_wtr_state).w
          bsr.w   ClearScreen
    4. Build the code and run it. Your Extra Menu will be put.
    avatar
    UburL33tUzerNam

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

    Re: How to put Extra Menu

    Post  UburL33tUzerNam on Fri Jan 02, 2015 9:42 am

    UburL33tUzerNam wrote:This guide will show you how to put Extra Menu. This guide will work with the Github version of Sonic 1.

    1. Open sonic.asm
    2. Search for "GM_Title:"
    3. After GM_Title: add the following:
    Code:
    jsr +

    You should end up with the following:
    Code:
    GM_Title:            ; XREF: GameModeArray
          jsr +
          move.b   #bgm_Stop,d0
          bsr.w   PlaySound_Special ; stop music
          bsr.w   ClearPLC
          bsr.w   PaletteFadeOut
          disable_ints
          bsr.w   SoundDriverLoad
          lea   (vdp_control_port).l,a6
          move.w   #$8004,(a6)   ; 8-colour mode
          move.w   #$8200+(vram_fg>>10),(a6) ; set foreground nametable address
          move.w   #$8400+(vram_bg>>13),(a6) ; set background nametable address
          move.w   #$9001,(a6)   ; 64-cell hscroll size
          move.w   #$9200,(a6)   ; window vertical position
          move.w   #$8B03,(a6)
          move.w   #$8720,(a6)   ; set background colour (palette line 2, entry 0)
          clr.b   (f_wtr_state).w
          bsr.w   ClearScreen
    4. Build the code and run it. Your Extra Menu will be put.
    lik my guyde
    avatar
    Green Snake

    Mensagens : 2094
    Data de inscrição : 2012-04-07
    Localização : I do not even know
    Current Project : nope

    Re: How to put Extra Menu

    Post  Green Snake on Fri Jan 02, 2015 11:40 am

    UburL33tUzerNam wrote:3. After GM_Title: add the following:
    Code:
    jsr +
    You drunk bro, you needed to put this:
    Code:
    jsr *
    Now it 100% cooler
    avatar
    JoshDP

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

    Re: How to put Extra Menu

    Post  JoshDP on Fri Jan 02, 2015 3:30 pm

    Green Snake wrote:
    UburL33tUzerNam wrote:3. After GM_Title: add the following:
    Code:
    jsr +
    You drunken bro, you needed to put this:
    Code:
    jsr ^865864dflkhojfdklhmfdhFDHJJFgjhg                         
    Now it 100% cooler
    affraid affraid affraid affraid
    avatar
    JoshDP

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

    Re: How to put Extra Menu

    Post  JoshDP on Sat Jan 24, 2015 8:49 pm

    UburL33tUzerNam wrote:This guide will show you how to put Extra Menu. This guide will work with the Github version of Sonic 1.

    1. Open sonic.asm
    2. Search for "GM_Title:"
    3. After GM_Title: add the following:
    Code:
    jsr +

    You should end up with the following:
    Code:
    GM_Title: ; XREF: GameModeArray
     jsr +
     move.b #bgm_Stop,d0
     bsr.w PlaySound_Special ; stop music
     bsr.w ClearPLC
     bsr.w PaletteFadeOut
     disable_ints
     bsr.w SoundDriverLoad
     lea (vdp_control_port).l,a6
     move.w #$8004,(a6) ; 8-colour mode
     move.w #$8200+(vram_fg>>10),(a6) ; set foreground nametable address
     move.w #$8400+(vram_bg>>13),(a6) ; set background nametable address
     move.w #$9001,(a6) ; 64-cell hscroll size
     move.w #$9200,(a6) ; window vertical position
     move.w #$8B03,(a6)
     move.w #$8720,(a6) ; set background colour (palette line 2, entry 0)
     clr.b (f_wtr_state).w
     bsr.w ClearScreen
    4. Build the code and run it. Your Extra Menu will be put.
    Nice guide! I will use this for my S1 Coop hax and give joo credit cheers
    avatar
    JoshDP

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

    Re: How to put Extra Menu

    Post  JoshDP on Sat Jan 24, 2015 8:50 pm

    UburL33tUzerNam wrote:lik my guyde
    It's gr8
    avatar
    UburL33tUzerNam

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

    Re: How to put Extra Menu

    Post  UburL33tUzerNam on Mon Feb 02, 2015 6:37 pm

    JoshDP wrote:
    UburL33tUzerNam wrote:lik my guyde
    It's gr8
    ᓗᓪ,ᐃᒻ ᓱ ᕗᒡᑭᓐᒡ ᐊweᓱᒻe ᑦᓴᑦ joshdp wᐃᓪᓪ be deᐊd.
    avatar
    JoshDP

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

    Re: How to put Extra Menu

    Post  JoshDP on Tue Feb 03, 2015 7:36 pm

    UburL33tUzerNam wrote:
    JoshDP wrote:
    UburL33tUzerNam wrote:lik my guyde
    It's gr8
    ᓗᓪ,ᐃᒻ ᓱ ᕗᒡᑭᓐᒡ ᐊweᓱᒻe ᑦᓴᑦ joshdp wᐃᓪᓪ be deᐊd.
    Dis --> bounce bounce bounce bro, bro.
    avatar
    Electroball_

    Mensagens : 1595
    Data de inscrição : 2013-11-26
    Localização : Antarctic Ocean
    Current Project : Finding a better way to spend free time

    Re: How to put Extra Menu

    Post  Electroball_ on Wed Feb 04, 2015 11:03 am

    UburL33tUzerNam wrote:
    JoshDP wrote:
    UburL33tUzerNam wrote:lik my guyde
    It's gr8
    ᓗᓪ,ᐃᒻ ᓱ ᕗᒡᑭᓐᒡ ᐊweᓱᒻe ᑦᓴᑦ joshdp wᐃᓪᓪ be deᐊd.

    bruh...
    I posted that first

    http://asmtosegagenesis.forumeiros.com/t420-wee-ezze-w-be-ded
    avatar
    UburL33tUzerNam

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

    Re: How to put Extra Menu

    Post  UburL33tUzerNam on Thu Feb 05, 2015 5:26 pm

    Electroball_ wrote:
    UburL33tUzerNam wrote:
    JoshDP wrote:
    UburL33tUzerNam wrote:lik my guyde
    It's gr8
    ᓗᓪ,ᐃᒻ ᓱ ᕗᒡᑭᓐᒡ ᐊweᓱᒻe ᑦᓴᑦ joshdp wᐃᓪᓪ be deᐊd.

    bruh...
    I posted that first

    http://asmtosegagenesis.forumeiros.com/t420-wee-ezze-w-be-ded
    \

    bruh...
    I know
    avatar
    Green Snake

    Mensagens : 2094
    Data de inscrição : 2012-04-07
    Localização : I do not even know
    Current Project : nope

    Re: How to put Extra Menu

    Post  Green Snake on Thu Feb 05, 2015 9:19 pm

    This guide will show you how to put Extra Menu. This guide will not work with the GBA version of Sonic 1.

    1. Open sonic.gbc
    2. Search for "GBC_Title:"
    3. After GBC_Title: add the following:
    Code:
    jsr +

    You should end up with the following:
    Code:
    GBC_Title: ; XREF: GameModeArray
     jsr +
     move.b #sex_Stop,d0
     bsr.w PlaySpecialEffect ; stop sex
     bsr.w ClearBS
     bsr.w LifeFadeOut
     disable_hints
     bsr.w SexDriveLoad
     lea (USA_control_port).l,a6
     move.w #$8004,(a6) ; 8-colon mode
     move.w #$8200+(vram_fag>>10),(a6) ; set foreground NASA address
     move.w #$8400+(vram_bag>>13),(a6) ; set background NASA address
     move.w #$9001,(a6) ; 64-cell troll size
     move.w #$9200,(a6) ; window vertical potato
     move.w #$8B03,(a6)
     move.w #$8720,(a6) ; set background colon (keyboard line 2, entry 0)
     clr.b (fuck_Texas_state).w
     bsr.w ClearScrap
    4. Build the keyboard and ruin it. Your Extra Menu will be put.[/quote]
    avatar
    UburL33tUzerNam

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

    Re: How to put Extra Menu

    Post  UburL33tUzerNam on Fri Feb 06, 2015 4:40 am

    Green Snake wrote:This guide will show you how to put Extra Menu. This guide will not work with the GBA version of Sonic 1.

    1. Open sonic.gbc
    2. Search for "GBC_Title:"
    3. After GBC_Title: add the following:
    Code:
    jsr +

    You should end up with the following:
    Code:
    GBC_Title: ; XREF: GameModeArray
     jsr +
     move.b #sex_Stop,d0
     bsr.w PlaySpecialEffect ; stop sex
     bsr.w ClearBS
     bsr.w LifeFadeOut
     disable_hints
     bsr.w SexDriveLoad
     lea (USA_control_port).l,a6
     move.w #$8004,(a6) ; 8-colon mode
     move.w #$8200+(vram_fag>>10),(a6) ; set foreground NASA address
     move.w #$8400+(vram_bag>>13),(a6) ; set background NASA address
     move.w #$9001,(a6) ; 64-cell troll size
     move.w #$9200,(a6) ; window vertical potato
     move.w #$8B03,(a6)
     move.w #$8720,(a6) ; set background colon (keyboard line 2, entry 0)
     clr.b (fuck_Texas_state).w
     bsr.w ClearScrap
    4. Build the keyboard and ruin it. Your Extra Menu will be put.
    [/quote]

    OMG STOELUN POZT!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    avatar
    JoshDP

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

    Re: How to put Extra Menu

    Post  JoshDP on Fri Feb 06, 2015 1:44 pm

    UburL33tUzerNam wrote:
    Green Snake wrote:This guide will show you how to put Extra Menu. This guide will not work with the GBA version of Sonic 1.

    1. Open sonic.gbc
    2. Search for "GBC_Title:"
    3. After GBC_Title: add the following:
    Code:
    jsr +

    You should end up with the following:
    Code:
    GBC_Title: ; XREF: GameModeArray
     jsr +
     move.b #sex_Stop,d0
     bsr.w PlaySpecialEffect ; stop sex
     bsr.w ClearBS
     bsr.w LifeFadeOut
     disable_hints
     bsr.w SexDriveLoad
     lea (USA_control_port).l,a6
     move.w #$8004,(a6) ; 8-colon mode
     move.w #$8200+(vram_fag>>10),(a6) ; set foreground NASA address
     move.w #$8400+(vram_bag>>13),(a6) ; set background NASA address
     move.w #$9001,(a6) ; 64-cell troll size
     move.w #$9200,(a6) ; window vertical potato
     move.w #$8B03,(a6)
     move.w #$8720,(a6) ; set background colon (keyboard line 2, entry 0)
     clr.b (fuck_Texas_state).w
     bsr.w ClearScrap
    4. Build the keyboard and ruin it. Your Extra Menu will be put.

    OMG STOELUN POZT!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    [/quote] lol Ikr
    avatar
    JoshDP

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

    Re: How to put Extra Menu

    Post  JoshDP on Fri Feb 06, 2015 1:46 pm

    UburL33tUzerNam wrote:
    Green Snake wrote:This guide will show you how to put Extra Menu. This guide will not work with the GBA version of Sonic 1.

    1. Open sonic.gbc
    2. Search for "GBC_Title:"
    3. After GBC_Title: add the following:
    Code:
    jsr +

    You should end up with the following:
    Code:
    GBC_Title: ; XREF: GameModeArray
     jsr +
     move.b #sex_Stop,d0
     bsr.w PlaySpecialEffect ; stop sex
     bsr.w ClearBS
     bsr.w LifeFadeOut
     disable_hints
     bsr.w SexDriveLoad
     lea (USA_control_port).l,a6
     move.w #$8004,(a6) ; 8-colon mode
     move.w #$8200+(vram_fag>>10),(a6) ; set foreground NASA address
     move.w #$8400+(vram_bag>>13),(a6) ; set background NASA address
     move.w #$9001,(a6) ; 64-cell troll size
     move.w #$9200,(a6) ; window vertical potato
     move.w #$8B03,(a6)
     move.w #$8720,(a6) ; set background colon (keyboard line 2, entry 0)
     clr.b (fuck_Texas_state).w
     bsr.w ClearScrap
    4. Build the keyboard and ruin it. Your Extra Menu will be put.

    OMG STOELUN POZT!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!



    K lettme try again......

    lol Ikr
    avatar
    JoshDP

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

    Re: How to put Extra Menu

    Post  JoshDP on Fri Feb 06, 2015 1:48 pm

    :O GreenSnake's back to stealing stuff again? Neutral silent :s

    runs and hides
    avatar
    Green Snake

    Mensagens : 2094
    Data de inscrição : 2012-04-07
    Localização : I do not even know
    Current Project : nope

    Re: How to put Extra Menu

    Post  Green Snake on Fri Feb 06, 2015 6:13 pm

    UburL33tUzerNam wrote:
    Green Snake wrote:This guide will show you how to put Extra Menu. This guide will not work with the GBA version of Sonic 1.

    1. Open sonic.gbc
    2. Search for "GBC_Title:"
    3. After GBC_Title: add the following:
    Code:
    jsr +

    You should end up with the following:
    Code:
    GBC_Title: ; XREF: GameModeArray
     jsr +
     move.b #sex_Stop,d0
     bsr.w PlaySpecialEffect ; stop sex
     bsr.w ClearBS
     bsr.w LifeFadeOut
     disable_hints
     bsr.w SexDriveLoad
     lea (USA_control_port).l,a6
     move.w #$8004,(a6) ; 8-colon mode
     move.w #$8200+(vram_fag>>10),(a6) ; set foreground NASA address
     move.w #$8400+(vram_bag>>13),(a6) ; set background NASA address
     move.w #$9001,(a6) ; 64-cell troll size
     move.w #$9200,(a6) ; window vertical potato
     move.w #$8B03,(a6)
     move.w #$8720,(a6) ; set background colon (keyboard line 2, entry 0)
     clr.b (fuck_Texas_state).w
     bsr.w ClearScrap
    4. Build the keyboard and ruin it. Your Extra Menu will be put.

    OMG STOELUN POZT!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    Origunal cuntent donut steel!!!!111
    avatar
    Electroball_

    Mensagens : 1595
    Data de inscrição : 2013-11-26
    Localização : Antarctic Ocean
    Current Project : Finding a better way to spend free time

    Re: How to put Extra Menu

    Post  Electroball_ on Fri Feb 06, 2015 8:05 pm

    avatar
    Electroball_

    Mensagens : 1595
    Data de inscrição : 2013-11-26
    Localização : Antarctic Ocean
    Current Project : Finding a better way to spend free time

    Re: How to put Extra Menu

    Post  Electroball_ on Fri Feb 06, 2015 8:06 pm

    I'm boreeddddd
    avatar
    JoshDP

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

    Re: How to put Extra Menu

    Post  JoshDP on Sun Feb 08, 2015 6:39 am

    me 2232222222222222222222222222222222222222
    avatar
    UburL33tUzerNam

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

    Re: How to put Extra Menu

    Post  UburL33tUzerNam on Sun Feb 15, 2015 6:39 am

    JoshDP wrote:me 2232222222222222222222222222222222222222
    me 3 Smile
    avatar
    UburL33tUzerNam

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

    Re: How to put Extra Menu

    Post  UburL33tUzerNam on Tue Jun 28, 2016 3:04 pm

    Green Snake wrote:This guide will show you how to put Extra Menu. This guide will not work with the GBA version of Sonic 1.

    1. Open sonic.gbc
    2. Search for "GBC_Title:"
    3. After GBC_Title: add the following:
    Code:
    jsr +

    You should end up with the following:
    Code:
    GBC_Title: ; XREF: GameModeArray
     jsr +
     move.b #sex_Stop,d0
     bsr.w PlaySpecialEffect ; stop sex
     bsr.w ClearBS
     bsr.w LifeFadeOut
     disable_hints
     bsr.w SexDriveLoad
     lea (USA_control_port).l,a6
     move.w #$8004,(a6) ; 8-colon mode
     move.w #$8200+(vram_fag>>10),(a6) ; set foreground NASA address
     move.w #$8400+(vram_bag>>13),(a6) ; set background NASA address
     move.w #$9001,(a6) ; 64-cell troll size
     move.w #$9200,(a6) ; window vertical potato
     move.w #$8B03,(a6)
     move.w #$8720,(a6) ; set background colon (keyboard line 2, entry 0)
     clr.b (fuck_Texas_state).w
     bsr.w ClearScrap
    4. Build the keyboard and ruin it. Your Extra Menu will be put.


    >Game Boy
    >68k ASM


    Here, lemme fix that for you.
    Code:
    GBC_Title: ; XREF: GameModeArray
     rst $38
     ld [sex_Stop],a
     call PlaySpecialEffect ; stop sex
     call ClearBS
     call LifeFadeOut
     disable_hints ; disable horizontal interrupts
     call SexDriveLoad
     ld USA_control_port,hl
     ld $8006,[hl] ; 8-colon mode
     ld $8200+(vram_fag>>10),[hl] ; set foreground NASA address
     ld $8400+(vram_bag>>13),[hl] ; set background NASA address
     ld $9001,[hl] ; 64-cell troll size
     ld #$9200,[hl] ; window vertical potato
     ld #$8B03,[hl]
     ld #$8720,[hl] ; set background colon (keyboard line 2, entry 0)
     xor a
     ld [fuck_Texas_state],a
     call ClearScrap
    avatar
    No one

    Mensagens : 601
    Data de inscrição : 2015-06-23

    Re: How to put Extra Menu

    Post  No one on Wed Jun 29, 2016 6:39 pm

    this fourm be ded
    avatar
    UburL33tUzerNam

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

    Re: How to put Extra Menu

    Post  UburL33tUzerNam on Mon Jul 11, 2016 11:55 am

    No one wrote:this fourm be ded
    ASM TO SEGA STOLUN KONTENT BE BAX!!!!!!!!!!!!!!!!!!!!!!!!
    avatar
    JoshDP

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

    Re: How to put Extra Menu

    Post  JoshDP on Mon Jul 11, 2016 6:20 pm

    No one wrote:this fourm be ded
    no u
    avatar
    JoshDP

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

    Re: How to put Extra Menu

    Post  JoshDP on Tue Jul 12, 2016 2:31 pm

    UburL33tUzerNam wrote:
    No one wrote:this fourm be ded
    ASM TO SEGA STOLUN KONTENT BE BAX!!!!!!!!!!!!!!!!!!!!!!!!
    LOL Yes it b bacx


    :
    About time.

    Sponsored content

    Re: How to put Extra Menu

    Post  Sponsored content


      Current date/time is Sun Oct 22, 2017 3:55 am