Author Topic: Classic 8-bit CPU (HD63C09P) memory banking glue logic  (Read 809 times)

0 Members and 1 Guest are viewing this topic.

Offline PugbuttTopic starter

  • Contributor
  • Posts: 14
  • Country: us
Classic 8-bit CPU (HD63C09P) memory banking glue logic
« on: February 22, 2022, 04:37:48 pm »
Hi Fellow Nerds,

I'm designing a CPU card using an HD63C09P which has a 16-bit address bus, but I want to use a massive 512KB SRAM (KM684000BLP-7) and also a 512KB ROM (TMS27C040-15JL). 

I think I want to segment 6309's 64KB address space into 8 pages of 8KB each, and have a way to remap any of these pages to anywhere within ROM or RAM. I also want a small area be IO-space and be either relocatable or at least capable of being turned on or off in the memory map, and if this space could contain some memory mapped-registers for bank selection, I think that would be great.  The 6309's interrupt vector table is at 0xFFF0...0xFFFF,  so the last page should be mapped to ROM initially, but it would be nice to be able to later remap this page to RAM so the vectors could be reconfigured.

I have a bunch of little ATF16V8 PALs in DIP-20 packs, but I don't yet know much about them. Would one or more of these be up to the task?  It seems like I need to  implement some extra address lines and chip selects, (A16, A17, A18... /CSROM, /CSRAM...)   How would I interact with the PAL's to select banks? Could they look like memory-mapped registers, or would they be invisible and respond to some type of magic reads or writes or some such?  I'm hoping for something performant so banks can be switched using as few instruction cycles as possible,

Would it make more sense to use a bigger CPLD for this? (I have an ATF2500C in a DIP-40),  or a peripheral controller like a VIA, CIA, PIA, or even an FPGA?   I guess having a 512KB SRAM on board already blew any prospects of the thing being period-correct anyway.

Attached is the schematic so far, minus glue logic, power-on-reset generator, bus pinout, etc.

Geek on,
Craig

« Last Edit: February 22, 2022, 05:07:04 pm by Pugbutt »
 

Offline Benta

  • Super Contributor
  • ***
  • Posts: 5878
  • Country: de
Re: Classic 8-bit CPU (HD63C09P) memory banking glue logic
« Reply #1 on: February 22, 2022, 05:57:36 pm »
16V8s or similar are fast enough. The 6809 is not a 2 GHz processor.
As inspiration for your other issues, perhaps studying the MC6829 can be helpful:
http://www.bitsavers.org/components/motorola/_dataSheets/6829.pdf
 
The following users thanked this post: Pugbutt

Offline PugbuttTopic starter

  • Contributor
  • Posts: 14
  • Country: us
Re: Classic 8-bit CPU (HD63C09P) memory banking glue logic
« Reply #2 on: February 23, 2022, 03:04:20 am »
I love this and had no idea it existed. Thanks so much.
 

Offline srb1954

  • Super Contributor
  • ***
  • Posts: 1091
  • Country: nz
  • Retired Electronics Design Engineer
Re: Classic 8-bit CPU (HD63C09P) memory banking glue logic
« Reply #3 on: February 24, 2022, 08:13:36 am »
I love this and had no idea it existed. Thanks so much.
The 6829 wasn't very commonly used. Instead a lot of designers of 6809 computers systems in the 70's and 80's rolled their own memory management systems out of standard logic chips.

Look for documentation for 6809 designs from the likes of SWTPc (Southwest Technical Products Corp), Smoke Signal Broadcasting, Gimix etc.
 

Offline Benta

  • Super Contributor
  • ***
  • Posts: 5878
  • Country: de
Re: Classic 8-bit CPU (HD63C09P) memory banking glue logic
« Reply #4 on: February 24, 2022, 02:01:14 pm »
The 6829 wasn't very commonly used. Instead a lot of designers of 6809 computers systems in the 70's and 80's rolled their own memory management systems out of standard logic chips.

Look for documentation for 6809 designs from the likes of SWTPc (Southwest Technical Products Corp), Smoke Signal Broadcasting, Gimix etc.

I´m not certain that the 6829 ever went into real production. I think it never got past the prototype stage for select cusomers.
I just linked to the data sheet for inspiration.
 

Offline nfmax

  • Super Contributor
  • ***
  • Posts: 1562
  • Country: gb
Re: Classic 8-bit CPU (HD63C09P) memory banking glue logic
« Reply #5 on: February 24, 2022, 02:11:40 pm »
The 6829 wasn't very commonly used. Instead a lot of designers of 6809 computers systems in the 70's and 80's rolled their own memory management systems out of standard logic chips.

Look for documentation for 6809 designs from the likes of SWTPc (Southwest Technical Products Corp), Smoke Signal Broadcasting, Gimix etc.

I´m not certain that the 6829 ever went into real production. I think it never got past the prototype stage for select cusomers.
I just linked to the data sheet for inspiration.

I have had for some years a small stock of what are supposed to be these prototypes. I haven't attempted to verify this, yet!
 

Offline Benta

  • Super Contributor
  • ***
  • Posts: 5878
  • Country: de
Re: Classic 8-bit CPU (HD63C09P) memory banking glue logic
« Reply #6 on: February 24, 2022, 11:07:59 pm »
I have had for some years a small stock of what are supposed to be these prototypes. I haven't attempted to verify this, yet!

I'm not sure that they are useful without the errata sheets. But it's a rarity.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf