Banner
Views: 827,391,774
Time:
13 users online: chelbird, Darolac, ExONightZ, FYRE150, Jead, JP 14, kamekku14, Misterfan2000,  Nameless, NerDose, SquidMan_Raps, Vaporaze, WhiteYoshiEgg - Guests: 43 - Bots: 68 Users: 44,263 (2,540 active)
Latest: JP 14
Tip: Don't use savestates when testing your own levels.Not logged in.
Posts by Akaginite
Akaginite's Profile - Posts by Akaginite
Pages: « 1 2 3 4 5 6 »
I'm sorry. I can't speak English.
So I put only a code.
Really I'm sorry.

Code
HEADER
LOROM
		!Freespace = $1D8000
		org $80B8E3
		JML Decomp_Start

macro ReadByte()
		LDA [$8A]
		LDX $8A
		INX
		BNE +
		LDX.w #$8000
		INC $8C
+		STX $8A
endmacro

		org !Freespace
Decomp:
.Return		PLB
		JML $80B8EA
.Start		PHB
		LDA $02
		PHA
		PLB
.Loop		%ReadByte()
		CMP #$FF
		BEQ .Return
		STA $8F
		AND #$E0
		CMP #$E0
		BEQ +
		PHA
		LDA $8F
		REP #$20
		AND.w #$001F
		BRA .Label2
+		LDA $8F
		ASL #3
		AND #$E0
		PHA
		LDA $8F
		AND #$03
		XBA
		%ReadByte()
		REP #$20
.Label2		INC A
		STA $8D
		SEP #$20
		PLA
		BEQ .Label3
		BPL .NextUp

.Label4		%ReadByte()
		XBA
		%ReadByte()
		TAX
		REP #$20
		LSR $8D
		LDA $8D
		BEQ .LoopEnd0
-		PHY
		TXY
		LDA ($00),y
		PLY
		STA ($00),y
		INY #2
		INX #2
		DEC $8D
		BNE -
.LoopEnd0	SEP #$20
		BCS +
		JMP .Loop
+		PHY
		TXY
		LDA ($00),y
		PLY
		STA ($00),y
		INY
		JMP .Loop

.NextUp		ASL A
		BPL .Label5
		ASL A
		BPL .Label6

		%ReadByte()
		LDX $8D
-		STA ($00),y
		INC A
		INY
		DEX
		BNE -
		JMP .Loop

.Label3		%ReadByte()
		STA ($00),y
		INY
		LDX $8D
		DEX
		STX $8D
		BNE .Label3
		JMP .Loop

.Label5		%ReadByte()
		LDX $8D
-		STA ($00),y
		INY
		DEX
		BNE -
		JMP .Loop

.Label6		%ReadByte()
		XBA
		%ReadByte()
		XBA
		REP #$20
		LSR $8D
		LDX $8D
		BEQ .LoopEnd
-		STA ($00),y
		INY #2
		DEX
		BNE -
.LoopEnd	SEP #$20
		BCS +
		JMP .Loop
+		STA ($00),y
		INY
		JMP .Loop
I optimized it a little.
If there is a bug, I am sorry.

Code
HEADER
LOROM
		!Freespace = $1D8000
		org $80B8E3
		JML Decomp_Start

macro ReadByte()
		LDA [$00],y
		INY
		BMI +
		LDY.w #$8000
		INC $02
+
endmacro

macro ReadWord()
		LDA [$00],y
		INY #2
		BMI +
		PHA
		TYA
		ORA #$8000
		TAY
		SEP #$20
		INC $02
		REP #$20
		PLA
+
endmacro

		org !Freespace
Decomp:
.Return		PLY
		STY $00
		LDA $02
		STA $8C
		STA $8F
		PHB
		PLA
		STA $02
		PLB
		REP #$20
		TXA
		SEC
		SBC $00		;sub starting pointer
		TXY
		STA $8D		; store size to $8D
		SEP #$20
		JML $80B8EA
.Start		PHB
		LDA $02
		PHA
		PLB
		LDX $00		;16bit pointer in X
		PHX
		STZ $00
		STZ $01
		LDY $8A
		LDA $8C
		STA $02
.Loop		LDA $7F8182
		%ReadByte()
		CMP #$FF
		BEQ .Return
		STA $8F
		AND #$E0
		CMP #$E0
		BEQ +
		PHA
		LDA $8F
		REP #$20
		AND.w #$001F
		BRA .Label2
+		LDA $8F
		ASL #3
		AND #$E0
		PHA
		LDA $8F
		AND #$03
		XBA
		%ReadByte()
		REP #$20
.Label2		INC A
		STA $8D
		SEP #$20
		PLA
		BEQ .Label3
		BPL .NextUp

.Label4		%ReadByte()
		XBA
		%ReadByte()
		PHY
		REP #$21
		ADC $03,s		;Y needs to be offset by original pointer
		TAY
		LSR $8D
		LDA $8D
		BEQ .LoopEnd0
-		LDA $0000,y
		STA $0000,x
		INY #2
		INX #2
		DEC $8D
		BNE -
.LoopEnd0	SEP #$20
		BCS +
		PLY
		JMP .Loop
+		LDA $0000,y
		STA $0000,x
		INX
		PLY
		JMP .Loop

.NextUp		ASL A
		BPL .Label5
		ASL A
		BPL .Label6

		%ReadByte()
		PHY
		LDY $8D
-		STA $0000,x
		INC A
		INX
		DEY
		BNE -
		PLY
		JMP .Loop

.Label3		REP #$20
		LSR $8D
		LDA $8D
		BEQ .LoopEnd1
-		%ReadWord()
		STA $0000,x
		INX #2
		DEC $8D
		BNE -
