6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sun Nov 24, 2024 7:50 am

All times are UTC




Post new topic Reply to topic  [ 31 posts ]  Go to page Previous  1, 2, 3  Next
Author Message
PostPosted: Sat Oct 01, 2022 2:03 pm 
Offline
User avatar

Joined: Sun Dec 26, 2021 8:27 pm
Posts: 182
Michael wrote:
I wonder if a decoder method using a 'magnitude comparator' IC might be of use? Here's an untested method that comes close to your memory map and I/O requirements. While the method is meant to use a 64K or 128K RAM IC to provide much more than 32K of RAM, you could use a 32K RAM IC for your memory map along with one of those spare inverter gates for the active low chip select.

Stay safe. Have fun. Cheerful regards, Mike, K8LH


Interesting! Simply comparing the address high byte with the intended page is certainly a good one chip solution to do what I wanted :) But yeah, the single quantity 5€ price tag is pretty aggressive for a budget build like mine.

_________________
---
New new new new new video out! Serial Bootloader for my 65uino
Also, check out: I2C on a 6502 Single Board Computer
and Complete hardware overview of my 6502 SBC R1 :)


Top
 Profile  
Reply with quote  
PostPosted: Sat Oct 01, 2022 3:43 pm 
Offline
User avatar

Joined: Tue Mar 05, 2013 4:31 am
Posts: 1385
Well, I would be inclined to look at a PLD (which are also pretty retro), something like a 22V10. If you have a way to program one of these, you can likely replace a good number of chips and have a more flexible solution. Even new ATF22V10 chips are relatively inexpensive, especially if you compare against multiple chip/socket costs.

_________________
Regards, KM
https://github.com/floobydust


Top
 Profile  
Reply with quote  
PostPosted: Sat Oct 01, 2022 5:49 pm 
Offline
User avatar

Joined: Wed Feb 13, 2013 1:38 pm
Posts: 589
Location: Michigan, USA
AndersNielsen wrote:
Michael wrote:
I wonder if a decoder method using a 'magnitude comparator' IC might be of use? Here's an untested method that comes close to your memory map and I/O requirements. While the method is meant to use a 64K or 128K RAM IC to provide much more than 32K of RAM, you could use a 32K RAM IC for your memory map along with one of those spare inverter gates for the active low chip select.

Stay safe. Have fun. Cheerful regards, Mike, K8LH


Interesting! Simply comparing the address high byte with the intended page is certainly a good one chip solution to do what I wanted :) But yeah, the single quantity 5€ price tag is pretty aggressive for a budget build like mine.

I'm also on a limited budget and the 74HC682 price shocked me, too, but I bought a handful of chips from a vendor on AliExpress for about $1.19 each (including shipping) back in September 2021. I also have a cache of skinny 64K RAM chips and wide 128K RAM chips from AliExpress vendors which cost less than $1 each (including shipping)...

The 74HC688 is quite capable and more reasonably priced and might be worth a look.

Cheerful regards...


Attachments:
Beater 07.png
Beater 07.png [ 524.28 KiB | Viewed 750 times ]
74HC688 Decoder Notes 2.png
74HC688 Decoder Notes 2.png [ 346.64 KiB | Viewed 751 times ]
74HC688 Decoder Notes.png
74HC688 Decoder Notes.png [ 333.89 KiB | Viewed 751 times ]
Top
 Profile  
Reply with quote  
PostPosted: Sat Oct 01, 2022 6:27 pm 
Offline
User avatar

Joined: Sun Dec 26, 2021 8:27 pm
Posts: 182
floobydust wrote:
Well, I would be inclined to look at a PLD (which are also pretty retro), something like a 22V10. If you have a way to program one of these, you can likely replace a good number of chips and have a more flexible solution. Even new ATF22V10 chips are relatively inexpensive, especially if you compare against multiple chip/socket costs.


I certainly wouldn't be opposed to doing that for a one off build but since this project is specifically aimed at helping "newbies" - and people with lots of old stuff - make a cheap and easy build, I'm afraid the PLD's complicate things too much.
Still have to play with them though - just haven't gotten around to it yet.

Michael wrote:
I'm also on a limited budget and the 74HC682 price shocked me, too, but I bought a handful of chips from a vendor on AliExpress for about $1.19 each (including shipping) back in September 2021. I also have a cache of skinny 64K RAM chips and wide 128K RAM chips from AliExpress vendors which cost less than $1 each (including shipping)...

The 74HC688 is quite capable and more reasonably priced and might be worth a look.


Certainly getting a few the next time I stock up on recycled parts from aliexpress - looks like a part with plenty of uses :D

_________________
---
New new new new new video out! Serial Bootloader for my 65uino
Also, check out: I2C on a 6502 Single Board Computer
and Complete hardware overview of my 6502 SBC R1 :)


Top
 Profile  
Reply with quote  
PostPosted: Sat Oct 01, 2022 9:20 pm 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8514
Location: Midwestern USA
floobydust wrote:
Well, I would be inclined to look at a PLD (which are also pretty retro), something like a 22V10. If you have a way to program one of these, you can likely replace a good number of chips and have a more flexible solution. Even new ATF22V10 chips are relatively inexpensive, especially if you compare against multiple chip/socket costs.

Also, if you correctly design your logic, use of a PLD tends to produce lower overall propagation times. The ATF22V10 is available in speeds down to 7.5ns pin-to-pin. Using purely combinatorial logic and no pin nodes, a GAL will readily outperform discrete gates.

_________________
x86?  We ain't got no x86.  We don't NEED no stinking x86!


Top
 Profile  
Reply with quote  
PostPosted: Sun Oct 02, 2022 2:29 am 
Offline
User avatar

Joined: Fri Dec 12, 2008 10:40 pm
Posts: 1007
Location: Canada
floobydust wrote:
Well, I would be inclined to look at a PLD (which are also pretty retro), something like a 22V10. If you have a way to program one of these, you can likely replace a good number of chips and have a more flexible solution. Even new ATF22V10 chips are relatively inexpensive, especially if you compare against multiple chip/socket costs.


I'd have to agree with this. Once I started using GALS I never went back. It's not a cheat. You still have to figure out the logic, but you can replace a half dozen chips with one and drastically reduce propagation delay as well as enjoy big advantages in PCB layout and being able to make changes without having to redo the copper.

_________________
Bill


Top
 Profile  
Reply with quote  
PostPosted: Sun Oct 02, 2022 2:35 am 
Offline
User avatar

Joined: Fri Dec 12, 2008 10:40 pm
Posts: 1007
Location: Canada
AndersNielsen wrote:
I'm afraid the PLD's complicate things too much.
Still have to play with them though - just haven't gotten around to it yet.
Once you begin to play with them you will find that the reality is quite the opposite. They simplify things to a great extent. There is a reason modern digital electronics is dominated by FPGAs, CPLDs and ASICs.

_________________
Bill


Top
 Profile  
Reply with quote  
PostPosted: Sun Oct 02, 2022 10:11 am 
Offline
User avatar

Joined: Sun Dec 26, 2021 8:27 pm
Posts: 182
BillO wrote:
AndersNielsen wrote:
I'm afraid the PLD's complicate things too much.
Still have to play with them though - just haven't gotten around to it yet.
Once you begin to play with them you will find that the reality is quite the opposite. They simplify things to a great extent. There is a reason modern digital electronics is dominated by FPGAs, CPLDs and ASICs.


Programmable logic is amazing - however, besides already programming the ROM the barrier of entry would be too high with a PLD in the mix. I also previously had a tiny MCU in the mix to take some load off the video but that also had to be sacrificed to make it easier to assemble, program and solder :)
If I was programming them myself or selling them that wouldn’t be a problem, but since I’m expecting people to source the parts and program it themselves it’s a different matter.

_________________
---
New new new new new video out! Serial Bootloader for my 65uino
Also, check out: I2C on a 6502 Single Board Computer
and Complete hardware overview of my 6502 SBC R1 :)


Top
 Profile  
Reply with quote  
PostPosted: Sun Oct 02, 2022 10:36 am 
Offline
User avatar

Joined: Tue Mar 05, 2013 4:31 am
Posts: 1385
Well, it is your project of course, so you can choose how to proceed going forward.

Also, if you're expecting folks to be able to build anything (old parts or new), having some minimum set of known working tools is a must. Also, there's no guarantee that the old parts folks scavenge up will be 100% working, and diagnosing bad parts when building something for the first time is not something a novice/beginner will have much luck at.

Granted, I applaud your efforts and the enormous amount of time you're putting into this. Neat project, but I still think a simple PLD would simplify the design, and a newbie wouldn't need to care much about the PLD programming, much like they don't need to care about how the CPU itself works internally. A lower parts count is more attractive for a beginner as well, especially for a entry level project.

