6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Mon Sep 23, 2024 4:22 pm

All times are UTC




Post new topic Reply to topic  [ 9 posts ] 
Author Message
PostPosted: Wed Aug 12, 2020 9:02 pm 
Offline

Joined: Sun Jan 23, 2011 5:25 pm
Posts: 19
Ok, so I might be losing my mind here and I know there is not really any value in this since these machines are very available today but . . . .

In the last couple of years I have enjoyed building a couple of "modern" compatibles of the MSX (Sergey's Omega project), an Apple 2 org 0 reproduction, and the Sinclair Spectrum (Harlequin 128K project), and that left me wondering . . Would it be possible to recreate the C64 and/or VIC-20 in this fashion. Could one create a new PCB that is close to 100% compatible using only readily available parts with as few as possible custom ICs?

I am very sure that a Vic-20 compatible could be created with modern sram and eproms, a WDC 65c02, etc . . . only needing a single 6560 vic chip (and perhaps that could be replaced with TTL logic like the harlequin 128). I am also fairly sure that a 64 could be recreated needing only a VIC 2 and SID, using logic (GALs/CPLDs/TTL perhaps?) to allow the use of a 65c02 rather than the 6510, and perhaps finding a way to substitute 6522s for the harder to find 6526s with support logic filling in the gaps. I would prefer to avoid FPGAs in this as it is kinda cheating, and has already been done about eleventy million times ;)


I have not done any detailed work on this yet, right now it is just a passing thought, and will likely stay that way until I get my Apple 2 WiFi card done, but I thought I would put the idea out there to see if any one else had thought of this (or better yet attempted it)

Dan W.

_________________
Dan Werner


Top
 Profile  
Reply with quote  
PostPosted: Wed Aug 12, 2020 9:20 pm 
Offline
User avatar

Joined: Wed Feb 14, 2018 2:33 pm
Posts: 1467
Location: Scotland
Hello,

Have you seen the Commander-x16 project? It's effectively (from what I gather) a Vic-20 with 65C02 and some banked RAM, however it does have FPGA video.

There is also a PET replica too - https://www.thefuturewas8bit.com/mini-pet.html

So plenty of scope to make a look-a-like yourself... Start drawing!

Cheers,

-Gordon

_________________
--
Gordon Henderson.
See my Ruby 6502 and 65816 SBC projects here: https://projects.drogon.net/ruby/


Top
 Profile  
Reply with quote  
PostPosted: Wed Aug 12, 2020 9:23 pm 
Offline

Joined: Sun Jan 23, 2011 5:25 pm
Posts: 19
drogon wrote:
Hello,

Have you seen the Commander-x16 project? It's effectively (from what I gather) a Vic-20 with 65C02 and some banked RAM, however it does have FPGA video.

There is also a PET replica too - https://www.thefuturewas8bit.com/mini-pet.html

So plenty of scope to make a look-a-like yourself... Start drawing!

Cheers,

-Gordon


I actually have been following that project -- and have built a couple of "non compatible" computers myself. I suspect for me, the Vic would be a "warm up", heading to a 64. Unless I get brave and start working on replicating 6560 with TTLs or CPLDs. :)

_________________
Dan Werner


Top
 Profile  
Reply with quote  
PostPosted: Wed Aug 12, 2020 9:32 pm 
Offline

Joined: Sun Jan 23, 2011 5:25 pm
Posts: 19
and . . . I just found this. This is what I get for falling behind on the forums :)

http://www.6502.org/users/sjgray/projec ... index.html

_________________
Dan Werner


Top
 Profile  
Reply with quote  
PostPosted: Thu Aug 13, 2020 11:29 am 
Offline

Joined: Tue Feb 24, 2015 11:07 pm
Posts: 81
I was recently pointed at this by fhw72:

https://www.forum64.de/index.php?thread ... -gebastelt

It's a modern Commodore 16 PCB using SMT. The expansion port connector must come from an old board but many of the other components are available today.


Top
 Profile  
Reply with quote  
PostPosted: Thu Aug 13, 2020 12:56 pm 
Offline

Joined: Sun Jan 23, 2011 5:25 pm
Posts: 19
unclouded wrote:
I was recently pointed at this by fhw72:

https://www.forum64.de/index.php?thread ... -gebastelt

It's a modern Commodore 16 PCB using SMT. The expansion port connector must come from an old board but many of the other components are available today.



yup, that is almost exactly what I was thinking -- but with (eventually) the C64. I need to finish up what I am working on now, but I do think I will build a prototype Vic-20 PCB as a proof on concept at some point in the near future and then see if it is possible for the 64.

Thanks for all of the feedback!

Dan W.

_________________
Dan Werner


Top
 Profile  
Reply with quote  
PostPosted: Mon Nov 16, 2020 2:14 pm 
Offline

Joined: Sun Jan 23, 2011 5:25 pm
Posts: 19
I have made some progress on the VIC-20 clone. All is well, except I have some kind of timing problem. I notice it most when the screen is scrolling -- it appears that when the CPU is in a tight loop it has occasional read problems. See the pic of the screen shot. The Basic program prints "TEST TEST TEST TEST" in a loop and it is possible to see the corruption as it scrolls up the screen. Note the bottom line always is correct, and it corrupts as it scrolls up. I have done several other tests and I am pretty sure (not 100% though) that the problem is on read, not write.

I am working though this but, if anyone has any ideas about what I missed here it would be appreciated!!

See attached pictures and schematic.

Attachment:
vic1.jpg
vic1.jpg [ 375.63 KiB | Viewed 936 times ]

Attachment:
vic2.jpg
vic2.jpg [ 360.49 KiB | Viewed 936 times ]


Attachments:
vic2020Schematic.pdf [632.81 KiB]
Downloaded 69 times

_________________
Dan Werner
Top
 Profile  
Reply with quote  
PostPosted: Mon Nov 23, 2020 12:49 am 
Offline

Joined: Tue May 05, 2009 2:49 pm
Posts: 109
Search for the SixtyClone project, which is close to what you describe.

Jim


Top
 Profile  
Reply with quote  
PostPosted: Fri Nov 27, 2020 9:07 pm 
Offline

Joined: Sun Jan 23, 2011 5:25 pm
Posts: 19
I finally found the problem (at least it seems to be solved). . .

Looks like CE was getting asserted too soon on U12. To fix it, I changed S02 to be just CPU02 and not an OR of SO0 and CPU02, and I added a gate to introduce some delay after U9D. It has been running for several hours with no issues.

(See new schematic -- attached)

I have ordered new PCBs to confirm that it is totally fixed, and I found a company that prints custom key caps, so I ordered a set of petscii keycaps to finish it off. Assuming that everything passes the tests, I will post all of the gerbers and the keycap templates in case anyone else is interested in building one.


Attachments:
Mainboard_SCH.pdf [638.72 KiB]
Downloaded 69 times

_________________
Dan Werner
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 20 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: