6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sat Nov 16, 2024 6:27 pm

All times are UTC




Post new topic Reply to topic  [ 55 posts ]  Go to page Previous  1, 2, 3, 4  Next
Author Message
PostPosted: Sun Nov 21, 2021 8:08 pm 
Offline

Joined: Mon Feb 15, 2021 2:11 am
Posts: 100
handyandy wrote:
The ‘816SXB chip selects don’t select for extended memory; you’d have to decode the bank bits.
For example, a 2x4 decoder for bits 22-23 would allow for addressing one of Garth Wilson’s 4Mx8 memory modules
and a 3x8 decoder would allow to address each of the 512Kx8 chips on each module.

The ‘265SXB already decodes the expanded memory (CS5B-CS7B).

The A2heaven module is like a 65802 mostly; there’s no decoding of the bank bits.

Cheers,
Andy


My understanding from reading the 816SXB datasheet is the same as yours. I read it as the A16-A23 lines on J1 are the demultiplexed upper byte of the memory address to allow adding your own memory decoding logic. The XCS0B-XCS2B lines look to me to be for peripheral chip selects.


Top
 Profile  
Reply with quote  
PostPosted: Sun Nov 21, 2021 10:44 pm 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8491
Location: Midwestern USA
GARTHWILSON wrote:
I have an article on the common '816 misunderstandings at http://wilsonminesco.com/816myths/ .

See also the attached.

Attachment:
File comment: 65C816 Myths
65c816_myths.pdf [353.3 KiB]
Downloaded 40 times

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


Top
 Profile  
Reply with quote  
PostPosted: Mon Nov 22, 2021 10:56 am 
Offline

Joined: Sat Apr 11, 2020 7:28 pm
Posts: 344
Well... It seems that the lack of knowledge and experience in several areas including language on my part has made me unable to express my question the best way.


Top
 Profile  
Reply with quote  
PostPosted: Mon Nov 22, 2021 11:45 am 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10981
Location: England
I didn't mean anything by way of personal criticism, there, tokafondo - I was just musing on the nature of conversational dynamics on a forum like this.

One of the perils of a forum is the idea that the forum has a certain opinion or perspective: in reality, the forum is a collection of diverse people, some who post often and some who post rarely or never. Some will be strident, or combative, while others will be conciliatory. Some will have a wide area of interest, others will be narrow. Some will like to stay on topic and others will like to go off on tangents.

There is no group mind, no consensus. A few people, generally, will be the most frequent posters and will tend to appear in a lot of threads, for better or worse. There will be a tendency for them to pull conversations in particular directions, just because they post often, but that shouldn't be read as a consensus.

The 816, as it happens, is quite polarising, because it's a compromise: it was designed to have a degree of compatibility and also to have some improvements. We've had several threads aiming to give an overview of that situation, and Garth and BDD have offered their own summaries too. In the end, opinions differ.

The thing to do, I think, is to ignore the argumentation, and to focus on what you want to do in your own project: we've seen several successful 816 projects, and there's a thread which collects those, and we've seen several '02 projects which have their own approach for addressing more memory, or for getting more work done per clock tick.

It comes down to a matter of taste, and it's surely not worth much effort trying to convince someone that their preference is wrong.

Edit: here a few relevant threads - the forum search allows searching in titles and in head posts, which is a good way to find threads.
and


Top
 Profile  
Reply with quote  
PostPosted: Mon Nov 22, 2021 6:14 pm 
Offline

Joined: Sat Apr 11, 2020 7:28 pm
Posts: 344
Thanks.

I understand the diversity of people gathering here.


This thread was about having a way to have an adapter that would result in having a 48 PDIP thing that would be plugged in a breadboard, so a 40 PDIP '816 would be plugged in the adapter, and then the adapter would be plugged in a breadboard, so the full 24 address bus pins would be available to tinker with, just like the '265 has.

Is it useful? Is it silly? Is it a bad idea? That's everyone decision.


Top
 Profile  
Reply with quote  
PostPosted: Mon Nov 22, 2021 6:31 pm 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10981
Location: England
I think it's a moderately attractive idea - but someone has to go ahead and build it, and that's not me.

