6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Thu May 16, 2024 9:25 pm

All times are UTC




Post new topic Reply to topic  [ 27 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: Sat Mar 18, 2023 3:58 pm 
Offline
User avatar

Joined: Fri Dec 11, 2009 3:50 pm
Posts: 3354
Location: Ontario, Canada
In another thread, VinCBR900 suggested an interesting concept:
Quote:
Just for a fun challenge, the idea is to push the boundaries of the breadboard computer for the lowest cost Tiny Basic system that we could have made in 1976 using period parts.

So, this is where the lower cost 28 pin NMOS 6502 CPUs which addresses 4-8kbyte with varying pins bonded out come in, coupled with a 2716 EPROM - we might need to cheat a little on dates for the SRAM with a Mostek MK4801 or MK4802.

This leaves an async serial solution that forgoes an expensive (in the 1970s) UART - after many years the IRQ pin has been programmed for RX input with a memory mapped D type FF for TX output, but it would be cooler to do an unused opcode hack like you suggested with the 65C02, if technically possible.
And, in a previous post,...
VinCBR900 wrote:
I am looking for a 1 bit output port for bit bang serial to put Tiny Basic on a 28pin 6504, with serial input using the IRQ pin.
There is this neat hack by c0pperdragon but it requires ML pin, which the 28 pin devices don't have
https://github.com/c0pperdragon/SingleB ... /mainboard

This sounds like terrific fun, and because of its scope I feel it deserves a thread of its own. :)

-- Jeff

_________________
In 1988 my 65C02 got six new registers and 44 new full-speed instructions!
https://laughtonelectronics.com/Arcana/ ... mmary.html


Top
 Profile  
Reply with quote  
PostPosted: Sat Mar 18, 2023 4:06 pm 
Offline
User avatar

Joined: Fri Dec 11, 2009 3:50 pm
Posts: 3354
Location: Ontario, Canada
Michael wrote:
Anyone know what the following items cost in 1976? Was SRAM available (affordable?) in 1976?

R6504 CPU
MC6850 ACIA
74LS139
2716 2Kx8 EPROM
2732 4Kx8 EPROM
6116 2Kx8 SRAM

_________________
In 1988 my 65C02 got six new registers and 44 new full-speed instructions!
https://laughtonelectronics.com/Arcana/ ... mmary.html


Top
 Profile  
Reply with quote  
PostPosted: Sat Mar 18, 2023 5:28 pm 
Offline

Joined: Wed Jun 23, 2021 8:02 am
Posts: 165
I don't think 6116 SRAMs were available in 1976. The Acorn Atom was produced in 1979 and that used 2114 RAMs (1Kx4). Apparently 16K DRAMs were first produced in 1975: https://smithsonianchips.si.edu/augarten/p50.htm


Top
 Profile  
Reply with quote  
PostPosted: Sat Mar 18, 2023 6:03 pm 
Offline
User avatar

Joined: Fri Sep 08, 2017 9:41 pm
Posts: 39
Location: UK Expat living in Washington State, US
Unfortunately they were not, hence suggestion to cheat a little with Mostek bytewide sram which were available late 1970s.

To differentiate from something like Grant Searle's minimal 7-chip Basic system, the key challenges are 28 pin CPU, no expensive ACIA/Uart/RIOT, with fewest parts.


Last edited by VinCBR900 on Sun Mar 19, 2023 11:24 pm, edited 1 time in total.

Top
 Profile  
Reply with quote  
PostPosted: Sat Mar 18, 2023 7:09 pm 
Offline

Joined: Fri Dec 21, 2018 1:05 am
Posts: 1076
Location: Albuquerque NM USA
It seems to me a 7474 flipflops with one FF for serial out and another for handshake are adequate for the bitbang serial port. Not my idea, I believe it has been done already for few low-cost RC2014 designs.
Bill


Top
 Profile  
Reply with quote  
PostPosted: Sun Mar 19, 2023 7:19 am 
Offline

Joined: Thu Mar 10, 2016 4:33 am
Posts: 169
At the time a MOS 6532 would have been a likely choice. I don't think 128 bytes of RAM would be enough for a useful basic, so maybe it's not sufficient. But it was commonly used to implement a serial port, so at least that problem is solved. According to Wikipedia the Intel 2114 was introduced in 1975, so looks like that chip could be used. So a design like the Jolt computer appears to be valid. As plasmo mentioned, probably the lowest cost option would be a a flipflop for the serial port, but I think a more common design at that time would be a 6504/6532 combination with some 2114 RAM.


Top
 Profile  
Reply with quote  
PostPosted: Sun Mar 19, 2023 7:27 am 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8438
Location: Southern California
Somewhere I have a couple dozen early 1Kx4 SRAMs.  I'll look for them if you're interested.

_________________
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: Sun Mar 19, 2023 8:19 pm 
Offline
User avatar

Joined: Wed Feb 13, 2013 1:38 pm
Posts: 586
Location: Michigan, USA
A first attempt (missing oscillator, bypass caps', etc.). Tiny BASIC will fit in 4K of ROM, correct?


Attachments:
6504 Tiny Basic SBC.png
6504 Tiny Basic SBC.png [ 82.33 KiB | Viewed 1073 times ]
Top
 Profile  
Reply with quote  
PostPosted: Sun Mar 19, 2023 9:42 pm 
Offline
User avatar

Joined: Fri Sep 08, 2017 9:41 pm
Posts: 39
Location: UK Expat living in Washington State, US
jds wrote:
... a more common design at that time would be a 6504/6532 combination with some 2114 RAM

Something like Mike's 6504 Single Board Computer. Definitely a solid way forward, but against the self imposed rules (Apologies originally excluding UART/ACIA, but I also meant high integration chips like RIOT, so clarified above) as the 6532 would have been expensive.
Michael wrote:
A first attempt (missing oscillator, bypass caps', etc.). Tiny BASIC will fit in 4K of ROM, correct?

Good attempt - I like the Open Collector address decoding. However 6264 with its handy dual CS pins was not available in the 1970s. AFAIK The Intel D2186 was the first 8kbyte (pseudo) SRAM and was available in 1982. Could carry forward the LS145 to try and map the 74LS74 to get a 2 bit output port in zero page, with a pair of 2114's for ram.

Good point about Tiny basic - Palo Alto 8080 Tiny Basic did fit in 2kbyte eprom. According to Jeff Tranters excellent pages, Apple 1 integer basic required 4k but the simpler Tom Pittman's Tiny Basic which may have been 2kbyte.

Layering projects, we could consider porting Oscar Toleda's BootBasic, which is a tiny basic in <512bytes of 8086.
https://github.com/nanochess/bootBASIC


Last edited by VinCBR900 on Mon Mar 20, 2023 3:36 am, edited 1 time in total.

Top
 Profile  
Reply with quote  
PostPosted: Mon Mar 20, 2023 1:20 am 
Offline

Joined: Fri Oct 04, 2019 4:26 am
Posts: 19
Location: Rancho Cordova, CA
I'm pretty sure the 2732 wasn't out in 1976. The 2716 might be a stretch too. More like the 1702 or 2516.

2114 were common and some other by 1 bit sizes too.

I've got a gold C2186 ES that I've been wanting to power up. It is a DRAM with internal self refresh used as SRAM. The D2004 next to it is a 256 byte SRAM with parallel load/unload NV storage from 82 period.

Greg


Attachments:
IMG_4512.JPG
IMG_4512.JPG [ 3.06 MiB | Viewed 1031 times ]
Top
 Profile  
Reply with quote  
PostPosted: Tue Mar 21, 2023 5:21 pm 
Offline
User avatar

Joined: Fri Dec 11, 2009 3:50 pm
Posts: 3354
Location: Ontario, Canada
GARTHWILSON wrote:
Somewhere I have a couple dozen early 1Kx4 SRAMs. I'll look for them if you're interested.
VinCBR900, is it fair to say you'd prefer to avoid 4-bit-wide RAMs like those Garth suggested? In an earlier post you said, "we might need to cheat a little on dates for the SRAM with a Mostek MK4801 or MK4802," and these Mostek chips are byte-wide devices.

Certainly a byte-wide chip is much more manageable if you intend to use a solderless breadboard. And you've said the design is very much a work in progress.

Seemingly the spec's are somewhat fluid, too... all of which is 100% okay; I'm just hoping to clarify what the goals are (or could be allowed to be). You've mentioned low cost, but I wonder if that's perhaps not really the main theme.

Plainly you've taken an interest in c0pperdragon's project, which uses a 40-pin 65xx CPU on a breadboard.
Attachment:
board.jpg
board.jpg [ 2.53 MiB | Viewed 940 times ]
Perhaps your goal is simply to do something similar, but with some extra coolness added! 8) :D

Any comment? Switching to a smaller, 28-pin CPU is pretty cool, so you're off to a good start!

-- Jeff

_________________
In 1988 my 65C02 got six new registers and 44 new full-speed instructions!
https://laughtonelectronics.com/Arcana/ ... mmary.html


Top
 Profile  
Reply with quote  
PostPosted: Tue Mar 21, 2023 6:11 pm 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8438
Location: Southern California
Dr Jefyll wrote:
GARTHWILSON wrote:
Somewhere I have a couple dozen early 1Kx4 SRAMs. I'll look for them if you're interested.
VinCBR900, is it fair to say you'd prefer to avoid 4-bit-wide RAMs like those Garth suggested? In an earlier post you said, "we might need to cheat a little on dates for the SRAM with a Mostek MK4801 or MK4802," and these Mostek chips are byte-wide devices.

Certainly a byte-wide chip is much more manageable if you intend to use a solderless breadboard. And you've said the design is very much a work in progress.

I found them.  These are .300"-wide 18-pin devices, TMS40L47-45NL, so an 8-bit pair, end to end, would take up the length of a 36-pin DIP but be skinnier.  All the date codes are 1980 and '81, so I don't know if that's too new for the vintage goal.

_________________
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: Tue Mar 21, 2023 7:09 pm 
Offline
User avatar

Joined: Wed Feb 13, 2013 1:38 pm
Posts: 586
Location: Michigan, USA
I hope to find time for a second attempt but I'm concerned it still may not be "period correct" or "low cost"...


Attachments:
spock's serial computer.jpg
spock's serial computer.jpg [ 855.2 KiB | Viewed 903 times ]


Last edited by Michael on Wed Mar 22, 2023 9:52 am, edited 1 time in total.
Top
 Profile  
Reply with quote  
PostPosted: Tue Mar 21, 2023 7:39 pm 
Offline
User avatar

Joined: Fri Sep 08, 2017 9:41 pm
Posts: 39
Location: UK Expat living in Washington State, US
I hope I am not annoying everyone being new here :)

Grant Searle did the a nice 7 chip solution with an ACIA and modern memory, so repeating that is not new.

What got me thinking is that several early CPUs used by hobbyists and students used bitbang serial ports e.g. 1802, 2650, 8085, INS8060, to save cost. What can we do that we might have been able to do in 1976 when Tiny Basic really took off, setting aside the need for a TV Typewriter II with Serial interface and GI AY-5-2376 ASCII keyboard with 74LS165 shift registers.
This would have been lowest cost then, so some nice gold lidded 2114s would be period correct and appropriate, even though they are more expensive than larger SRAM now.

So yes, can we do something as cool as C0pperdragon's design but using period correct parts, without high integration LSI devices, and run tiny basic. Its is never going to be used for serious work - I would use an nRF52 for that.


Top
 Profile  
Reply with quote  
PostPosted: Tue Mar 21, 2023 11:57 pm 
Offline

Joined: Thu Mar 10, 2016 4:33 am
Posts: 169
GARTHWILSON wrote:
All the date codes are 1980 and '81, so I don't know if that's too new for the vintage goal.[/color]


I'm not suggesting this as an additional competition rule, but it would be interesting for someone to build such a system with all IC's having date codes from 1976.


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

All times are UTC


Who is online

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