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 > C64 Coding > Arduino-based 1541 emulator. Possible?
2013-04-22 10:47
Flavioweb

Registered: Nov 2011
Posts: 463
Arduino-based 1541 emulator. Possible?

Talking about Arduino with an hw-hacker father of a friend, i started to thinking about on how to build a full-compatible 1541 clone (6510, cia, ram, etc...) using Arduino hw.
I found this 6502 emulator:
http://www.df.lth.se/~richard/6502emu2.pde

May be possible to build a full sd card reader fully 1541 compatible (for low level drive programming)?
 
... 28 posts hidden. Click here to view all posts....
 
2013-04-26 17:33
WVL

Registered: Mar 2002
Posts: 902
I think something like this :

http://www.adafruit.com/products/451

plus an arduino with an LCD (for selecting .d64) and SD reader could make a nice 1541 emulator
2013-04-26 17:49
tlr

Registered: Sep 2003
Posts: 1790
Quoting WVL
I think something like this :

http://www.adafruit.com/products/451

plus an arduino with an LCD (for selecting .d64) and SD reader could make a nice 1541 emulator

That's a tiny FPGA. 22kLE isn't much. and not putting the full drive emulation into the FPGA is probably going to make stuff more complicated. Remember, you still need to act on 1 us events and synchronize that with your cycle exact emulation running asynchronously in software.
It might be cheaper in material costs though, but that only matters in high volumes.
2013-04-26 17:58
WVL

Registered: Mar 2002
Posts: 902
I think the ultimate I doesnt have a lot more logic elements? also the ultimate needs to emulate a cpu in the fpga aswell...

Basically all your arduino/whatever cpu has to do is let the user select an image and transfer it to the FPGA's memory..

Just checked, the ultimate I has about 5500 logic cells, while this cyclone II has 22000! that's 4x more than an ultimate I!
2013-04-26 18:08
tlr

Registered: Sep 2003
Posts: 1790
Quoting WVL
I think the ultimate I doesnt have a lot more logic elements? also the ultimate needs to emulate a cpu in the fpga aswell...

Basically all your arduino/whatever cpu has to do is let the user select an image and transfer it to the FPGA's memory..

Just checked, the ultimate I has about 5500 logic cells, while this cyclone II has 22000! that's 4x more than an ultimate I!

Actually you're right, sorry. I guess I'm just spoilt by more high end ones. ;)
So why not run the full emulation in the FPGA?
2013-04-26 19:01
chatGPZ

Registered: Dec 2001
Posts: 11386
"You might be able to do it by scheduling a timer interrupt at a really high priority as a kernel driver/module."
and thats precisely what openCBM does :)

and i dont think putting parts of the emulation into an FPGA and another part into software is a good idea or would save timer and/or money. once you have all the other chips in the fpga, adding the cpu aswell is least of all problems :)
2013-04-26 19:14
Bitbreaker

Registered: Oct 2002
Posts: 508
There is the 1541 Ultimate. Where's the problem and what did i get wrong? Or do we just urgently need some more flaky ghetto-solutions? :-)
2013-04-26 19:34
JackAsser

Registered: Jun 2002
Posts: 2014
Quote: "You might be able to do it by scheduling a timer interrupt at a really high priority as a kernel driver/module."
and thats precisely what openCBM does :)

and i dont think putting parts of the emulation into an FPGA and another part into software is a good idea or would save timer and/or money. once you have all the other chips in the fpga, adding the cpu aswell is least of all problems :)


Oh does opencbm support custom drivecode? I thought it only implemented iec which more or less is possible to implement in user space since the protocol is clocked. Anyway, cool if it does support custom drive code! :)
2013-04-27 10:59
CreaMD

Registered: Dec 2001
Posts: 3057
Groepaz? So is there chance to have "true drive emulation" on stock PC that way?
2013-04-27 11:44
Kisiel
Account closed

Registered: Jul 2003
Posts: 56
True drive emulation is not possible :)
http://projekt64.filety.net/index.php?dir=UK1541/&file=Level%20..

On this short presentation you can find vectors calculated in drive (UK1541) so this means cortex is enough to have true drive emulation. Old board is only to have IEC bus, VIA is removed.
Have another dream guys :P
2013-04-27 22:09
CreaMD

Registered: Dec 2001
Posts: 3057
Kisiel, I need it explained to me, as to a child. I don't undesrstand what is cortex. And also don't get if you mean that emulation actually is possible on stock PC (without hadware hacks), or not.
Previous - 1 | 2 | 3 | 4 - 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
Acidchild/Padua
The Syndrom/TIA/Pret..
Wayne Kerr/Flashtro
AMB/Level 64
zscs
grass/LETHARGY
New Design/Excess
tlr
Twoflower/ΤRIΛD
Guests online: 98
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 Swappers
1 Derbyshire Ram  (10)
2 Jerry  (9.8)
3 Violator  (9.7)
4 Acidchild  (9.7)
5 Cash  (9.6)

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