| |
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.... |
| |
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 |
| |
tlr
Registered: Sep 2003 Posts: 1790 |
Quoting WVLI 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. |
| |
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! |
| |
tlr
Registered: Sep 2003 Posts: 1790 |
Quoting WVLI 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? |
| |
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 :) |
| |
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? :-) |
| |
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! :) |
| |
CreaMD
Registered: Dec 2001 Posts: 3057 |
Groepaz? So is there chance to have "true drive emulation" on stock PC that way? |
| |
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 |
| |
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 |