Results 1 to 3 of 3

Thread: Building an snes emulator...

  1. #1
    Join Date
    Dec 2011
    Location
    The Netherlands
    Beans
    1,087
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Question Building an snes emulator...

    ...and the documentation-shortage is getting an problem.

    Preface:
    I was always interested in emulation.
    So after (successfully) programming emulators for several game consoles (and some other stuff),
    i wanted to create one able to play an alltime favorite of mine:
    Super Mario World and Super Mario Bros.
    So i needed either 2 emulators or 1 snes emulator that can do both.
    So after finding out that the SNES is the best documented system,
    i decided to use the SNES.

    Problem:
    However,
    i'm having problems finding documents regarding the SNES memory layout, stack, gfx and addressing modes.
    I do, however, have build in enough abstraction between the virtual CPU and memory to allow me to continue implementing opcodes.
    Currently my emu assumes code starts at 0x0000 and implements only direct,implicit and immidiat addressing (though the direct is just what you feed in as i didn't find any docs describing what is was, so i don't get how it's different from the direct mem).
    My overal plan is:
    1. get a 65c816 cpu emulated in full
    2. get the gfx implemented (problem...)
    3. load roms (i'm still figuring out how you get the offsets)

    Anybody any docs or stuff?
    I'll use this thread for any problems i can't solve myself and need help with so anyone with the same problems doesn't have to search all over.
    "Everything that has a beginning, has an end." --an unexpectedly wise wallpaper

  2. #2
    Join Date
    Mar 2012
    Location
    Russia
    Beans
    104
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: Building an snes emulator...

    Last edited by CynicRus; March 23rd, 2012 at 06:05 AM.

  3. #3
    Join Date
    Dec 2011
    Location
    The Netherlands
    Beans
    1,087
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: Building an snes emulator...

    I don't get how the first one's gonna help me...
    The second one does.
    The memory diagram issue is solved [X]

    Thx

    Ps. For some reason the snes has addressing modes not in the cpu manual.

    EDIT:
    I thought it was odd that i missed that wikibooks as it showed on my phone (where i viewed the response).
    Now i'm back at my desktop and it's gone! In a hunch i check adblock...
    Turns out adblock was blocking the url... Woops...
    Last edited by roelforg; March 23rd, 2012 at 04:02 PM.
    "Everything that has a beginning, has an end." --an unexpectedly wise wallpaper

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •