Welcome, Guest. Please login or register.

Author Topic: C64 FPGA Idea  (Read 6722 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline gaula92

  • Sr. Member
  • ****
  • Join Date: Dec 2007
  • Posts: 373
    • Show only replies by gaula92
Re: C64 FPGA Idea
« Reply #14 from previous page: May 09, 2011, 10:16:30 PM »
Quote from: omnicron10;636789
Nice thing is the Chameleon offers a nice speed bump to the C64 with out the complexity of the Super CPU and is available now.  The turbo mode can be activated with a button or in software and supports most illegal op-code unlike the 65816 in 6510 mode.

Floppy EMU, REU, VGA and other options make it real nice!  Some items are still in beta but I can tell you, it is shaping up nicely!



How does it compare with an MCC-216? Does Mayhem In Monsterland work in the Chameleon? Does Tim Follin's GHouls'n Ghosts title music sound totally right in the Chamaleon?
 

Offline omnicron10

  • Full Member
  • ***
  • Join Date: Dec 2006
  • Posts: 216
    • Show only replies by omnicron10
Re: C64 FPGA Idea
« Reply #15 on: May 09, 2011, 10:21:55 PM »
I dont know where the MMC-216 got the C64 FPGA core from but Chameleon has two advantages.

Since it plugs in the C64, while in the C64 it the SID in the C64 is used and is fine as well as the graphic compatibility.  

Also the core is a lot more advanced then the MMC-216 which I believed was based off the FPGA64 sources that started on the C-one.  They have come a long way since that code.

Standalone the SID (stereo support as well) filters are not present and right now it old acts like the NEWer sid chip.  

I did play Ghouls'n Ghost but did not make notice to the music but I will now that you ask.  

I have a NTSC c64 so most of the time I played with NTSC stuff but in stand alone it will work in PAL as well so I will try Mayhem In Monsterland and see how it does.
« Last Edit: May 09, 2011, 10:49:47 PM by omnicron10 »
A500/030 40mhz with A530, Indivision ECS, , KS 3.1, 2 Megs Chip, 8 Megs fast.
A600 Vampire II
SAM440EP 667, Amiga OS 4.1u1
Dual G4 1.2 Mac MorphOS
Chameleon
CD32
SX64
128D
128
C64
64C
 

Offline humppa

  • Hero Member
  • *****
  • Join Date: Oct 2005
  • Posts: 959
    • Show only replies by humppa
Re: C64 FPGA Idea
« Reply #16 on: May 22, 2011, 12:54:52 PM »
Quote from: omnicron10;636795
I dont know where the MMC-216 got the C64 FPGA core from (...).

Also the core is a lot more advanced then the MMC-216 which I believed was based off the FPGA64 sources that started on the C-one.


frenchshark wrote on lemon64:

"Let's talk about the C64 implementation we have :
- 6510 : from Peter Wendrich, we have a licence for this IP.
- 6526 : I modified a 8520 implementation I wrote long time ago to make it behave like a 6526 (changes in the TOD for those who know).
- VIC-II : I have my own implementation, the DMA scheduling is done with a ROM.
- SID with filter : I never saw that in open source
- VIC-1541 emulation : We have our own way : 6502 + NIOS II + DMA and GCR encoding in HW.
- Keyboard emulation with auto-start : handled by the NIOS II
- CBM mouse emulation : I never saw that in open source.
- On the fly PAL/NTSC frequency with PLL reconfiguration : it is only possible with the Cyclone III & IV from Altera, I doubt somebody did it in the open source world.
- Multi-standard S-Video encoder : we read the book "Video Demystified" and did the implementation.
- Starfield effect (yes, it is HW based)
- SPI controllers for SD-Card and SPI-Flash with automatic CRC calculation.
- Multi-port SDRAM controller.

I can also talk about the boot loader which has a NIOS II with a custom 2D GPU. We only use the text mode right now but we can have 4-layer graphics with 16-bit color.
But, this is coming from open source, right ?

Regards,

Frederic"

Source: http://www.lemon64.com/forum/viewtopic.php?p=435620&highlight=#435620
 

Offline omnicron10

  • Full Member
  • ***
  • Join Date: Dec 2006
  • Posts: 216
    • Show only replies by omnicron10
Re: C64 FPGA Idea
« Reply #17 on: May 22, 2011, 07:20:42 PM »
Quote from: humppa;639453
frenchshark wrote on lemon64:

"Let's talk about the C64 implementation we have :
- 6510 : from Peter Wendrich, we have a licence for this IP.
- 6526 : I modified a 8520 implementation I wrote long time ago to make it behave like a 6526 (changes in the TOD for those who know).
- VIC-II : I have my own implementation, the DMA scheduling is done with a ROM.
- SID with filter : I never saw that in open source
- VIC-1541 emulation : We have our own way : 6502 + NIOS II + DMA and GCR encoding in HW.
- Keyboard emulation with auto-start : handled by the NIOS II
- CBM mouse emulation : I never saw that in open source.
- On the fly PAL/NTSC frequency with PLL reconfiguration : it is only possible with the Cyclone III & IV from Altera, I doubt somebody did it in the open source world.
- Multi-standard S-Video encoder : we read the book "Video Demystified" and did the implementation.
- Starfield effect (yes, it is HW based)
- SPI controllers for SD-Card and SPI-Flash with automatic CRC calculation.
- Multi-port SDRAM controller.

I can also talk about the boot loader which has a NIOS II with a custom 2D GPU. We only use the text mode right now but we can have 4-layer graphics with 16-bit color.
But, this is coming from open source, right ?

Regards,

Frederic"

Source: http://www.lemon64.com/forum/viewtopic.php?p=435620&highlight=#435620


That is some good information.  The FPGA64 core is the CPU core that Peter Wendrich wrote that I was talking about.  Not sure if all the opcode bugs were fixed in the version the MCC216 uses or not but they are very well emulated in the Chameleon core.  We all have a license for it since it is GPL!  I just dont know if they got a non-gpl license.

Regarding the PLL Pal/NTSC timing issue.  The FPGA64 was doing PAL/NTSC switching on the C-one without any Cyclone 3 fpga on the fly by pressing F12.  The C-one FPGA extender added a cyclone 3 and PLL approach for PAL and NTSC before the MMC216 was released.  

I personally like the Chameleon feature set (which is extensive) and so far the beta cores are shaping up nicely.

The MCC216 surely has a few features not seen in open source as listed or had it done before open source.

If you review the developer information for the Chameleon you will see it also has added the ability for the C64 side of things to access a lot of the advanced features that the chameleon core provides.

http://www.syntiac.com/pdf/chameleon_progmanual_beta5.pdf

Sure is nice to have options.   Have they VGA mcc216 now right?
A500/030 40mhz with A530, Indivision ECS, , KS 3.1, 2 Megs Chip, 8 Megs fast.
A600 Vampire II
SAM440EP 667, Amiga OS 4.1u1
Dual G4 1.2 Mac MorphOS
Chameleon
CD32
SX64
128D
128
C64
64C
 

Offline humppa

  • Hero Member
  • *****
  • Join Date: Oct 2005
  • Posts: 959
    • Show only replies by humppa
Re: C64 FPGA Idea
« Reply #18 on: May 22, 2011, 08:33:17 PM »
Quote from: omnicron10;639507
Sure is nice to have options.   Have they VGA mcc216 now right?

Yes, they have released a VGA version end of last year. Resolutions are 480p (60hz) in NTSC and 576p (50hz) in PAL. The 50hz in PAL has its own advantages and disadvantages. No buffering/conversion to 60hz is required and there is no judder/stuttering. A major disadvantage is that 50hz over VGA is not a refresh rate commonly accepted by LCD/TFT-displays. Some are able to sync, some are not.
When they would have used a real video connection (e.g. HDMI or Component), this wouldn't have been such a problem since most LCD-TVs (at least the European/PAL-ones) accept e.g. 576p50, 720p50, 1080p50, etc.
The only solution are VGA to HDMI or Component transcoders or to add a PAL-upsampling to 60hz (if this is possible with the current hardware).

Just a few weeks ago, they have also released a first beta-version of their Amiga-core. As expected, there is still a lot of room for improvement, but it's nice to have something to play with.

http://www.youtube.com/watch?v=fVJoM0CM_N4
« Last Edit: May 22, 2011, 08:49:46 PM by humppa »
 

Offline omnicron10

  • Full Member
  • ***
  • Join Date: Dec 2006
  • Posts: 216
    • Show only replies by omnicron10
Re: C64 FPGA Idea
« Reply #19 on: May 22, 2011, 09:21:53 PM »
Quote from: humppa;639523
Yes, they have released a VGA version end of last year. Resolutions are 480p (60hz) in NTSC and 576p (50hz) in PAL. The 50hz in PAL has its own advantages and disadvantages. No buffering/conversion to 60hz is required and there is no judder/stuttering. A major disadvantage is that 50hz over VGA is not a refresh rate commonly accepted by LCD/TFT-displays. Some are able to sync, some are not.
When they would have used a real video connection (e.g. HDMI or Component), this wouldn't have been such a problem since most LCD-TVs (at least the European/PAL-ones) accept e.g. 576p50, 720p50, 1080p50, etc.
The only solution are VGA to HDMI or Component transcoders or to add a PAL-upsampling to 60hz (if this is possible with the current hardware).

The C-one fpga64 and chameleon beta cores have the same problem.  

The actual Chameleon uses VGA and outputs 800x600 native with a scan rate at 72hz and support to some degree a programable VGA output so it can be adjusted in software, even from the C64 side via pokes.  The tearing effects of the VGA output is reduced by double buffering the VGA display.

At 800x600 VGA output at 72hz working for both PAL and NTSC, most display work without the 50hz problem you described.

This is detailed on Page 9 of chameleon_progmanual_beta5.pdf .

Of course now also the Minimig core is out for the Chameleon as well.  It has a few bugs still but still very usable.  It does output 50hz for the PAL display so for PAL Minimig support you need a 50hz VGA display.  NTSC is 60.

So many options now.  Fun times.
« Last Edit: May 22, 2011, 09:29:21 PM by omnicron10 »
A500/030 40mhz with A530, Indivision ECS, , KS 3.1, 2 Megs Chip, 8 Megs fast.
A600 Vampire II
SAM440EP 667, Amiga OS 4.1u1
Dual G4 1.2 Mac MorphOS
Chameleon
CD32
SX64
128D
128
C64
64C
 

Offline RobertB

  • VIP / Donor - Lifetime Member
  • Hero Member
  • *****
  • Join Date: Jun 2005
  • Posts: 1837
  • Thanked: 23 times
    • Show only replies by RobertB
    • http://www.dickestel.com/fcug.htm
Re: C64 FPGA Idea
« Reply #20 on: May 23, 2011, 05:17:23 AM »
Quote from: omnicron10;639507
Have they VGA mcc216 now right?

The VGA version of the MCC-216 was demonstrated at the April SCCAN meeting when members Dan L. and Matt B. brought it in a surprise presentation (they also brought a Minimig to show off).

Next SCCAN meeting on June 5,
Robert Bernardo
Southern California Commodore & Amiga Network
http://www.sccaners.org
July 23-24 Commodore Vegas Expo v7 2011 - http://www.portcommodore.com/commvex
 

Offline trekiejTopic starter

Re: C64 FPGA Idea
« Reply #21 on: June 03, 2011, 01:34:14 AM »
Quote from: RobertB;639617
The VGA version of the MCC-216 was demonstrated at the April SCCAN meeting when members Dan L. and Matt B. brought it in a surprise presentation (they also brought a Minimig to show off).

Next SCCAN meeting on June 5,
Robert Bernardo
Southern California Commodore & Amiga Network
http://www.sccaners.org
July 23-24 Commodore Vegas Expo v7 2011 - http://www.portcommodore.com/commvex


Is there anything new to post on the MCC-216 or sccan?
Amiga 2000 Forever :)
Welcome to the Planar System.
 

Offline humppa

  • Hero Member
  • *****
  • Join Date: Oct 2005
  • Posts: 959
    • Show only replies by humppa
Re: C64 FPGA Idea
« Reply #22 on: June 22, 2011, 02:18:35 PM »
Quote from: trekiej;642041
Is there anything new to post on the MCC-216 or sccan?


They have just published a beta Apple II core for the MCC-216:

http://www.mcc-home.com/3.html

There is now also an unofficial forum for the MCC-216:

http://www.retrorebooted.com/mcc/forum/