6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sat Nov 23, 2024 11:44 pm

All times are UTC




Post new topic Reply to topic  [ 20 posts ]  Go to page Previous  1, 2
Author Message
PostPosted: Sat Aug 17, 2013 4:42 pm 
Offline
User avatar

Joined: Mon Apr 23, 2012 12:28 am
Posts: 760
Location: Huntsville, AL
With a soft-processor: a voltage regulator (SOT-223), a configuration EPROM (SO8 or SOL16), an FPGA (VQ100 or FT256), an oscillator (3.2mmx2.5mm) are required. Drivers/Transceivers/Buffers and connectors for Digital I/O, asynchronous serial I/O (RS-232/RS-485), video (VGA), etc. not included. :)

_________________
Michael A.


Top
 Profile  
Reply with quote  
PostPosted: Sat Aug 17, 2013 5:56 pm 
Offline

Joined: Wed Jan 04, 2012 9:02 pm
Posts: 65
The RIOT only has 128 bytes of RAM - not much use by itself unless you have a dedicated system needing very little RAM ;) Using only an LS04 (presumably for the clock) would mean that very limited address decoding could take place (only 2 CS lines on the RIOT).

I agree you can do a very small system with few chips, but if you are going for a very small computer then a microcontroller (PIC, AVR, etc) is a much more viable option nowadays.

What I aim for is to have a computer that can be switched on and programmed directly, supporting BASIC, a useable terminal interface and a decent amount of RAM for messing about and the ability to be expanded or connect simple interfacing to. Also, it uses off-the-shelf parts that are fairly easy to obtain, and the only requirement is access to an EPROM/EEEPROM programmer.

Designs can be in all sizes, but, as I say on my page, a version running BASIC can't get much simpler :)

Regards.

Grant


Top
 Profile  
Reply with quote  
PostPosted: Sat Aug 17, 2013 7:58 pm 
Offline
User avatar

Joined: Tue Nov 16, 2010 8:00 am
Posts: 2353
Location: Gouda, The Netherlands
With a suitable microcontroller, you only need a single chip. And with an emulator, you can still program 6502 code.


Top
 Profile  
Reply with quote  
PostPosted: Sun Aug 18, 2013 1:38 am 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8546
Location: Southern California
zx80nut wrote:
The RIOT only has 128 bytes of RAM - not much use by itself unless you have a dedicated system needing very little RAM ;)

And that was the original purpose of the RIOT-- systems needing little enough RAM to integrate it with the I/O. Today those applications are taken care of by microcontrollers, and the RIOT has not been made in decades. Mike Naberezny' early project using a 6504 used the RIOT.

Quote:
Using only an LS04 (presumably for the clock) would mean that very limited address decoding could take place (only 2 CS lines on the RIOT).

Besides recommending never using LS again (it has disadvantages and no advantages over 74HC, not to mention 74AC), I will reieterate that you can decode for RAM, ROM, and ten I/O ICs using only a single quad NAND, and, if you make it Schmitt-trigger (74HC132 instead of 74HC00), the one left-over gate can be used for the reset circuit. This is shown in the very basic whole-computer diagram at http://wilsonminesco.com/6502primer/pot ... ml#BAS_CPU and further explained on the address-decoding page of the 6502 primer.

Quote:
I agree you can do a very small system with few chips, but if you are going for a very small computer then a microcontroller (PIC, AVR, etc) is a much more viable option nowadays.

There are the 65134 and the 65265 microcontrollers available off the shelf, but unfortunately their ROM cannot be programmed on the workbench (so you either spend the tool-up cost and long lead time for mask ROM, or use external ROM, forfeiting a lot of I/O pins), and there aren't a lot of variations of them like there are of the PICs and AVRs.

Quote:
What I aim for is to have a computer that can be switched on and programmed directly, supporting BASIC, a useable terminal interface and a decent amount of RAM for messing about and the ability to be expanded or connect simple interfacing to. Also, it uses off-the-shelf parts that are fairly easy to obtain, and the only requirement is access to an EPROM/EEEPROM programmer.

I've brought a lot of products to market using PIC16's, but they cannot compile their own software into program memory. Now I'm getting familiar with PIC18's. They have a lot more power than the 16's, but although they can write to program memory, they have to do it in 64-byte blocks, and it's a process, and they can't just go compiling or assembling on the fly and writing quickly to program memory to RAM to execute. They have other obstacles for that kind of applications too. The PICs are good for tiny jobs that don't require the program to change frequently, don't require much RAM, etc.. The microcontrollers may have a place in supporting a 6502 computer, but the latter still has a very valid place on the workbench.

For your RS-232 line drivers and receivers, if your power-supply inventory has something in the area of ±10V also (even non-regulated), you can use the MC145406 16-pin IC with three drivers and three receivers instead of two like that MAX 232 has, and it is more compact because it does not need any supporting parts like the MAX232 does. Then, with the one MC145406, you can have TD, RD, RTS, CTS, DSR, and DTR. Or, since the computer will really need some other I/O to be useful anyway, you could use a 65c22 VIA, and use a few of its I/O bits to bit-bang an SPI to a MAX3110E UART in a 28-pin skinny DIP which is a much better UART than the 6850 or 65c51 and also has the line drivers and receivers built in, not needing any external support parts or added supply voltages. Bit-banging SPI on a 65c22 is covered at http://wilsonminesco.com/6502primer/pot ... ITBANG_SPI, with a link to working code at http://wilsonminesco.com/6502primer/SPI.ASM .

_________________
http://WilsonMinesCo.com/ lots of 6502 resources
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?


Top
 Profile  
Reply with quote  
PostPosted: Mon Aug 19, 2013 2:08 am 
Offline
User avatar

Joined: Sat Sep 29, 2012 10:15 pm
Posts: 904
I started a thread about my minimal FPGA board here:
DILDAR: embedded microcontroller with 8K RAM http://forum.6502.org/viewtopic.php?f=10&t=2638
CHOCHI: a full computer with 128K RAM http://forum.6502.org/viewtopic.php?f=10&t=2644

_________________
In theory, there is no difference between theory and practice. In practice, there is. ...Jan van de Snepscheut


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 80 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: