Page 1 of 1
Switching code banks
Posted: Tue Sep 04, 2018 10:45 am
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.
Re: Switching code banks
Posted: Tue Sep 04, 2018 11:35 am
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.
Re: Switching code banks
Posted: Sun Sep 16, 2018 12:16 pm
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!