(I think I'd suggest considering using a surface mount '816 rather than a socketed one. Especially now it's become affordable to use the PCB house to act as an assembly house too.)


Top
 Profile  
Reply with quote  
PostPosted: Mon Nov 22, 2021 6:54 pm 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8541
Location: Southern California
If you really must plug it into a breadboard, you might consider making it this way (with .300" row spacing) instead of a DIP:
Image
which will leave you more holes to plug other wires into than a .600"-wide DIP would.

_________________
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 Nov 22, 2021 7:05 pm 
Online
User avatar

Joined: Sun Jun 30, 2013 10:26 pm
Posts: 1949
Location: Sacramento, CA, USA
I'm definitely more of an 8-bit software guy, but I have done some breadboard work in the distant past, and I might be interested in taking up that hobby again at some point.

I don't have the hardware chops to make my own 48-pin DIP board, so I could be a prospective buyer of one of those assemblies, at least theoretically. I understand the benefits of the '816, but it would take a diligent effort on my part to get into the 16-bit groove ... my least-favorite features of the '816 are the M and X mode bits, although I certainly understand the valid reasoning for their existence. Their existence invites their use, and I find their use unpalatable. And please don't waste any effort trying to convince me otherwise ... I'm a stubborn old nerd, and the only person who has any chance of that is yours truly.

_________________
Got a kilobyte lying fallow in your 65xx's memory map? Sprinkle some VTL02C on it and see how it grows on you!

Mike B. (about me) (learning how to github)


Top
 Profile  
Reply with quote  
PostPosted: Mon Nov 22, 2021 7:21 pm 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8541
Location: Southern California
barrym95838 wrote:
my least-favorite features of the '816 are the M and X mode bits

Again, for many applications, you can set then your preferred way and seldom touch them again. I found it to be pretty much a non-issue on my '816 Forth.

_________________
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 Nov 22, 2021 8:10 pm 
Offline

Joined: Sat Apr 11, 2020 7:28 pm
Posts: 344
BidEd wrote:
(I think I'd suggest considering using a surface mount '816 rather than a socketed one. Especially now it's become affordable to use the PCB house to act as an assembly house too.)


Thanks. Would the '816 itself be included in the adapter, soldered to the PCB?

GARTHWILSON wrote:
If you really must plug it into a breadboard, you might consider making it this way (with .300" row spacing) instead of a DIP:
Image
which will leave you more holes to plug other wires into than a .600"-wide DIP would.


Thanks. This also leaves more room to have some parts in one side and some others in the other side of the PCB. Maybe support for both PLCC44 and PDIP40 variants, to be plugged in the adapter. Or even a socket for a clock can.


Top
 Profile  
Reply with quote  
PostPosted: Mon Nov 22, 2021 9:04 pm 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8541
Location: Southern California
tokafondo wrote:
BidEd wrote:
(I think I'd suggest considering using a surface mount '816 rather than a socketed one. Especially now it's become affordable to use the PCB house to act as an assembly house too.)


Thanks. Would the '816 itself be included in the adapter, soldered to the PCB?

The PQFP package would fit.

Quote:
GARTHWILSON wrote:
If you really must plug it into a breadboard, you might consider making it this way (with .300" row spacing) instead of a DIP:
<picture>
which will leave you more holes to plug other wires into than a .600"-wide DIP would.

Thanks. This also leaves more room to have some parts in one side and some others in the other side of the PCB. Maybe support for both PLCC44 and PDIP40 variants, to be plugged in the adapter. Or even a socket for a clock can.

It does give more room to do whatever you want. Including the clock however is starting to sound like it is becoming a SBC. Pretty soon you'll be putting memory and I/O on it too. :lol: In that case maybe it should be the motherboard rather than a module.

_________________
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 Nov 22, 2021 10:37 pm 
Offline
User avatar

Joined: Fri Dec 11, 2009 3:50 pm
Posts: 3367
Location: Ontario, Canada
GARTHWILSON wrote:
Pretty soon you'll be putting memory and I/O on it too. :lol:
Right. I/O doesn't strike me as a very good idea. So many options are available -- there's no "one size fits all."

Furthermore, it doesn't save much work because I/O is pretty easy to hook up. Unlike memory, you don't have umpteen address lines to deal with.

But putting memory on the module would be a good, solid idea, IMO.

-- 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 Nov 23, 2021 12:11 am 
Offline

Joined: Sat Apr 11, 2020 7:28 pm
Posts: 344
Thanks for advise and comments.

When using WDC's own offerings as SBCs or MCUs, users must deal with the included memory and I/O. The thing is that everything is mapped where WDC designers decided it was best. There is some flexibility with the FPGA based boards, but not complete freedom.

What does a WDC CPU need to work? clock and memory.

The 6502 can drive a crystal by itself (not recommended, WDC says), but the 816 doesn't, so an oscillator is needed for it. I wouldn't actually put an oscillator to the adapter but would leave space or a socket for it: the user would put his own can at the desired speed, or whatever needed circuit plugged to the PHI2 pin.

And then, as the goal for this adapter would be having the 24 lines of address bus available, so the logic has to be included, but the memory would be left out of it. The user would have the freedom to decide what to put where, not only memory chips but also FPGA, CPLD or whatever.


Top
 Profile  
Reply with quote  
PostPosted: Tue Nov 23, 2021 1:43 am 
Offline

Joined: Fri Dec 21, 2018 1:05 am
Posts: 1115
Location: Albuquerque NM USA
What you are describing looks kinda like this (attached photo).

2"x4" pc board with single row of 40 pins that plug into solderless breadboard. In the 40-pin connector are 16 address lines, 8 data lines, clock, reset, 6 control lines, 6 spares and +5V/gnd. A 64-macrocell CPLD provides flexibility for experimentation. It was originally designed for 6502, but only small modifications are needed for 65816. 65816's high order addresses can connect to the 6 spares.
Bill


Attachments:
DSC_66821122.jpg
DSC_66821122.jpg [ 1.19 MiB | Viewed 698 times ]
Top
 Profile  
Reply with quote  
PostPosted: Tue Nov 23, 2021 8:48 am 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10981
Location: England
It's an interesting thought - for some reason I'd been fixating on being moderately plug-compatible but there's no reason for that. This is not a drop-in upgrade for an existing system, but a basic module for experimenting with new systems. As such, it should have flexibility, to keep the experimentation on the breadboard, not on the module, which needs to be a frozen and reusable design.

40 pins is enough, if you choose wisely. There are several pins which are rarely used, both for the 02 and the 816.

In fact I rather like Jeff's suggestion of on-board RAM. With the 816, it's most usual to put I/O into Bank 00, and as such, bank 00 ends up being quite special and there's a lot of room for different ideas. But the higher banks are not special: generally they are just RAM, and possibly some banks of ROM. To put a 512k RAM into a selection of higher banks would not fix too much in the system - and maybe it could be disabled or unpopulated if not wanted.

For similar reasons, I would not put the clock can on this board - doing so will fix too many decisions too early.


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

All times are UTC


Who is online

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