making GB emulator, anyone wanna help?

Monado_III

Well-Known Member
OP
Member
Joined
Feb 8, 2015
Messages
722
Trophies
0
Location
/dev/null
XP
1,443
Country
Canada
So I've started making a gb emulator (mostly for the practice) in C, I've got most of the internals emulated (hopefully properly) and I'm currently working on writing out all the opcodes, however I have no idea how to do the actual gfx/gui (like print them to the screen, not emulate them), the sound and maybe controls (I don't know if what I have currently will work). I could probably do some crappy SDL graphics hack and not do sound but I figured if someone wanted to help I'd ask.

I'll likely have the source up on github by then end of the week if anyone wants to take a look at it.
edit: http://bit.ly/1Rg6Oaf
 
Last edited by Monado_III,
  • Like
Reactions: Touko White

Clydefrosch

Well-Known Member
Member
Joined
Jan 2, 2009
Messages
6,027
Trophies
2
XP
4,654
Country
Germany
well, drenn, the guy who made gameyob may or may not be able to give you a few pointers, he too coded a gb(c) emulator from scratch in recent years. though his was for ds/3ds.
 

Monado_III

Well-Known Member
OP
Member
Joined
Feb 8, 2015
Messages
722
Trophies
0
Location
/dev/null
XP
1,443
Country
Canada
well, drenn, the guy who made gameyob may or may not be able to give you a few pointers, he too coded a gb(c) emulator from scratch in recent years. though his was for ds/3ds.
I would ask, but he hasn't posted since Jan 2 :/

--------------------- MERGED ---------------------------

Sounds like a pretty cool project, I'd take a look if you have a link?
thanks, feel free to make a pull request, those files should compile but they won't run anything
 

Monado_III

Well-Known Member
OP
Member
Joined
Feb 8, 2015
Messages
722
Trophies
0
Location
/dev/null
XP
1,443
Country
Canada
Well, I fixed some issues, but now
Code:
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
and
Code:
while(SDL_PollEvent(&event))
are causing segmentation faults :/
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • BakerMan @ BakerMan:
    also as of today i've been on nofap for 3 months
  • BakerMan @ BakerMan:
    so uh, yay me for breaking an addiction that many suffer from like that
  • BigOnYa @ BigOnYa:
    Maybe the spinach was just a metaphor. Maybe it was really meth or crack.
  • K3Nv2 @ K3Nv2:
    Spinach gave him a tumor
  • BunnyPinkie @ BunnyPinkie:
    Plasturion is working on uncensoring imagine makeup artist!
  • BigOnYa @ BigOnYa:
    Then we will recensor it...
  • K3Nv2 @ K3Nv2:
    We don't want to see that shit
    +1
  • Sonic Angel Knight @ Sonic Angel Knight:
    Since when are bunnies pink? :ninja:
  • Veho @ Veho:
    The ones you are hallucinating, or...?
    +2
  • ModernSithLord @ ModernSithLord:
    Why is someone spamming call girls in the user submitted news
  • ModernSithLord @ ModernSithLord:
    really odd
  • K3Nv2 @ K3Nv2:
    Maybe they got alot of girls they want to call
  • rqkaiju2 @ rqkaiju2:
    yeah i just made a post about it
  • ModernSithLord @ ModernSithLord:
    looks like they are all gone
  • K3Nv2 @ K3Nv2:
    Thanks for the update what's tomorrow's weather going to be like
  • ModernSithLord @ ModernSithLord:
    lol really?
  • ModernSithLord @ ModernSithLord:
    im not a weatherman lol
  • K3Nv2 @ K3Nv2:
    I'm a watermelon
  • BakerMan @ BakerMan:
    remember how i said i've been on nofap for 3 months? uhhh i'm not so sure anymore
  • BakerMan @ BakerMan:
    i was scratching my leg on my bed bc it was itchy, and that somehow made me cum
  • BakerMan @ BakerMan:
    so did i break my streak, or was it just premature ejaculation since i was just scratching my itch on my bed?
    BakerMan @ BakerMan: so did i break my streak, or was it just premature ejaculation since i was just scratching my...