6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sat Nov 16, 2024 4:47 am

All times are UTC




Post new topic Reply to topic  [ 17 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: Sun Oct 28, 2018 3:19 am 
Offline

Joined: Fri Apr 06, 2018 4:20 pm
Posts: 94
From Germany:

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


Top
 Profile  
Reply with quote  
PostPosted: Sun Oct 28, 2018 6:33 am 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10980
Location: England
Interesting, and a thorough ground-up effort by the look of it, decapping chips, photographing, drawing polygons, simulating, and using the original schematics from Donald Hanson. The present state seems to be a (presently oversized) carrier board with an FPGA on it, and a phase accurate model of the 6502.

There is a hope, I think, that once the project is finished, the sources will be made available.

From the nearby thread MOS 6509 look-alikes?:

mdpenny wrote:
For those who are unsure, the MOS 6509 has a pair of 4-bit memory-mapped registers - at $0000/$0001 - that extend the addressing range of the CPU to 20 bits, or 1MB; one is the "code" register, that is used on most memory accesses, and the other is the "data" register, used on the (the "significant" load/store operation of the) "LDA/STA (zp),Y" instructions (opcodes $B1/$91).


(Where we see that Jim Brain's 6509 solution is working, is small, and is open-source - hurrah! It won't suit the forum64 purpose precisely, because all the undocumented behaviour of Commodore's various chips are important over there. Also, that's just the 6509 whereas this is capable, or intended to be capable, of being 8 various 6502ish chips.)


Top
 Profile  
Reply with quote  
PostPosted: Sun Oct 28, 2018 3:26 pm 
Offline

Joined: Thu Jan 21, 2016 7:33 pm
Posts: 279
Location: Placerville, CA
You know, it's just now striking me that that's essentially the exact same scheme for extended memory addressing as the PDP-8 used.


Top
 Profile  
Reply with quote  
PostPosted: Sun Oct 28, 2018 4:42 pm 
Offline
User avatar

Joined: Mon Apr 23, 2012 12:28 am
Posts: 760
Location: Huntsville, AL
That's an interesting observation commodorejohn. I am not very familiar with the 6509 and its memory management extensions, but it does not surprise me that it resembles the mechanism used on a low-cost minicomputer: the PDP8.

Since I've been involved on this and other vintage computer forums, it has become obvious to me that many of the innovations seen in microprocessors are derived from developments in mainframes and minicomputers of the 60s and 70s. There are certainly innovations in modern processors that stand on their own. However, it is certainly very thought provoking to study vintage processors and find their solutions, in some form, being applied in modern processors.

Our "technological grandfathers" may not be so backward and stupid after all. :D

_________________
Michael A.


Top
 Profile  
Reply with quote  
PostPosted: Sun Oct 28, 2018 6:11 pm 
Offline
User avatar

Joined: Thu May 14, 2015 9:20 pm
Posts: 155
Location: UK
MichaelM wrote:
Our "technological grandfathers" may not be so backward and stupid after all. :D

I’m not a bit surprised. If you look back at obsolete technology, our clever "technological grandfathers" tried to do as much as possible with what was then (compared to now) very limited resources. Every transistor cost a relatively large amount of money, so designers, if they could, where possible, would get maximum use out of each one.

In my workplace, we have various electronic systems dating from the late 1960’s through to current “tried and tested” technology (we don’t do state of the art, as these are critical systems where reliability is very important).

The 1960’s designers where possible use transistors for two functions!

So I am sure that a lot of the principles and design ideas that engineers came up with in the past would have been very well thought out.

So it’s not surprising that some of these ideas have been taken up by designers of later technology. Where the costs are much lower.

Mark


Last edited by 1024MAK on Mon Oct 29, 2018 7:36 pm, edited 1 time in total.

Top
 Profile  
Reply with quote  
PostPosted: Mon Oct 29, 2018 1:47 pm 
Offline
User avatar

Joined: Fri Nov 09, 2012 5:54 pm
Posts: 1431
Our ancestors sure had some nice ideas, but sometimes the technology which had been available back then wasn't up to it.

Back in 1958, computer pioneer Konrad Zuse had filed patent DE1190413, ‘Lighting device photoelectrically-controlled by backlight’.

He envisaged multiple light sources which are deactivated by photoelectric cells if these cells detect other cars in their vicinity.
But with the technology of the 50s, it wasn't possible to manufacture something like that working in a reliable way.

The patent went buried in the German Patent Office’s archives...
...until the adaptive multibeam LED headlights were introduced by the car industry.

;---

Hmm... scary thing is, that when looking down at the top of his mechanical Z1 computer (1938) from high above, it somehow resembles a chip layout.

Looks like old Zuse had "liked" 80x86 PCs about as much as we do nowaday:

Attachment:
fig107.jpg
fig107.jpg [ 23.62 KiB | Viewed 3133 times ]


Top
 Profile  
Reply with quote  
PostPosted: Thu May 16, 2019 12:41 pm 
Offline

Joined: Thu Jul 20, 2017 9:58 am
Posts: 91
BigEd wrote:
.... The present state seems to be a (presently oversized) carrier board with an FPGA on it, and a phase accurate model of the 6502.


The board is much smaller now! Just a bit more than a regular DIL40 package:

Attachment:
MockA65xx.jpg
MockA65xx.jpg [ 962.84 KiB | Viewed 1245 times ]
-
Attachment:
MockA65xx_bottom.jpg
MockA65xx_bottom.jpg [ 949.46 KiB | Viewed 1245 times ]
-
Attachment:
MockA65xx_top.jpg
MockA65xx_top.jpg [ 962.27 KiB | Viewed 1242 times ]


Last edited by fhw72 on Thu May 16, 2019 12:55 pm, edited 1 time in total.

Top
 Profile  
Reply with quote  
PostPosted: Thu May 16, 2019 12:43 pm 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10980
Location: England
Looking good!


Top
 Profile  
Reply with quote  
PostPosted: Thu May 16, 2019 12:46 pm 
Offline

Joined: Thu Jul 20, 2017 9:58 am
Posts: 91
BigEd wrote:
Looking good!


Yes... and this should also give a replacement for GoDIL40... keeping fingers crossed
that there won't be too many quirks in the prototype(s)! :D


Top
 Profile  
Reply with quote  
PostPosted: Thu May 16, 2019 1:17 pm 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10980
Location: England
That would be very welcome - I take it those are active level shifters? (So the mapping of the 40 pins to ins and outs will be specific to 6502, but the electrical compatibility and speed will be better than passive shifters??)


Top
 Profile  
Reply with quote  
PostPosted: Thu May 16, 2019 1:20 pm 
Offline

Joined: Thu Jul 20, 2017 9:58 am
Posts: 91
BigEd wrote:
That would be very welcome - I take it those are active level shifters? (So the mapping of the 40 pins to ins and outs will be specific to 6502, but the electrical compatibility and speed will be better than passive shifters??)


These are passive level shifters - like it is on the GoDIL board. Power supply can be configured via solder bridges.

The 1st prototypes had active level-shifters...


Top
 Profile  
Reply with quote  
PostPosted: Thu May 16, 2019 1:25 pm 
Offline

Joined: Thu Jul 20, 2017 9:58 am
Posts: 91
it was quite tedious to sort out which pins were inputs, outputs or possibly both depending on the CPU type:

Attachment:
MockA65xx_Pins.pdf [24.19 KiB]
Downloaded 74 times


Therefore I decided to go the KISS route too! (Passive level-shifters, weak pull-ups in order to not
interfere with tricky bus designs too much. Due to the solder pads on the upper side of the PCB
these pull-ups can be modified with another resistor in parallel).

The JTAG Connector (Cable made by Tag-connect) is a bit different/more complicated than usual:

The connector allows (apart from flashing of course) to supply power to the board
without configuring the power pins and it also has a few additional
I/O pins (meant for an UART with hardware handshake).

That means: There will be a special adapter board to connect USB-Blaster, 5Volt and
possibly with RS232-USB interfacing (FTDI or CP2102) included.


Last edited by fhw72 on Thu May 16, 2019 3:03 pm, edited 3 times in total.

Top
 Profile  
Reply with quote  
PostPosted: Thu May 16, 2019 1:45 pm 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10980
Location: England
Ah right - which gives the advantage of fitting into a Z80 or 6809 socket instead, with a suitable design loaded on the FPGA.


Top
 Profile  
Reply with quote  
PostPosted: Thu May 16, 2019 1:48 pm 
Offline

Joined: Thu Jul 20, 2017 9:58 am
Posts: 91
BigEd wrote:
Ah right - which gives the advantage of fitting into a Z80 or 6809 socket instead, with a suitable design loaded on the FPGA.


Yes... and due to the smaller PCB size this should be no problem in most cases.
In order to keep the visual experience more appealing (i.e. more similar to the chip to be replaced)
the final boards will be produced in matte black color. But that's certainly only important to me!? :lol: :lol: :lol: :lol:


Top
 Profile  
Reply with quote  
PostPosted: Fri May 17, 2019 10:42 am 
Offline

Joined: Thu Jul 20, 2017 9:58 am
Posts: 91
I didn't want to wait until weekend... and made some first tests
via boundary scan with one of the pre-series-prototypes:

Attachment:
MockA65xx_1st_test.jpg
MockA65xx_1st_test.jpg [ 871.83 KiB | Viewed 1174 times ]


I'm glad that everything's fine so far! :D That means: I can now port
the code from the first prototype to the new ones.


Here you can see the board in one of the targets:

Attachment:
C16.jpg
C16.jpg [ 682.81 KiB | Viewed 1169 times ]


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 17 posts ]  Go to page 1, 2  Next

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 3 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: