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,025
Trophies
2
XP
4,642
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
  • SylverReZ @ SylverReZ:
    At least Linux doesn't contain spyware than what Windows has.
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, cuz of lag?
  • SylverReZ @ SylverReZ:
    @Xdqwerty, No. Whenever you use the internet on Windows, Microsoft collects personal data and installs bloatware that isn't necessarily needed, such as Edge.
  • SylverReZ @ SylverReZ:
    Speaking of which
  • Xdqwerty @ Xdqwerty:
    @SylverReZ,
    I recall @impeeza mentioned some trick about not having bloatware when installing windows where you set up your country to "world" or smh like that
    +1
  • SylverReZ @ SylverReZ:
    Yes, you can debloat the operating system, but in some cases for me it just reinstalls them.
    +1
  • Xdqwerty @ Xdqwerty:
    @SylverReZ,
    I also recall my brother downloded a "non bloated" version of windows 11 on his pc
    +1
  • BigOnYa @ BigOnYa:
    "Why debloat? Why not embrace and enjoy my bloat?" - Gates
    +3
  • impeeza @ impeeza:
    @Xdqwerty yes, when you are installing Windows on the first steps you are asked for your current location, you MUST to select «international» so no bloatware is installed, because the bloatware is location based. if this night I have some time I will setup a VM and take screenshots.
    +2
  • BigOnYa @ BigOnYa:
    User Gates "Disliked" your answer.
    +3
  • Psionic Roshambo @ Psionic Roshambo:
    Damn cleaned up 348GB's of crap I wasn't using with that lol
    +2
  • BigOnYa @ BigOnYa:
    But can it completely remove RealPlayer? Lol jk
    +3
  • Psionic Roshambo @ Psionic Roshambo:
    I remember at one point it being pretty much labeled as malware lol
  • Psionic Roshambo @ Psionic Roshambo:
    I think my favorite one was that dancing purple gorilla... I uninstalled that thing from sooo many machine people would be like "Why is my computer so slow?" lol because this thing is using like 30% of your system resources.....
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    This one lady... her son kept installing Kazaa... OK no problem the issue is he would download DBZ movies and they where amazing usually like 2-8KB in size lol can't remember how many times I had to format and reinstall windows over his stupidity. I even explained to him about file sizes multiple times...
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    yeah Bonzi buddy was malware sort of... It was borderline lol
  • Psionic Roshambo @ Psionic Roshambo:
    At minimum it was nothing anyone should have ever installed lol
    +1
  • SylverReZ @ SylverReZ:
    @BigOnYa, RealPlayer is spyware too.
    +1
  • SylverReZ @ SylverReZ:
    @Psionic Roshambo, Yeah, BonziBuddy was both spyware and ad-ware. It collected children's personal information without consent as well as display fake Windows popups.
    +1
    SylverReZ @ SylverReZ: @Psionic Roshambo, Yeah, BonziBuddy was both spyware and ad-ware. It collected children's... +1