ASM to Sega Genesis Platform

Would you like to react to this message? Create an account in a few clicks or log in to continue.
ASM to Sega Genesis Platform

All about assembly programming in the Sega Genesis console.


+2
Green Snake
UburL33tUzerNam
6 posters

    How to put Extra Menu

    UburL33tUzerNam
    UburL33tUzerNam


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

    How to put Extra Menu Empty How to put Extra Menu

    Post  UburL33tUzerNam 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.
    UburL33tUzerNam
    UburL33tUzerNam


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

    How to put Extra Menu Empty Re: How to put Extra Menu

    Post  UburL33tUzerNam 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
    Green Snake
    Green Snake


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

    How to put Extra Menu Empty Re: How to put Extra Menu

    Post  Green Snake 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 : 1682
    Data de inscrição : 2014-10-05

    How to put Extra Menu Empty Re: How to put Extra Menu

    Post  JoshDP 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 : 1682
    Data de inscrição : 2014-10-05

    How to put Extra Menu Empty Re: How to put Extra Menu

    Post  JoshDP 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 : 1682
    Data de inscrição : 2014-10-05

    How to put Extra Menu Empty Re: How to put Extra Menu

    Post  JoshDP Sat Jan 24, 2015 8:50 pm

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


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

    How to put Extra Menu Empty Re: How to put Extra Menu

    Post  UburL33tUzerNam 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 : 1682
    Data de inscrição : 2014-10-05

    How to put Extra Menu Empty Re: How to put Extra Menu

    Post  JoshDP 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.
    Electroball_
    Electroball_


    Mensagens : 2171
    Data de inscrição : 2013-11-26
    Current Project : who cares

    How to put Extra Menu Empty Re: How to put Extra Menu

    Post  Electroball_ 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

    https://asmtosegagenesis.forumotion.com/t420-wee-ezze-w-be-ded
    UburL33tUzerNam
    UburL33tUzerNam


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

    How to put Extra Menu Empty Re: How to put Extra Menu

    Post  UburL33tUzerNam 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

    https://asmtosegagenesis.forumotion.com/t420-wee-ezze-w-be-ded
    \

    bruh...
    I know
    Green Snake
    Green Snake


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

    How to put Extra Menu Empty Re: How to put Extra Menu

    Post  Green Snake 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]
    UburL33tUzerNam
    UburL33tUzerNam


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

    How to put Extra Menu Empty Re: How to put Extra Menu

    Post  UburL33tUzerNam 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 : 1682
    Data de inscrição : 2014-10-05

    How to put Extra Menu Empty Re: How to put Extra Menu

    Post  JoshDP 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 : 1682
    Data de inscrição : 2014-10-05

    How to put Extra Menu Empty Re: How to put Extra Menu

    Post  JoshDP 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 : 1682
    Data de inscrição : 2014-10-05

    How to put Extra Menu Empty Re: How to put Extra Menu

    Post  JoshDP Fri Feb 06, 2015 1:48 pm

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

    runs and hides
    Green Snake
    Green Snake


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

    How to put Extra Menu Empty Re: How to put Extra Menu

    Post  Green Snake 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
    Electroball_
    Electroball_


    Mensagens : 2171
    Data de inscrição : 2013-11-26
    Current Project : who cares

    How to put Extra Menu Empty Re: How to put Extra Menu

    Post  Electroball_ Fri Feb 06, 2015 8:05 pm

    Electroball_
    Electroball_


    Mensagens : 2171
    Data de inscrição : 2013-11-26
    Current Project : who cares

    How to put Extra Menu Empty Re: How to put Extra Menu

    Post  Electroball_ Fri Feb 06, 2015 8:06 pm

    I'm boreeddddd
    avatar
    JoshDP


    Mensagens : 1682
    Data de inscrição : 2014-10-05

    How to put Extra Menu Empty Re: How to put Extra Menu

    Post  JoshDP Sun Feb 08, 2015 6:39 am

    me 2232222222222222222222222222222222222222
    UburL33tUzerNam
    UburL33tUzerNam


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

    How to put Extra Menu Empty Re: How to put Extra Menu

    Post  UburL33tUzerNam Sun Feb 15, 2015 6:39 am

    JoshDP wrote:me 2232222222222222222222222222222222222222
    me 3 Smile
    UburL33tUzerNam
    UburL33tUzerNam


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

    How to put Extra Menu Empty Re: How to put Extra Menu

    Post  UburL33tUzerNam 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
    No one
    No one


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

    How to put Extra Menu Empty Re: How to put Extra Menu

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

    this fourm be ded
    UburL33tUzerNam
    UburL33tUzerNam


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

    How to put Extra Menu Empty Re: How to put Extra Menu

    Post  UburL33tUzerNam Mon Jul 11, 2016 11:55 am

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


    Mensagens : 1682
    Data de inscrição : 2014-10-05

    How to put Extra Menu Empty Re: How to put Extra Menu

    Post  JoshDP Mon Jul 11, 2016 6:20 pm

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


    Mensagens : 1682
    Data de inscrição : 2014-10-05

    How to put Extra Menu Empty Re: How to put Extra Menu

    Post  JoshDP 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


    :

    Sponsored content


    How to put Extra Menu Empty Re: How to put Extra Menu

    Post  Sponsored content


      Current date/time is Thu Mar 28, 2024 3:41 am