Just my $0.02 of course.

_________________
Regards, KM
https://github.com/floobydust


Top
 Profile  
Reply with quote  
PostPosted: Sun Oct 02, 2022 11:04 am 
Offline
User avatar

Joined: Sun Dec 26, 2021 8:27 pm
Posts: 182
floobydust wrote:

Just my $0.02 of course.


I appreciate it a lot :)

It's probably not a huge audience.

I expect the people to jump on board will have an interest in soldering the board themselves, I expect them to have a TL866 II - which afaik can probably program some PLD's as well - or similar to program the ROMs (or to get help from someone who can - not completely ruling out selling a kit but I doubt I have the time). I expect them to install CC65 and clone the github repo to assemble the source - ROM's ready in literally three commands on Linux/MacOS.
I expect them to have an interest in learning 6502 assembly and/or BASIC - or just using it as an MCU with a keyboard, VGA, lots of I/O, wireless, etc, for benchtop tasks like playing with an I2C/SPI device, and that kind of thing..

I don't expect them to completely understand the hardware when putting it together. I don't expect them to setup another toolchain for another MCU, a PLD, FPGA etc just to get it running.

Maybe a PLD wouldn't add much, software wise, but I guess I'm going for more of a 1977 vibe, keeping it to 7400 series logic and simple ROMs. ... conceptually anyway. And then cheating a bit with the 90's ROMs and SRAMs.

_________________
---
New new new new new video out! Serial Bootloader for my 65uino
Also, check out: I2C on a 6502 Single Board Computer
and Complete hardware overview of my 6502 SBC R1 :)


Top
 Profile  
Reply with quote  
PostPosted: Sun Oct 02, 2022 12:17 pm 
Offline

Joined: Fri Dec 21, 2018 1:05 am
Posts: 1120
Location: Albuquerque NM USA
You can also build a simple 6502 SBC without any glue logic. The hardware is simple, but explaining the bootstrap process is more complicated. My feeling, however, is that people can grasp complexity in software better than elaborated hardware. viewtopic.php?f=4&t=6455&hilit=Zg6502
Bill


Top
 Profile  
Reply with quote  
PostPosted: Wed Oct 05, 2022 1:24 am 
Offline
User avatar

Joined: Wed Feb 13, 2013 1:38 pm
Posts: 589
Location: Michigan, USA
Another untested 2-chip decoder method inserts a single page of I/O and four strobes into the 32K RAM address space (within pages $02..$7F) using the less expensive 74HC688 'magnitude comparator' IC but it does require a 64K or 128K SRAM chip. You could also use your 74HC30 + Invertor gate in place of the 74HC688 for a fixed page of I/O at $7F00..$7FFF.

Cheerful regards, Mike


Attachments:
Beater 08ex1.png
Beater 08ex1.png [ 536.84 KiB | Viewed 582 times ]
Top
 Profile  
Reply with quote  
PostPosted: Sun Oct 09, 2022 5:06 am 
Offline
User avatar

Joined: Wed Feb 13, 2013 1:38 pm
Posts: 589
Location: Michigan, USA
One last idea, if I may? If you're simply trying to reduce the chip count and you don't mind dedicating an 8K block for I/O, how about a single 74xx139 decoder/glue IC and borrow Daryl Rictor's trick from the "6502 Badge" and use the ROM write strobe to write to the '273? Drawing below (yes, it still requires a 64K or 128K SRAM IC)...

Regards...


Attachments:
Beater 08ex2a.png
Beater 08ex2a.png [ 395.06 KiB | Viewed 454 times ]


Last edited by Michael on Sun Nov 27, 2022 6:42 am, edited 3 times in total.
Top
 Profile  
Reply with quote  
PostPosted: Sun Oct 09, 2022 11:36 am 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10986
Location: England
(It's quite possible that one person would offer to program up a CPLD for another person. That sort of cooperation really helps to lower barriers. Same with EPROM of course.)


Top
 Profile  
Reply with quote  
PostPosted: Sun Oct 09, 2022 2:14 pm 
Offline

Joined: Fri Dec 21, 2018 1:05 am
Posts: 1120
Location: Albuquerque NM USA
If the CPLD is EPM7064SLC44 or EPM7032SLC44 (I even have few EPM7128SLC84 spare), I'm happy to supply the part and program it to user's specification. However, shipping (even within USA) will be the big part of the overall cost.
Bill


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

All times are UTC


Who is online

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