nesdev.com
http://forums.nesdev.com/

play Gameboy Cartridge on C64 possible?
http://forums.nesdev.com/viewtopic.php?f=23&t=16193
Page 1 of 1

Author:  Gamester [ Sun Jul 09, 2017 12:37 pm ]
Post subject:  play Gameboy Cartridge on C64 possible?

hi folks
iam new to the c64 scene and have a question.

Would it be possible to use a SuperGameboy to play Gameboy cartridges on a C64? (no emulation)

I have some experience with old video game consoles like NES / SNES /GB

the following data i collected makes me think it should be possible.

https://pastebin.com/vEEqZSP4

in short

use memory expasion port on the C64 to

-read SuperGameboy v-ram and recolor it.
-send control commands to Supergameboy

Do I miss something or is that really possible?

Author:  lidnariq [ Sun Jul 09, 2017 1:15 pm ]
Post subject:  Re: play Gameboy Cartridge on C64 possible?

Is the pixel format from the SGB compatible with what the VIC-2 expects? It seems like you might not have enough time to copy and repack the video, if not...

Author:  Gamester [ Sun Jul 09, 2017 1:56 pm ]
Post subject:  Re: play Gameboy Cartridge on C64 possible?

the Vram of the SGB contains 2BPP data but i dont know if the VIC-II can handel this ?

Image

The MCI mode of the C64 should be suitable for this application but that is just my guess.

2BPP= 4 colors/shades of grey

C64 MCI mode generates 320*200 pixel resolution with 4 colors per 8x8 cell.

Author:  lidnariq [ Sun Jul 09, 2017 2:14 pm ]
Post subject:  Re: play Gameboy Cartridge on C64 possible?

To the best of my memory, the SNES packs pixels as:
abcdefgh ABCDEFGH

while the VIC-2 (in 2bpp mode) packs pixels as:
AaBbCcDd EeFfGgHh

so ... you might have your work cut out for you.

It's possible (no promises) that clever rewiring of the data bus to the SGB would make it easier. (You don't have to connect D1 to D1, &c)

Author:  tepples [ Sun Jul 09, 2017 2:50 pm ]
Post subject:  Re: play Gameboy Cartridge on C64 possible?

Rewire the bus
Code:
abcdefgh -> aebfcgdh

Read pixels
Code:
aebfcgdh
AEBFCGDH

mask off bits
Code:
a0b0c0d0
0e0f0g0h
A0B0C0D0
0E0F0G0H

shift bits
Code:
0a0b0c0d
0e0f0g0h
A0B0C0D0
E0F0G0H0

OR them together and write them to video memory
Code:
A0B0C0D0 | 0a0b0c0d = AaBbCcDd
E0F0G0H0 | 0e0f0g0h = EeFfGgHh

I have no idea how quickly that can be done for the 5760 bytes in the SGB frame buffer.

But it would stretch the picture from the SGB pixel aspect ratio 8:7 to the C64 multicolor pixel aspect ratio 3:2, making everything 31% wider.

Author:  Gamester [ Sun Jul 09, 2017 3:02 pm ]
Post subject:  Re: play Gameboy Cartridge on C64 possible?

yes i think i have read something like that on

http://www.studiostyle.sk/dmagic/gallery/gfxmodes.htm

Quote:
This mode uses two MultiColor pictures (160*200/4 colors in 4*8 cell), each using its own attributes


the SGB uses 160 × 144 in 8*8 cell (see picture in 3. post)

Author:  Myask [ Sun Jul 09, 2017 3:13 pm ]
Post subject:  Re: play Gameboy Cartridge on C64 possible?

It's much easier to do that in a hardware fashion, really, since you then don't have any AND nor ORing, just a matter of what's being written or read.

I know of a relevant patent. Consider the "prior art" description.

Author:  Gamester [ Sun Jul 09, 2017 3:30 pm ]
Post subject:  Re: play Gameboy Cartridge on C64 possible?

The 33% wider screen only applies to NTSC C64 ,for PAL C64 it's only 6,8% wider wich is acceptable i think

1:1 Ratio

Image

1:0.75 ratio (133%) NTSC C64

Image

1:0.936 ratio (106.8%) PAL C64

Image

Author:  tokumaru [ Sun Jul 09, 2017 3:52 pm ]
Post subject:  Re: play Gameboy Cartridge on C64 possible?

The NTSC simulation doesn't look any worse than 4:3 content stretched to 16:9, something I see a lot of people doing (makes me cringe a bit, but it doesn't seem like a big deal to many people). If that's the price to pay for doing something cool like playing games for one retro machine on another retro machine, I think it's fine.

Author:  Bregalad [ Thu Jul 27, 2017 2:44 am ]
Post subject:  Re: play Gameboy Cartridge on C64 possible?

tokumaru wrote:
The NTSC simulation doesn't look any worse than 4:3 content stretched to 16:9, something I see a lot of people doing (makes me cringe a bit, but it doesn't seem like a big deal to many people).

Agreed. How many youtube videos about retro games have them incorrectly converted to 16:9 format ?

Besides, does the C64 even have 2 shades of gray in the 1st place ? Or would any dark colour and any light colour do the job ?

I think a SGB on a C64 would be very cool to see !

Author:  ccovell [ Thu Jul 27, 2017 7:32 am ]
Post subject:  Re: play Gameboy Cartridge on C64 possible?

The C64 has a (comparatively) whopping 3 shades of grey, plus black and white.

Author:  tokumaru [ Thu Jul 27, 2017 11:29 am ]
Post subject:  Re: play Gameboy Cartridge on C64 possible?

Lack of grays isn't a problem, GB video looks good in all kinds of colored gradients.

Page 1 of 1 All times are UTC - 7 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/