News: 11 March 2016 - Forum Rules
Current Moderators - DarkSol, KingMike, MathOnNapkins, Azkadellia, Danke

Author Topic: Hacking vertical text to display horizontally  (Read 1980 times)

burn_654

  • Jr. Member
  • **
  • Posts: 42
    • View Profile
Hacking vertical text to display horizontally
« on: February 16, 2012, 12:01:53 am »
The console in question is PC-Engine (Turbografx-16 in the US).

I have a game that is displaying both horizontal and vertical text. I've figured out the control codes and most of the pointers for both - sadly, I don't think the horizontal vs. vertical printing is determined via control code.
I'm aware I might have to delve into asm (a new thing for me) to figure it out, but any beginner's tips for solving this kind of problem?

Ideally, I'd be replacing all instances/calls to creation of vertical text with the routine that prints horizontal text. The vertical text is stored in rom almost identically to the horizontal - I can point a vertical string to read a horizontal one and vice versa with minor formatting changes.

Ryusui

  • Hero Member
  • *****
  • Posts: 4989
  • It's the greatest day.
    • View Profile
    • Tumblr
Re: Hacking vertical text to display horizontally
« Reply #1 on: February 16, 2012, 12:21:36 am »
You might have to deal with ASM hacking, but it's likely a relatively simple hack. You just need to change how the tilemap values are written - it could be as simple as swapping around the values added to the pointer when it prints each character and when it hits a linebreak.
In the event of a firestorm, the salad bar will remain open.