Switching code banks

Acexbe
Posts: 6
Joined: Tue Aug 28, 2018 11:57 am

Switching code banks

Unread post by Acexbe »

Hello,

Is it possible to switch code banks under program control?
For example bank one samples measurements, but after 24 hours, is switches to bank 2.
Bank 2 processes the results and returns back to bank one.
admin
Site Admin
Posts: 25
Joined: Thu Sep 27, 2012 12:22 pm

Re: Switching code banks

Unread post by admin »

I don't think so. I have to look at the source code to see if it can be done. If it can be done it will be done using a parameter that is read during the auto run phase.
Janke
Posts: 29
Joined: Mon Feb 20, 2017 11:48 am

Re: Switching code banks

Unread post by Janke »

Not necessary to switch banks, really. You can write the BASIC code in two parts, one for sampling, the other for processing.

If you're short on memory, you can ask the admin about a version with asymmetrical banks. Then you can fit everything in bank 1 and do the switch-over in your own code.

BTW, it is EXTREMELY simple to interface a 512 K-bit 24LC512 EEPROM to the EzSBC1 - it can even be done on the underside of the processor board; all you need is the 8-pin DIL chip and two resistors! Then you will have 64 KB of non-volatile data space available!
Attachments
512kEEPROM.jpg
512kEEPROM.jpg (16.35 KiB) Viewed 10715 times
Post Reply