Talk:SGA: Difference between revisions

From MultimediaWiki
Jump to navigation Jump to search
mNo edit summary
 
mNo edit summary
Line 17: Line 17:
  LAB_028A:
  LAB_028A:
   rts ;63AA: 4E75
   rts ;63AA: 4E75
</code>

Revision as of 15:57, 3 March 2013

32x File Format

I disassembled the nt.bin and subload.bin, looks like most of the decoding is done on the 68k side, rather than the sh2 (32x) side.

I will document my curiosities here, for others to read.

Special Values in decoding

If the y tile size is 11 then special values are 01 and 03, otherwise its 04 and 02. Havent found where its used yet. But those values pop up all over the compressed data.

LAB_0289:
 move	#$0003,d3		;6390: 363C0003
 move	#$0001,d4		;6394: 383C0001
 cmpi.b	#$11,EXT_000D		;6398: 0C390011002018FF
 beq.s	LAB_028A		;63A0: 6708
 move	#$0002,d3		;63A2: 363C0002
 move	#$0004,d4		;63A6: 383C0004
LAB_028A:
 rts				;63AA: 4E75