Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in - nap
CSDb User Forums


Forums > Requests > Recent Diskmag with C65 FPGA Article?
2015-02-17 10:13
Heavy Stylus

Registered: Apr 2007
Posts: 62
Recent Diskmag with C65 FPGA Article?

Hey there! Not an ancient prod at all, but I read an article about someone creating an FPGA version of a C65 on a recent diskmag and cannot remember which one it was!

Any help would be mucho appreciated!

J/HS
 
... 10 posts hidden. Click here to view all posts....
 
2015-04-05 18:44
hld_flt
Account closed

Registered: Nov 2014
Posts: 6
Sorry for extreme delay in response.

On a real C65 there is neither memory nor CPU time to effectively double-buffer in a game.

The DAT lets you specify an 8-bit X and Y coordinate in two registers, and then access the (upto 8) bitplane bytes for those coordinates directly.

Of course, you still have to do the bit fiddling, so changing a single pixel is still horribly slow.

Even assuming you could use DMA to write to the 8 bytes in 8 cycles, modifying a 256-colour pixel requires 8 cycles, and more like 100 or more cycles in reality. Since you have only 3.5MHz/50Hz = 70K cycles per frame, you are limited to updating never more than 10K pixels per frame using unrealistically optimistic appraisal. More realistically you could update not more than a few hundred pixels per cycle.

There was also as I recall some funny number of cycles you had to wait after setting the DAT address before you could use it for the new address.

I understand why they created it, but it was a partial mitigation of the bigger problems that bitplanes presented on the machine.

Of course, with the technology of the time, they might not have had too many other options, but I do :)
Previous - 1 | 2 - Next
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
Bansai/BSILabs
Guests online: 77
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Mojo  (9.7)
4 Coma Light 13  (9.6)
5 Edge of Disgrace  (9.6)
6 What Is The Matrix 2  (9.6)
7 The Demo Coder  (9.6)
8 Uncensored  (9.6)
9 Comaland 100%  (9.6)
10 Wonderland XIV  (9.6)
Top onefile Demos
1 No Listen  (9.6)
2 Layers  (9.6)
3 Cubic Dream  (9.6)
4 Party Elk 2  (9.6)
5 Copper Booze  (9.6)
6 Dawnfall V1.1  (9.5)
7 Rainbow Connection  (9.5)
8 Onscreen 5k  (9.5)
9 Morph  (9.5)
10 Libertongo  (9.5)
Top Groups
1 Performers  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Triad  (9.3)
5 Censor Design  (9.3)
Top Original Suppliers
1 Derbyshire Ram  (9.7)
2 Fungus  (9.3)
3 Black Beard  (9.2)
4 Baracuda  (9.2)
5 hedning  (9.1)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.064 sec.