Retro Hackers LogoGuestLog in

Summer Tree
News
Database
Users
Projects
Game Ports
Videos
Music
Material
Feedback

Out of This World SRAM + Speed Improvement

Original game : Out of This World

Platform : SNES

Author : MaxwelOlinda

Release date : 23 May 2024

Category : Improvement

Patch version : 1.0

Modifications : O

Downloads : 329

ROM Information

Database match: Out of This World (USA)
Database: No-Intro: Super Nintendo Entertainment System (v. 20210222-050638)
File/ROM SHA-1: FA8382794B19F8B36753F33091AD3E8B3BDA7018
File/ROM CRC32: 5F40A869

Hack description

This hack adds SRAM to the game to save your progress and also improve performance.
This is a game that uses 2D polygons instead of common sprites and backgrounds, which means a lot of work for the CPU and RAM.
3 framebuffers were placed in the RAM, requiring huge copies of data from one framebuffer to another. The problem is that the SNES' fastest option for transferring data is DMA, but it is not capable of transferring from RAM to RAM, only from different locations.
With the budget limited to a cartridge with only ROM, the only alternative for the developer was to use an opcode that transfers byte by byte at a very slow frequency (7 CPU cycles per byte!).

Using SRAM, it was possible to use DMA to first copy from RAM to SRAM, then from SRAM to RAM at the new specified location. Despite the two data trips, this alternative is absurdly faster!
Now the game is much more fluid.
Only 2 KB of SRAM was required, the minimum available.

Taking advantage of the use of SRAM, progress saving was also implemented.
Every time you die in the game and a screen saying "ACCESS CODE:" appears, the game has already saved automatically.
To load the save, choose the CONTINUE option in the menu and click OK. The last checkpoint you previously died at will now be loaded. If you press DEL, the saved password will be shown.

You can still use the password normally, just ignore the saved password that appears while typing.

Screenshots

Contributions

ContributorType of contributionDescription
MaxwelOlindaHackingHacking and ASM work

Reviews

No reviews yet...