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-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.
2013-04-27 22:34
chatGPZ

Registered: Dec 2001
Posts: 11386
"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! :)"
not really "custom" (as in not user defined) - but it uploads own drivecode for the "fast" and "warp" type of transfers.
"So is there chance to have "true drive emulation" on stock PC that way?"
sure possible - but not the way you'd possibly want it to be (it'll block the pc)

and "cortex" is the marketing term for a certain ARM core/controller type (similar to what you'll find in many smartphones or netbooks)
2013-04-27 22:42
Kisiel
Account closed

Registered: Jul 2003
Posts: 56
Cortex ????
one of ARM family http://en.wikipedia.org/wiki/ARM_architecture , thumb 2 only, small RAM and ROM.

I don't know what is STOCK PC, you have VICE on "stock PC" and for drive emulation one program for dos.

This topic is about Arduino 1541 emulation (ATmega8, ATmega168, ATmega328, ATmega1280.), so I think it's not possible but is possible on Cortex as I proved in video presentation.
2013-04-28 20:06
CreaMD

Registered: Dec 2001
Posts: 3057
Thanx for explanation Kisiel. I seemed like if you were replying on my post, that's why I asked.
2013-04-28 20:52
Krill

Registered: Apr 2002
Posts: 2980
That video doesn't prove much. Implementing some custom serial protocol is one thing, actually providing full compatibility for all types of disk access, speeders and custom routines another.
That said, i'm not doubting it's possible with an ARM CPU, just that this video feels like those dubious grainy blurred UFO "proof" things.
2013-04-29 01:15
chatGPZ

Registered: Dec 2001
Posts: 11386
hehe, i stopped watching video "proofs" of whatever years ago, although some of them at least have some entertainment value =)
and what krill says :) (actually supporting typical demo stuff is on the easier side of things, as that usually involves async protocolls anyway and thus timing isnt all that important - now try running some copyprotected original games on it =P)
2013-04-29 05:33
SIDWAVE
Account closed

Registered: Apr 2002
Posts: 2238
Maybe the Raspberry Pie is more suited..?

LFT has done a cross development suite for his own use. (asm + tools run on RP, connected to C64)
2013-04-29 07:41
Krill

Registered: Apr 2002
Posts: 2980
Scroll up, Raspberry Pi has already been discussed to some degree.
2013-04-29 12:33
Kisiel
Account closed

Registered: Jul 2003
Posts: 56
its not sd2iec multi protocol emulation. it's cycle exact 6502 core with VIA emulation (4kB RAM,16kB ROM, timers, SOE handling etc). So far no illegal opcodes.it took me half year to code this emu. Now i am working on stage 2, sd to gcr. see new prototype on Silesia Party 7 as other guys.
Thanks for support but topic is Arudinio not UK1541.
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
Alakran_64
MWR/Visdom
E$G/HF ⭐ 7
The MeatBall
Guests online: 81
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.054 sec.