6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Fri May 10, 2024 4:32 pm

All times are UTC




Post new topic Reply to topic  [ 8 posts ] 
Author Message
PostPosted: Fri Apr 28, 2023 1:11 pm 
Offline

Joined: Wed Jan 08, 2014 3:31 pm
Posts: 575
There have been two interesting projects in the Cosmac Elf email list that I thought I would describe here. The reason is that someone more hardware orientated than me might find it interesting.

The first is a diode ROM which was pretty straight forward. It used a decoder IC plus some 1N4148's with headers to allow for changing contents of the ROM. I thought it was pretty slick, because he essentially built a low density programmable ROM that you can physically manipulate.

The second was a 16 bytes serial bootloader. Here the 1802 has an advantage over the 6502 because it has some I/O built-in. The bootloader downloaded a program from one of the external flag pins, and placed it into RAM. Then transferred control to the downloaded program.

The reason I found this interesting is that it created a batch programming environment with very little hardware. Now to actually use this you use another computer to feed in the serial data, but in principle a more primitive system could be built using paper tape or cassette tape.


Top
 Profile  
Reply with quote  
PostPosted: Fri Apr 28, 2023 4:13 pm 
Online
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10800
Location: England
Nice! (It's a good feature of the 1802, to be able to bootstrap. The transputer also had such a scheme... maybe the parallel propeller too?)


Top
 Profile  
Reply with quote  
PostPosted: Sat Apr 29, 2023 11:00 pm 
Offline

Joined: Wed Jan 08, 2014 3:31 pm
Posts: 575
Yes, the Propeller chip boots using SPI from a serial EEPROM. It can also boot off its serial port from a host PC.


Top
 Profile  
Reply with quote  
PostPosted: Sun Apr 30, 2023 1:18 pm 
Offline

Joined: Fri Dec 21, 2018 1:05 am
Posts: 1076
Location: Albuquerque NM USA
Z280 is designed to bootstrap from its built-in serial port. It was the inspiration for many of my SBC that have the serial bootstrap function.
Bill


Top
 Profile  
Reply with quote  
PostPosted: Sun Apr 30, 2023 2:38 pm 
Offline
User avatar

Joined: Wed Feb 14, 2018 2:33 pm
Posts: 1411
Location: Scotland
BigEd wrote:
Nice! (It's a good feature of the 1802, to be able to bootstrap. The transputer also had such a scheme... maybe the parallel propeller too?)


The Transputer one is interesting - mostly because the means it works - there isn't a bootloader in ROM as such, but the microcode recognises commands send down any of the Transputers links just after coming out of reset - it's a crude debugging interface - read/write RAM and "go at an address". This lets you test RAM before loading code into it, then poke in a small bootloader, then run it. It seems crude but it was used to bootstrap 1000s of transputers in an array very quickly.

I do like the minimal PROM approach though - and knowing a 22v10 GAL can hold 40-50 bytes of ROM data might make an interesting challenge - a DIL EEPROM which are essentially "unobtainium" ...

-Gordon

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


Top
 Profile  
Reply with quote  
PostPosted: Sun Apr 30, 2023 6:30 pm 
Offline

Joined: Fri Dec 21, 2018 1:05 am
Posts: 1076
Location: Albuquerque NM USA
drogon wrote:

I do like the minimal PROM approach though - and knowing a 22v10 GAL can hold 40-50 bytes of ROM data might make an interesting challenge - a DIL EEPROM which are essentially "unobtainium" ...

-Gordon

Can 22V10 really holds 40-50 bytes of ROM? I routinely do serial bootstrap and/or CF bootstrap with 32 bytes of ROM, so perhaps 22V10 can do both small (and fast) ROM and some address decode? That’ll be interesting.
Bill


Top
 Profile  
Reply with quote  
PostPosted: Sun Apr 30, 2023 7:19 pm 
Offline
User avatar

Joined: Wed Feb 14, 2018 2:33 pm
Posts: 1411
Location: Scotland
plasmo wrote:
drogon wrote:

I do like the minimal PROM approach though - and knowing a 22v10 GAL can hold 40-50 bytes of ROM data might make an interesting challenge - a DIL EEPROM which are essentially "unobtainium" ...

-Gordon

Can 22V10 really holds 40-50 bytes of ROM? I routinely do serial bootstrap and/or CF bootstrap with 32 bytes of ROM, so perhaps 22V10 can do both small (and fast) ROM and some address decode? That’ll be interesting.
Bill


Well, I've not tried it myself, but this thread does suggest it's very possible:

viewtopic.php?f=10&t=3383&start=30&hilit=gal+prom

-Gordon

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


Top
 Profile  
Reply with quote  
PostPosted: Mon May 01, 2023 3:49 am 
Offline
User avatar

Joined: Mon Apr 23, 2012 12:28 am
Posts: 760
Location: Huntsville, AL
Although I’ve not tried it with the 22V10 PALs, I did try it with the Coolrunner II CPLD family. I was surprised at how much of my soft-core’s microcode could be packed into these devices. The Coolrunner II parts are more like Programmable Logic Arrays (PLA) than the 22V10, but either part can easily function as fast small- to medium-sized ROMs.

_________________
Michael A.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC


Who is online

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