Jump to content



Photo
- - - - -

Gameboy Emulator


  • Please log in to reply
9 replies to this topic

#1 amos89

amos89

    Newbie

  • Members
  • Pip
  • 25 posts

  • Calculators:
    algebra fx 2.0 plus

Posted 19 September 2005 - 05:16 PM

Hi programmers,

i've i nice idea for you!
like the title says, a gameboy emulator!
i don't know i've someone nows how the gameboy works, but i'm sure i meed be possible!
and the files (.gb) are only par exemple 64kb.
so let's programm it?

#2 huhn_m

huhn_m

    Casio Maniac

  • Admin
  • PipPipPipPipPipPipPipPip
  • 1957 posts
  • Gender:Male
  • Location:Germany / Dresden
  • Interests:Assembler(!!!)
    Computers and Programming
    Operating Systems
    Programmable Calculators
    Maths and everything arround it

  • Calculators:
    FX-82SX / AFX 2.0+ (ROM 1.03) / FX 1.0+ (ROM 1.03)

Posted 19 September 2005 - 05:36 PM

do you have any specs about the format?

Actually I don't think that it is too easy because AFAIK the screen of the gameboy does not match the one of the casio and you won't get things like sound.

Also I'm not sure if the AFX is powerfull enough to do all the animations the gameboy does simultaneously.

If you do have specs, feel free to post them here but please do NOT post links to gb images as this is illegal and we'd have to remove them.

#3 tekkeitserktok

tekkeitserktok

    Newbie

  • Members
  • Pip
  • 4 posts

  • Calculators:
    graph100 +

Posted 20 September 2005 - 12:17 PM

not possible?

Gameboy:

CPU: 6502 custom CMOS 4MHz (1.2MHz in game) --> possible
RAM/ROM: 8K ram / 8 K vid?o (tiles in rom)--> possible
GRAPHICS : 160x144x4 gray levels --> possible --> gxLib

I think it's possible but emulator must be programing in ASM (soory for my english too bad :banghead: ) for speed...and the files .gb must be decoding...but it's possible! (motivate motivate!!!)

#4 huhn_m

huhn_m

    Casio Maniac

  • Admin
  • PipPipPipPipPipPipPipPip
  • 1957 posts
  • Gender:Male
  • Location:Germany / Dresden
  • Interests:Assembler(!!!)
    Computers and Programming
    Operating Systems
    Programmable Calculators
    Maths and everything arround it

  • Calculators:
    FX-82SX / AFX 2.0+ (ROM 1.03) / FX 1.0+ (ROM 1.03)

Posted 20 September 2005 - 01:37 PM

1) DO YOU HAVE SPECS?
2) How would you solve the problem with the screen resolution? The grayscale is not the problem.

#5 dscoshpe

dscoshpe

    Casio Freak

  • [Legends]
  • PipPipPipPip
  • 185 posts
  • Location:California, USA

  • Calculators:
    AFX 2.0 (v1.00), 9850Ga+, 9800, BE-300 other..

Posted 21 September 2005 - 06:35 AM

The specs are everywhere so that is not an issue. The screen size is a bother, would have to sample down in order to match the AFX screen and maintain the correct ratio.

And ignore all sound of course.

- dscoshpe -

#6 Marco

Marco

    Casio Freak

  • Members
  • PipPipPipPip
  • 185 posts
  • Location:Dresden, Germany

  • Calculators:
    Casio CFX 9850G (broken),
    Casio CFX 9850GB,
    Casio Algebra FX 2.0 Plus

Posted 21 September 2005 - 07:52 AM

Gameboy:

CPU: 6502 custom CMOS 4MHz (1.2MHz in game) --> possible
RAM/ROM: 8K ram / 8 K vid?o (tiles in rom)--> possible
GRAPHICS : 160x144x4 gray levels --> possible --> gxLib

I think it's possible but emulator must be programing in ASM (soory for my english too bad :banghead: ) for speed...and the files .gb must be decoding...but it's possible! (motivate motivate!!!)

As I remebmer it's a Z80, not 6502. That's fine cause Z80 is a bit more x86 related than 6502. Also, the AFX's CPU (NEC V30) supports a 8080 emulation mode, meaning we can run 8080 code directly on that CPU without any interpreter. Unfortunately we can't use that feature because Z80 is 8080 compatible but not vice versa (Z80 has an extended instruction set compared to it).

I think it would be hardly possible to create a GB emulator for AFX:

- AFX has a CPU more than twice that fast, but GB has a graphics adapter with hardware accelerated support for sprites (moving objects) which on AFX the CPU needed to do

- GB has a bigger display which you can't scale down to 128x64 that simple. You will loose more than half of the pixels (--> crappy graphics), and it will be too slow

#7 tekkeitserktok

tekkeitserktok

    Newbie

  • Members
  • Pip
  • 4 posts

  • Calculators:
    graph100 +

Posted 21 September 2005 - 11:48 AM

ok i understood...and i forgot the sound...lol
the best solution is to make an adaptation of gameboy's games (like me with zelda!)

#8 jmx

jmx

    Newbie

  • Members
  • Pip
  • 17 posts

  • Calculators:
    Casio CFX-9850GB PLUS

Posted 21 October 2005 - 08:11 AM

Then we have to make a small sound card :P We have a 2.5mm stereo output :greengrin:

#9 Andy.Davies

Andy.Davies

    Forum Ghost

  • Admin
  • PipPipPipPipPipPipPipPip
  • 1547 posts
  • Location:Dorset, England
  • Interests:Age: 18<br />Studying: MEng in cybernetics at Reading uni<br />Interests: Progaming (VB, VB.Net, C#, Casio Basic)<br />Computers UBBD (Using, Building, Breaking &amp; Destroying)<br />Gaming (FPS, RTS, RPG)<br />Electronics<br />Rock Music (Preferably Loud)<br />Riley's (Pool &amp; Snooker Bar)<br />Driving (Preferably fast)<br />Aikedo (Martial Art)

  • Calculators:
    Algebra FX 2.0 ROM 1.01, FX9750G

Posted 21 October 2005 - 04:28 PM

already been done, look in the filesharing :P

#10 Shadow Emperor H3LLFIR3

Shadow Emperor H3LLFIR3

    Newbie

  • Members
  • Pip
  • 16 posts
  • Gender:Male

  • Calculators:
    Casio CG-50
    Casio FX-9860G Slim
    Casio fx-9750 GII

Posted 19 October 2020 - 09:43 PM

The casio cg-50 has a gameboy emulator that i use all the time! It's called prizoop. it does .gbc






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users