.LoopEnd1	SEP #$20
		BCS +
		JMP .Loop
+		%ReadByte()
		STA $0000,x
		INX
		JMP .Loop

.Label5		%ReadByte()
		PHY
		LDY $8D
-		STA $0000,x
		INX
		DEY
		BNE -
		PLY
		JMP .Loop

.Label6		REP #$20
		%ReadWord()
		LSR $8D
		PHY
		LDY $8D
		BEQ .LoopEnd
-		STA $0000,x
		INX #2
		DEY
		BNE -
.LoopEnd	PLY
		SEP #$20
		BCS +
		JMP .Loop
+		STA $0000,x
		INX
		JMP .Loop
When you activate a Switch Palace, part of the overworld animation tiles gets overwritten. I think the cause is because part of the animation tiles uses the same RAM as the flying switch blocks.
Originally posted by cheat-master30
Is the Japanese uploader randomly blocking everyone else too?

Because it seems like it keeps going from 'working' to a 403 error page, and I'm wondering whether someone is trying (and perhaps often failing) to georestrict it to Japanese users.

Either way, I've taken backups of notable hacks there, and have uploaded them to a safe place for keeping and future reference.


XREA's servers are acting weird, it's not that foreign users are being blocked.
(restricted)
(restricted)
あら霊夢、またサボり?

ここが過疎なのは日本が独自のコミュニティを形成していたので仕方ないですね。

もう国内でSMWhackingをしている方はほとんどいないんですかね・・・。
えっくすは復旧以降ほとんど投稿・書き込み無し。wikiのアクティブユーザー数は多くて3人。
悲しいですね。
(restricted)
Originally posted by GreenHammerBro
What the? There is a copy of vipper's website: http://cdn18.atwikiimg.com/sm4wiki_mix/


I think that site is copy place for ad revenue purpose.
because that server is exist many copy of other atwiki pages.
I think your code is need more optimization.
code optimization are very enjoyable, so let you try too.

Example:
Code
!Ram =		$XXXX
!StatusBarPos =	$0F0C

DisplayBin:
	LDX #$07
	LDA !Ram
-	LSR A
	STZ !StatusBarPos,x
	ROL !StatusBarPos,x
	DEX
	BPL -
	RTS


Unsigned 16bit Division routine:
Code
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; 16bit / 16bit Division
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Arguments
; $00-$01 : Dividend
; $02-$03 : Divisor
; Return values
; $00-$01 : Quotient
; $02-$03 : Remainder
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

MathDiv:	REP #$20
		ASL $00
		LDY #$0F
		LDA.w #$0000
-		ROL A
		CMP $02
		BCC +
		SBC $02
+		ROL $00
		DEY
		BPL -
		STA $02
		SEP #$20
		RTS
Originally posted by IanBoy141
So it isn't official and they are trying to make money out of it?


I was reconfirmation it. seems that is official cache server.
I apologize about my incorrect post.
Originally posted by Big Brawler
Which is the currently version of ASPE Mario?

This Coin don't appeared

Is Completely Gone

it's 改造マリオあっぷろだX.
that have compatible save data with old version.

also SIG was uploaded new hack recently.
Originally posted by cheat-master30
Is there a mirror of that site for when it keeps going down?

Heck, if you want better hosting, I can always help with that. I'm already asking carol about whether I could host his own site on a more reliable domain.

XREA server sometimes will block not Japanese domain. it's racist.
and mirror site is not exist. sorry for inconvenience.
Originally posted by 6646
Originally posted by zipper
英語ができないのでここで質問させていただきます。

BGMをダウンロードするとmmlファイルのほかに2種類のspcファイルが入っていることがありますが、.amkがついてるものは普通のspcファイルと何が違うのでしょうか?


該当ファイルがどれなのかわからないのでなんともいえないですけど、全Addmusic共通版とAddmusicK専用版の違いじゃないですかね?


手元のMMLを調べてみた所、AddMusic4時代のMMLに多く見られたので
AddmusicKで生成したSPCに.amkという接尾辞をつけて添付してるのだと思います。
(restricted)
(restricted)
I did optimized FinishOAMWrite at few years ago.
I reviewed this old code and optimized it further.
maybe this code is more faster than Drex's code.

Code
		org $01B7BB
FinOAMWrite:	STY $0B
		STA $08
		LDA $D8,x
		SEC
		SBC $1C
		STA $00
		LDA $14D4,x
		SBC $1D
		STA $01
		LDY $15EA,x
		LDA $14E0,x
		XBA
		LDA $E4,x
		REP #$20
		SEC
		SBC $1A
		STA $02
		TYA
		LSR A
		LSR A
		TAX
		SEP #$21

.Loop		LDA $0300,y
		SBC $02
		REP #$21
		BPL +
		ORA.w #$FF00
+		ADC $02
		CMP.w #$0100
		TXA
		SEP #$20
		LDA $0B
		BPL +
		LDA $0460,x
		AND #$02
+		ADC #$00
		STA $0460,x
		LDA $0301,y
		SEC
		SBC $00
		REP #$21
		BPL +
		ORA.w #$FF00
+		ADC $00
		CLC
		ADC.w #$0010
		CMP.w #$0100
		BCC .Next
		LDA.w #$00F0
		SEP #$20
		STA $0301,y
.Next		SEP #$21
		INY #4
		INX
		DEC $08
		BPL .Loop
		LDX $15E9
		RTS


he is already inactive#wario{:'(}
tarzou1 and syamu_movie (account deleted)

oh, and HowToBasic
(restricted)
Pages: « 1 2 3 4 5 6 »
Akaginite's Profile - Posts by Akaginite

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: 8

Menu

Follow Us On

  • YouTube
  • Twitch
  • Twitter

Affiliates

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