Moving Adventure Psy-O-Blade/TBL: Difference between revisions

From Data Crystal
Jump to navigation Jump to search
Line 20: Line 20:
From what I've seen, text is *not* compressed. Text are adressed within the code by two ways :
From what I've seen, text is *not* compressed. Text are adressed within the code by two ways :


  * pointer to string is loaded into register a0 (look into code for 'lea a0, $xxxxxxxx', or in compiled form : ????)
* pointer to string is loaded into register a0 (look into code for 'lea a0, $xxxxxxxx', or in compiled form : ????)
  * pointer to string is loaded from a table, whose sstarting offset is hardcoded (look for lea a1, $xxxxxxxx, and then text chunk begins at ????)
* pointer to string is loaded from a table, whose sstarting offset is hardcoded (look for lea a1, $xxxxxxxx, and then text chunk begins at ????)

Revision as of 23:27, 24 October 2013

Character Table

 20 :  !"#$%&'()*+,-./
 30 : 0123456789:;<=>?
 40 : @ABCDEFGHIJKLMNO
 50 : PQRSTUVWXYZ[¥]^_
 60 :       をぁぃぅぇぉゃゅょっ
 70 : ーあいうえおかきくけこさしすせそ
 80 : たちつてとなにぬねのはひふへほま
 90 : みむめもやゆよらりるれろわん”。
 A0 :  。「」、・ヲァィゥェォャュョッ
 B0 : ーアイウエオカキクケコサシスセソ
 C0 : タチツテトナニヌネノハヒフヘホマ
 D0 : ミムメモヤユヨラリルレロワン”。

Text Control Codes

Text locations

From what I've seen, text is *not* compressed. Text are adressed within the code by two ways :

  • pointer to string is loaded into register a0 (look into code for 'lea a0, $xxxxxxxx', or in compiled form : ????)
  • pointer to string is loaded from a table, whose sstarting offset is hardcoded (look for lea a1, $xxxxxxxx, and then text chunk begins at ????)