News: 11 March 2016 - Forum Rules

Author Topic: Folllowed a tutorial on adding intro, running into problem (SNES)  (Read 250 times)

  • Newbie
  • *
  • Posts: 1
    • View Profile
Folllowed a tutorial on adding intro, running into problem (SNES)
« on: September 24, 2021, 10:14:47 pm »
Hi,

I wanted to display an image on my SNES, and found this tutorial (https://sway.office.com/Vgmq0S2swW7ZKhnK?ref=Link). I first used a different ROM but after getting a broken image I decided to use the exact same ROM  and addresses as in the tutorial, making sure along the way that they were identical and that it was in fact the same ROM.

Rather than properly displaying the image provided in the tutorial, the same thing happened and higan displayed a glitched version of it:

The image provided by the tutorial:

My result:


Here's the code: https://pastebin.com/NJ4kSmjN

Admittedly, I know very little about ASM and I don't understand much of the logic aside from the comments in the code. I'm pretty certain that the image was formatted correctly— MediaInfo confirms that it is GIF 87a with 256 colors.

Any help would awesome!

KingMike

  • Forum Moderator
  • Hero Member
  • *****
  • Posts: 7209
  • *sigh* A changed avatar. Big deal.
    • View Profile
Re: Folllowed a tutorial on adding intro, running into problem (SNES)
« Reply #1 on: September 24, 2021, 10:39:25 pm »
Have you tried that the premade example works?

It looks like you're working on an example from 2006.
As I recall, SNES emulators then still weren't enforcing VRAM access limits. I think it was like another year or two before byuu really pushed for/finished that long-needed accuracy update in the emulation scene.
"My watch says 30 chickens" Google, 2018