Re: C128 Z80?



David Murray wrote:
an emulator to run cartridge ROM images from other Z80-based video game
systems like the Nintendo GameBoy or Sega Master System? I doesn't seem
like it would be too difficult?

It doesn't seem trivial either.. Just for an FYI, here are the specs
on the gameboy:

CPU: Z80 at 4 Mhz
RAM: 8K
Screen: 160x144 with 4 shades of gray.

The ROM cartridges range from 32 KB to 256 KB. So only the smaller
carts would even be feasable.

The main two issues I see is that the Z80 in the C128 can't run (so
I'm told) at a true 4 Mhz..

In the C128 the Z80 runs at 4 MHz half of the so, i.e. effectively it runs at 2 MHz.

Then you have the issue of the screen.
The resolution isn't a problem but having 4 shades of gray might be..

The VIC can produce 5 shades of gray (counting black and white as a shade of gray). The multicolor mode is adequate.

The VDC can produce 4 shades of gray but can only produce two colors in a 8x1 pixel block.

I think with the multicolor mode you might be able to achieve this but
the aspect ratio will be all wrong. the music would be optional, but
could probably be emulated. I think the main issue is that there just
isn't enough horsepower.

Agreed. Even if the Z80 ran at 4 MHz it would still be insufficient. The processor would still have to convert screen memory every time the screen contents change since the video memory layout of the gameboy is no doubt different than the VIC.
.



Relevant Pages

  • Re: C128 Z80?
    ... The resolution isn't a problem but having 4 shades of gray might be.. ... screen contents change since the video memory layout of the gameboy is ...
    (comp.sys.cbm)
  • Re: Converting a color printer to B+W
    ... for black and gray inks isn't going to work. ... printed and save your money for a printer with more shades of gray. ... Ink Cartridges. ... You would have to have a driver for the printer that knows how to combine those shades of gray. ...
    (alt.photography)
  • Re: sized
    ... shades of gray when I see those two words. ... sighting a sprinkling of "Harrison Hill" ...
    (alt.usage.english)
  • Re: Image processing with .NET
    ... Medical imaging has some unique needs such as the ... medical image into the 256 shades of gray that can be displayed. ... Second the map dose not have the effect that I think that it should. ...
    (microsoft.public.dotnet.framework.drawing)
  • Re: C128 Z80?
    ... systems like the Nintendo GameBoy or Sega Master System? ... CPU: Z80 at 4 Mhz ... The resolution isn't a problem but having 4 shades of gray might be.. ...
    (comp.sys.cbm)