Author Topic: TI-Boy SE  (Read 229423 times)

0 Members and 1 Guest are viewing this topic.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Game Boy Emulator
« Reply #90 on: June 09, 2009, 02:54:10 pm »
IIRC GBA uses a different processor for GBA games. It emulates the z80 when you run a GB/GBC game, so in other words the coding would be much different, but again I could be wrong.

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: Game Boy Emulator
« Reply #91 on: June 09, 2009, 03:36:56 pm »
Emulate a 16.8 MHz 32-bit ARM processor? Thanks, but no thanks. ;D
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline SolusIpse

  • LV2 Member (Next: 40)
  • **
  • Posts: 35
  • Rating: +1/-0
    • View Profile
Re: Game Boy Emulator
« Reply #92 on: June 09, 2009, 03:48:06 pm »
that's amazing calc84maniac!

and ya, that's kinda how nintendo generally does backwards compatibility.  put the old system's cpu into new system and have it hooked up to memory in a compatible method.  probably why iirc DS doesn't do gb/gbc.

all of nintendo's handheld's are the same in the sense of graphics memory (calc84maniac correct me if I'm wrong since you are actually writing the emulator).  basically, you have memory mapped videoram that can handle automatic drawing and coloring of X number of sprites and all you need to give it is parameters like location, visibility, layer, palette, etc.  the processor changes the type of code, the sizes of the buses, and basically overall performance to delivery continuouly better stuff.

calc84maniac, if what I said is right, how are you handling the vram?

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: Game Boy Emulator
« Reply #93 on: June 09, 2009, 03:50:23 pm »
I read the data that has been written to the vram and draw the tilemaps and sprites specified... nothing really special about it.
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: Game Boy Emulator
« Reply #94 on: June 09, 2009, 08:39:46 pm »
Yay grayscale!

"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline noahbaby94

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 585
  • Rating: +29/-24
    • View Profile
    • My blog
Re: Game Boy Emulator
« Reply #95 on: June 09, 2009, 08:43:00 pm »
Wow have you tried it on a real calc yet?
That's what she said!!!

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: Game Boy Emulator
« Reply #96 on: June 09, 2009, 08:46:22 pm »
Wow have you tried it on a real calc yet?
Yep. It looks pretty good. :)
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6268
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: Game Boy Emulator
« Reply #97 on: June 09, 2009, 09:05:35 pm »
wow that is amazing! I can't wait!
/e

Offline Galandros

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1140
  • Rating: +42/-10
    • View Profile
Re: Game Boy Emulator
« Reply #98 on: June 10, 2009, 05:04:26 am »
Yay grayscale!
Wow, awesome speed. It still has sound?
I can't stop seeing how playable it is.
We have POTTY. And can't wait to play pokemon red in my calculator >_>
Hobbing in calculator projects.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Game Boy Emulator
« Reply #99 on: June 10, 2009, 11:55:48 am »
wow this is nice :D

EDIT: Terrible sound quality in the vid tho x.x

I hope this gets finished though :D

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: Game Boy Emulator
« Reply #100 on: June 10, 2009, 04:28:14 pm »
wow this is nice :D

EDIT: Terrible sound quality in the vid tho x.x

I hope this gets finished though :D
Yeah, sound quality was likely caused by WMM trying to put the 10-minute video into a certain number of MB. :P
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: Game Boy Emulator
« Reply #101 on: June 10, 2009, 05:48:42 pm »
Small update - I fixed an inconsistency in the CPU emulation which fixed a couple of glitches:

In Zelda, it was pretty much random whether you could skip a text box with B.
In Kirby, sometimes you could suck up things which you shouldn't or couldn't suck up things which you should.

For the technical explanation, I wasn't supporting the opcode bit n,(hl) correctly when HL was pointing to ROM.
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Game Boy Emulator
« Reply #102 on: June 10, 2009, 10:52:27 pm »
aaah cool, I hope you keep progressing on it :)

Offline Geekboy1011

  • The Oneironaut
  • Donator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2031
  • Rating: +119/-2
  • Dream that Awakening dream
    • View Profile
Re: Game Boy Emulator
« Reply #103 on: June 11, 2009, 11:39:31 am »
Here is a question how fast is it with out sound like compared to normal

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: Game Boy Emulator
« Reply #104 on: June 11, 2009, 12:21:15 pm »
It's about the same. Though, I recently found a bug where playing an extremely high note would cause the sound to take up all the cpu time, and I had to exit the application...
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman