Newest Hacks

Newest Translations

Nekketsu! Street Basket: Ganbare Dunk Heroes Ganbare Goemon 3: Shishi Juurokubee no Karakuri Manjigatame Ganbare Goemon 2: Kiteretsu Shougun Magginesu Sakigake!! Otokojuku: Shippuu Ichi Gou Sei

Newest Utilities

LazyShell: Updated Edition [FDS] Super Mario Bros 2 (Japan) Level Editor - jGreatEd Game Genie Good Guy Jackal Level Editor

Newest Reviews

Ganbare Goemon 2: Kiteretsu Shougun Magginesu Deadpool Mega Man 4 Ridley X Hack 6 Dr. Cossack's Revenge Normal Super Mario Bros. NES - PAL Revision B

Newest Homebrew

Double Symbol Rex Run for Game Boy DeadlyNeuroEf Circle Boy

Featured Hack Images

After Lolo 2 Axnfanatics F-Zero Mushroom Kingdom Meltdown Royal Flush - Princess Sidestory

Featured Translation Images

Ace wo Nerae! Farland Story: Kamigami no Isen Chalvo 55 - Super Puzzle Action Panzer Commander

Recent Updates

Automatic Line-Wrap Example ASM

Source Code

Description:

This is some source code to a automatic word-wrap hack from KingMike’s Translations Shell Monsters Story translation. It was useful as the translation had used some long names and it would have been difficult to format the line-breaks used in the original code to make good use of available window space with all possible situations.

It can be useful if a game buffers a full text window to RAM before it outputs to the screen, as this routine shifts around the text in the time between.

It was found in 2014 on a floppy disk from 2003, then rewritten to use as example code. It is uncertain if this code is the final tested code, as KingMike tended to plan his NES ASM hacks in text documents but insert in hex, and may not have updated all changes to his code. Still this should be good at least for concept-understanding purposes.

Links:

User Review Information

No User Reviews!