Banner
Views: 814,271,562
Time:
26 users online: AntiDuck,  B1_Gaming, brickblock369, chickaDEE Magazine, ChrisHamulak, ChrizStylez, dacin, Darolac, deus128, DPBOX, ExONightZ,  FPzero, HammerBrother, JamesD28, KoJi, Koopster, Lucyvaine, Nirv, SAMYR DUTRA ARAUJO, ShUriK KiD,  Sinc-X, SquidMan_Raps, Stivi,  Telinc1, Teows, WhiteYoshiEgg - Guests: 59 - Bots: 199 Users: 43,001 (2,134 active)
Latest: deus128
Tip: Use this patch to fix the bug where editing the upper right 8x8 tile of the sideways walking Koopa Troopa in GFX01 makes the coin sparkles look glitchy.Not logged in.
(Convert LevalASM to UberASM) How to insert HDMA with UberASM
Forum Index - SMW Hacking - SMW Hacking Help - (Convert LevalASM to UberASM) How to insert HDMA with UberASM
Pages: « 1 »
Why i am doing this is the comments of Effect Tool were saying crashes and black screens after 2s because it generated LevalASM and not UberASM

So you generated the code with Effect Tool then you save it as ASM in level folder located in UberASM folder then go in list.txt in the same folder as UberASM and insert a variation of this code.

Code
level:
XXX		filename.asm

Now go back to that ASM File now replace RTS with RTL and .InitCode: with just init: or .MainCode: with main: and if there are still problems do the RTL thing again or remove comments. now try fixing the code and put it in a water/castle level some sprites will follow the FG HDMA. Edit:if used in a hack leave link by comments

Code
.InitCode:     ; 
   LDA #$17    ;\  BG1, BG2, BG3, OBJ on main screen (TM)
   STA $212C   ; | 
   LDA #$00    ; | 0 on main screen should use windowing. (TMW)
   STA $212E   ;/  
   LDA #$00    ;\  0 on sub screen (TS)
   STA $212D   ; | 
   LDA #$00    ; | 0 on sub screen should use windowing. (TSW)
   STA $212F   ;/  
   LDA #$B7    ; BG1, BG2, BG3, OBJ, Backdrop, Substract for color math
   STA $40     ;/  mirror of $2131

	REP #$20
	LDA #$3202
	STA $4340
	LDA #.RedGreenTable
	STA $4342
	LDY.b #.RedGreenTable>>16
	STY $4344
	SEP #$20
	LDA #$10
	TSB $6D9F
	RTS

.RedGreenTable:           ; 
   db $80 : db $5F, $3F   ; 
   db $60 : db $5F, $3F   ; 
   db $00                 ; 
   db $00                 ; 
That was awesome and put RTL instead of RTS using UberASM tool and Most creates some HDMA

--------------------
Here is my new layout.
Originally posted by Fermín Acosta Jr.
That was awesome and put RTL instead of RTS using UberASM tool and Most creates some HDMA

have you used it in a hack i am just curious
howdy,

may I ask please, where this UberASM tool is found? Cannot get my hands on it...
Originally posted by Darkslayer
howdy,

may I ask please, where this UberASM tool is found? Cannot get my hands on it...

You can get it on the tools section
Originally posted by FimishHACK
Originally posted by Fermín Acosta Jr.
That was awesome and put RTL instead of RTS using UberASM tool and Most creates some HDMA

have you used it in a hack i am just curious


Yes, I tested with power ups, lunar magic 3.04, snes9x and status bar as well

--------------------
Here is my new layout.
Some HDMA might not work.
Pages: « 1 »
Forum Index - SMW Hacking - SMW Hacking Help - (Convert LevalASM to UberASM) How to insert HDMA with UberASM

The purpose of this site is not to distribute copyrighted material, but to honor one of our favourite games.

Copyright © 2005 - 2020 - SMW Central
Legal Information - Privacy Policy - Link To Us


Total queries: 13

Menu

Follow Us On

  • YouTube
  • Twitch
  • Twitter

Affiliates

  • Super Mario Bros. X Community
  • ROMhacking.net
  • Mario Fan Games Galaxy