Forum Index
HomeZBasic Home   Forum RulesForum Rules   Forum FAQForum FAQ   MemberlistMemberlist   UsergroupsUsergroups   RSS FeedRSS Feed
Site SearchSite Search   LinksLinks   DownloadDownload   Digests and SubscriptionsDigests and Subscriptions
ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in   RegisterRegister
RamSandwich

 
Post new topic   Reply to topic    Forum Index -> General
Author Message
jay



Joined: 08 Jul 2006
Posts: 22
Location: Vermont, USA

Posted: 09 December 2008, 23:38 PM    Post subject: RamSandwich Reply with quote

I used the BX-01 for a while and have a RamSandwich
(64K for variables and 64K of extended RAM) laying around..
Has anyone tried to get the 24 or 40 to support this??
..jay
Back to top
dkinzer
Site Admin


Joined: 03 Sep 2005
Posts: 2499
Location: Portland, OR

Posted: 10 December 2008, 0:12 AM    Post subject: Re: RamSandwich Reply with quote

jay wrote:
Has anyone tried to get the 24 or 40 to support this??
It shouldn't be too difficult to design an interface for it. You might be able to get by using one port (e.g. PortC) for both address bytes and the data path plus several more pins for control. This would, of course, require an additional 8-bit latch for the upper 8 address bits.

Although the RAM Sandwich would provide additional read/write memory, it could not be used for normal ZBasic variables on a ZX-24 or ZX-40. In contrast, the ZX-1281 and ZX-1280 both support external RAM and the RAM Sandwich board would probably work via direct connection. I haven't looked at the external memory interface of the AT90S8515 (used for the BX-01) to see if there are any differences between it and the external memory interface of the mega1281/mega1280.
Back to top
jay



Joined: 08 Jul 2006
Posts: 22
Location: Vermont, USA

Posted: 10 December 2008, 0:54 AM    Post subject: RamSandwich Reply with quote

Thanks Don,
I have both the 24 and 40.. I was thinking about using it for aux storage for data logging. If it's not too bad, I may give it a shot. Else, I'll look at the 1281/1280..
..jay
Back to top
dkinzer
Site Admin


Joined: 03 Sep 2005
Posts: 2499
Location: Portland, OR

Posted: 10 December 2008, 1:24 AM    Post subject: Re: RamSandwich Reply with quote

jay wrote:
I have both the 24 and 40.
It would be simpler to implement on the ZX-40, assuming the I/O pins are available. You could use one port (say, PortA) for AD7-AD0 and another one (say, PortC) for A15-A8. Then, you'd need a pin each for ALE, RD*, and WR*.

As I mentioned above, if you used an external latch for A15-A8 you could use just one port (say, PortC) for outputting both address bytes and for the data input/output. You'd need an additional pin for strobing the high address latch in addition to the pins for ALE, RD* and WR*.

If necessary, you could split up the 8 address/data lines among multiple ports but that would significantly slow down the external RAM access.
Back to top
dkinzer
Site Admin


Joined: 03 Sep 2005
Posts: 2499
Location: Portland, OR

Posted: 10 December 2008, 1:39 AM    Post subject: Reply with quote

Another advantage to using an external latch for A15-A8 is that you could use BusRead() and BusWrite() to read and write data. You'd have to output the high 8 bits to the latch prior to using the bus routines but within a 256 byte "page" you'd only have to do that once.
Back to top
jay



Joined: 08 Jul 2006
Posts: 22
Location: Vermont, USA

Posted: 10 December 2008, 14:27 PM    Post subject: RamSandwich Reply with quote

Thanks for your thoughts.. but I'd have to make a board.. I use laser printer, single sided boards.. which starts to make it a bigger project than it started -- isn't that always the way. But I did look at the ZX-1281 Dev Board. I think I'll go that route..
..jay
Back to top
mikep



Joined: 24 Sep 2005
Posts: 765
Location: Austin, TX

Posted: 10 December 2008, 14:49 PM    Post subject: Re: RamSandwich Reply with quote

jay wrote:
But I did look at the ZX-1281 Dev Board.

If you are looking at the ZX-1281 Dev Board, then one other possible solution for you are the Oak Micros ZX-128e and ZX-1281e devices which contain similar functionality in a 40-pin socket or breadboard ready package and include up to 64K RAM. You can also use the om128-ext I/O extension board to get access to either the additional I/O pins on the mega128/1281 AVRs or more than 64K RAM.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Forum Index -> General Time synchro. with the server - Timezone/DST with your computer
Page 1 of 1

 


All content Copyright © 2005-2012 Elba Corp. All Rights Reserved.
Opinions expressed in posts are those of the author and not necessarily those of Elba Corp.
Powered by phpBB © 2001, 2005 phpBB Group