Page 115 of 121 FirstFirst ... 1565105113114115116117 ... LastLast
Results 1,141 to 1,150 of 1201

Thread: Game Boy

  1. #1141
    Capsule Corp. Helius's Avatar
    Join Date
    May 2006
    Location
    Madrid, Spain
    Posts
    15
    Mentioned
    0 Post(s)
    Very nice djh, keep us informed!

    I didn't even try the bootrom myself. Not many people making Game Boy emulators these days.

    I'm trying to port my emulator to Raspberry Pi so I will be monitoring the thread if I can be of any help. Feel free to ask.

  2. #1142
    EmuTalk Member
    Join Date
    Feb 2013
    Posts
    1
    Mentioned
    0 Post(s)
    Hey guys!
    I'm writing a GameBoy Emulator in .net, that will be open source. But I got the following problem.
    I've already written the code for memory managment (including code for the most MBCs), for register managment, for mapping file ecettera.
    But now I'm on adding all the about 400(?) opcodes, but I don't exactly know what the following opcodes do.
    • RL
      RLA
      RLC
      RLCA
      RLD
      RR
      RRA
      RRC
      RRCA
      RRD

    Note: These are for the Z80 Cpu. I know , they got something to do with bit shifting.

    Greetz hackiosa

  3. #1143
    Capsule Corp. Helius's Avatar
    Join Date
    May 2006
    Location
    Madrid, Spain
    Posts
    15
    Mentioned
    0 Post(s)
    Those are rotations, you know, rotate left (RL), rotate right (RR)...

    These two documents will help with the opcodes.

    Good luck with your emu and keep us updated
    Attached Files Attached Files
    My open source Game Boy / Game Boy Color emulator for iOS and Desktops: https://github.com/drhelius/Gearboy
    My open source Master System / Game Gear emulator for iOS and Desktops: https://github.com/drhelius/Gearsystem

  4. #1144
    EmuTalk Member
    Join Date
    Feb 2013
    Posts
    1
    Mentioned
    0 Post(s)
    Hey, newbie to these forums here.

    I am rather interested in making a GB emulator for myself, as far as my coding experience goes, I can program just not to a massively advanced level.
    I had a go at doing a Chip8 emulator in C# using XNA last night and managed to complete it in about 12 hours and I must say it was the most fun I've had programming in a long time.

    Anyway I'm trying to get my head around this GB emulation and I just cant get my head around it quite yet, one of the big things for me is how do I go about implementing the interrupts and timings properly, any help will be much appreciated, or any recomendations on easier emulators past the Chip8 I can work on first.

  5. #1145
    Capsule Corp. Helius's Avatar
    Join Date
    May 2006
    Location
    Madrid, Spain
    Posts
    15
    Mentioned
    0 Post(s)
    Going from chip-8 to Game Boy is a massive step forward. Be prepared for 50x the complexity and size of chip-8.

    Space Invaders is easier than Game Boy but not very rewarding as you will end up playing only one game :-P

    I recommend you not bothering with interrupts for now. Start by implementing all the opcodes and basic background rendering, this way you'll see your results pretty quickly and improve from there.



    For the timing just execute the opcodes and save their cycle counts to a variable. Use that to update the graphics state accordingly.
    My open source Game Boy / Game Boy Color emulator for iOS and Desktops: https://github.com/drhelius/Gearboy
    My open source Master System / Game Gear emulator for iOS and Desktops: https://github.com/drhelius/Gearsystem


    • Advertising

      advertising
      EmuTalk.net
      has no influence
      on the ads that
      are displayed
        
       

  6. #1146
    EmuTalk Member
    Join Date
    Jun 2013
    Posts
    18
    Mentioned
    0 Post(s)
    After writing a chip8 emulator years ago, last weekend I decided to write one for the gb.
    It took me several hours to find some really stupid mistakes (no, JP (HL) does not jump to the address stored at (HL), treated one unconditional jump as conditional...)
    but after that blargg's test ROMs actually started testing something and on sunday most instructions passed.
    DAA, DI, EI, HALT and STOP are still unimplemented,
    ADD SP,r8 and LD HL,SP+r8 still fail the test, I suspect the flag calculations are wrong.

    Now I will try to implement enough interrupts and hardware registers to get some graphics on the screen.

  7. #1147
    Capsule Corp. Helius's Avatar
    Join Date
    May 2006
    Location
    Madrid, Spain
    Posts
    15
    Mentioned
    0 Post(s)
    Nice! Keep on it
    My open source Game Boy / Game Boy Color emulator for iOS and Desktops: https://github.com/drhelius/Gearboy
    My open source Master System / Game Gear emulator for iOS and Desktops: https://github.com/drhelius/Gearsystem

  8. #1148
    EmuTalk Member
    Join Date
    Jun 2013
    Posts
    18
    Mentioned
    0 Post(s)
    I added input, interrupts and crude graphic output. Nothing is really playable yet but some simple games already start up and run.
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	2013-06-26-234935_256x256_scrot.png 
Views:	22 
Size:	4.3 KB 
ID:	38624   Click image for larger version. 

Name:	2013-06-26-223651_256x256_scrot.png 
Views:	15 
Size:	6.3 KB 
ID:	38625   Click image for larger version. 

Name:	2013-06-27-001743_256x256_scrot.png 
Views:	20 
Size:	6.1 KB 
ID:	38626  

  9. #1149
    Capsule Corp. Helius's Avatar
    Join Date
    May 2006
    Location
    Madrid, Spain
    Posts
    15
    Mentioned
    0 Post(s)
    Nice pictures, what language are you using?
    My open source Game Boy / Game Boy Color emulator for iOS and Desktops: https://github.com/drhelius/Gearboy
    My open source Master System / Game Gear emulator for iOS and Desktops: https://github.com/drhelius/Gearsystem

  10. #1150
    EmuTalk Member
    Join Date
    Jun 2013
    Posts
    18
    Mentioned
    0 Post(s)
    It's written in C++ with some Python to generate the tables for instruction decoding.
    I have exams approaching and my progress has therefore slowed down quite a bit.
    I cleaned up the code and will try proper rendering as soon as I have more time...

Page 115 of 121 FirstFirst ... 1565105113114115116117 ... LastLast

Posting Permissions

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