Post Reply 
FRAM71B
10-07-2016, 07:10 AM
Post: #25
RE: FRAM71B
(10-07-2016 04:45 AM)Sylvain Cote Wrote:  Hello Erwin,

While you are waiting for the configuration setup, I am giving you some home work to do Wink

This home work will do bank switching between the Finance 16KB ROM and the CurveFit 32KB ROM.

...

Sylvain

edit: typo

Hi Sylvain,

here is my trial :-) it is running - thank you very much for putting me deeper in this field. Essential is the POKE "2C000","00" when switching the banks, otherwise the calculator hangs. So this is very necessary. (I tested it too).

An open question is, how do I POKE the possible max RAM afterwards, cause of the different ROM sizes with every bank-switch I have to change it? Or should I take the minimum RAM when the maximal ROM (per size) are loaded? How to identify the maximum possible free RAM after bank-switching and does it destroy the mainRAM?

regards
Erwin

Code:
CLAIM :PORT(5.03) [ENDLINE] // delete my previous configuration
CLAIM :PORT(5.04) [ENDLINE] // delete my previous configuration
POKE "2C000","00000000000000000000000000000000" [ENDLINE] -> remove FRAM71 memory from the memory map
[OFF] [ON]                                              -> Activate the configuration
MEM [ENDLINE]                                             -> MEM (16.5KB)
SHOW PORT [ENDLINE]
0.05  16384  2
0      4096  0
0.01   4096  0
0.02   4096  0
0.03   4096  0

Connect to pyILPER via PIL-BOX
Code:
POKE "2C000","A3" [ENDLINE] // setup bank #1 -> Chip #0 with FRAM-Block #3 as 16KB RAM
[OFF] [ON]                                              -> Activate the configuration
MEM [ENDLINE]                                             -> MEM (32,5KB)

Prepare PORT 5 for ROM installation
Code:
FREE :PORT(5) [ENDLINE] // create the space to received the 16KB Finance ROM
MEM [ENDLINE]                                             -> MEM (16.5KB)

SHOW PORT [ENDLINE]
0.05  16384  2
5     16384  1
0      4096  0
0.01   4096  0
0.02   4096  0
0.03   4096  0

load the FRAMTK LIF image into pyILPER
Code:
COPY ROMCOPY:TAPE [ENDLINE] // load ROMCOPY LEX file into main memory

Prepare for FINANCE module - load the FINANCE LIF image into pyILPER or ILPER
Code:
ROMCOPY FINANCE:TAPE TO :PORT(5) [ENDLINE] // load FINANCE 16KB ROM image into port 5
CAT :PORT(5) [ENDLINE] // Check port 5 Finance ROM content

POKE "2C000","00" [ENDLINE] // remove Chip #0 configuration, this step prevent a computer freeze or a memory lost
[OFF] [ON]                                              -> Activate the configuration
POKE "2C000","94" [ENDLINE] // setup bank #2 -> Chip #0 with FRAM-Block #4 as 32KB RAM
[OFF] [ON]                                              -> Activate the configuration
CLAIM :PORT(5) [ENDLINE] // just in case the port was freed by a previous configuration
MEM [ENDLINE] // you should have ~48.5KB of RAM

Prepare for CURVEFIT module
Code:
FREE :PORT(5) [ENDLINE] // create the space to received the 32KB CurveFit ROM
MEM [ENDLINE] // you should have ~16.5KB of RAM

SHOW PORT [ENDLINE] // you should see -> Port: 5 / Size: 32768 / Type:1 IRAM
0.05  16384  2
5     32768  1
0      4096  0
0.01   4096  0
0.02   4096  0
0.03   4096  0

load the CURVEFIT LIF image into pyILPER or ILPER
Code:
ROMCOPY CURVEFIT:TAPE TO :PORT(5) [ENDLINE] // load CURVEFIT 32KB ROM image into port 5
CAT :PORT(5) [ENDLINE] // Check port 5 CurveFit ROM content

Activating the 16KB Finance ROM in Bank 1 as IRAM (Chip #0 with FRAM-Block #3)
Code:
POKE "2C000","00" [ENDLINE] // remove Chip #0 configuration, this step prevent a computer freeze or a memory lost
[OFF] [ON]                                              -> Activate the configuration
POKE "2C000","A3" [ENDLINE] // activating bank #1 as IRAM
[OFF] [ON]                                              -> Activate the configuration
CAT :PORT(5) [ENDLINE] // show port 5 Finance ROM content
Activating the 16KB Finance ROM in Bank 1 as ROM (Chip #0 with FRAM-Block #3)
Code:
POKE "2C000","00" [ENDLINE] // remove Chip #0 configuration, this step prevent a computer freeze or a memory lost
[OFF] [ON]                                              -> Activate the configuration
POKE "2C000","E3" [ENDLINE] // activating bank #1 as ROM
[OFF] [ON]                                              -> Activate the configuration
CAT :PORT(5) [ENDLINE] // show port 5 Finance ROM content

SHOW PORT [ENDLINE]
0.05  16384  2
5     16384  1
0      4096  0
0.01   4096  0
0.02   4096  0
0.03   4096  0

Activating the 32KB CurveFit ROM in Bank 2 as IRAM (Chip #0 with FRAM-Block #4)
Code:
POKE "2C000","00" [ENDLINE] // remove Chip #0 configuration, this step prevent a computer freeze or a memory lost
[OFF] [ON]                                              -> Activate the configuration
POKE "2C000","94" [ENDLINE] // activating bank #1 as IRAM
[OFF] [ON]                                              -> Activate the configuration
CAT :PORT(5) [ENDLINE] // show port 5 Finance ROM content
Activating the 32KB CurveFit ROM in Bank 2 as ROM (Chip #0 with FRAM-Block #4)
Code:
POKE "2C000","00" [ENDLINE] // remove Chip #0 configuration, this step prevent a computer freeze or a memory lost
[OFF] [ON]                                              -> Activate the configuration
POKE "2C000","D4" [ENDLINE] // activating bank #1 as ROM
[OFF] [ON]                                              -> Activate the configuration
CAT :PORT(5) [ENDLINE] // show port 5 Finance ROM content

SHOW PORT [ENDLINE]
0.05  16384  2
5     32768  1
0      4096  0
0.01   4096  0
0.02   4096  0
0.03   4096  0
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
FRAM71B - Hans Brueggemann - 05-22-2016, 08:26 AM
RE: FRAM71B - Sylvain Cote - 05-22-2016, 02:46 PM
RE: FRAM71B - Dave Frederickson - 05-25-2016, 07:16 PM
RE: FRAM71B - Dave Frederickson - 05-22-2016, 04:13 PM
RE: FRAM71B - Hans Brueggemann - 05-22-2016, 04:54 PM
RE: FRAM71B - Dave Frederickson - 05-22-2016, 05:14 PM
RE: FRAM71B - Hans Brueggemann - 05-22-2016, 07:09 PM
RE: FRAM71B - Dave Frederickson - 05-27-2016, 04:59 PM
FRAM71B HC ROM Feature - Dave Frederickson - 10-02-2016, 03:09 PM
RE: FRAM71B - Erwin - 10-05-2016, 10:45 AM
RE: FRAM71B - Dave Frederickson - 10-05-2016, 03:42 PM
RE: FRAM71B - Erwin - 10-05-2016, 07:36 PM
RE: FRAM71B - Dave Frederickson - 10-05-2016, 08:10 PM
RE: FRAM71B - Erwin - 10-05-2016, 08:25 PM
RE: FRAM71B - Sylvain Cote - 10-06-2016, 04:53 AM
RE: FRAM71B - Erwin - 10-06-2016, 06:24 AM
RE: FRAM71B - Dave Frederickson - 10-06-2016, 03:55 PM
RE: FRAM71B - Erwin - 10-06-2016, 05:41 PM
RE: FRAM71B - Dave Frederickson - 10-06-2016, 06:19 PM
RE: FRAM71B - Erwin - 10-06-2016, 07:43 PM
RE: FRAM71B - Dave Frederickson - 10-06-2016, 08:14 PM
RE: FRAM71B - Sylvain Cote - 10-06-2016, 07:03 PM
RE: FRAM71B - Erwin - 10-06-2016, 07:50 PM
RE: FRAM71B - Dave Frederickson - 10-07-2016, 11:21 PM
RE: FRAM71B - Sylvain Cote - 10-08-2016, 01:20 AM
RE: FRAM71B - Erwin - 10-08-2016, 06:59 AM
RE: FRAM71B - Sylvain Cote - 10-07-2016, 04:45 AM
RE: FRAM71B - Erwin - 10-07-2016 07:10 AM
RE: FRAM71B - Sylvain Cote - 10-07-2016, 03:10 PM
RE: FRAM71B - rprosperi - 10-07-2016, 01:22 PM
RE: FRAM71B - Erwin - 10-07-2016, 03:04 PM
RE: FRAM71B - Dave Frederickson - 10-07-2016, 05:54 PM
RE: FRAM71B - Dave Frederickson - 10-08-2016, 03:35 PM
RE: FRAM71B - Sylvain Cote - 10-08-2016, 06:21 PM
RE: FRAM71B - Erwin - 10-08-2016, 08:21 PM
RE: FRAM71B - Erwin - 10-23-2016, 09:07 AM
RE: FRAM71B - rprosperi - 10-23-2016, 01:25 PM
RE: FRAM71B - Erwin - 11-01-2016, 09:26 AM
RE: FRAM71B - J-F Garnier - 11-01-2016, 10:13 AM
RE: FRAM71B - Erwin - 11-01-2016, 10:48 AM
RE: FRAM71B - rprosperi - 11-01-2016, 01:42 PM
RE: FRAM71B - Erwin - 11-01-2016, 02:14 PM
RE: FRAM71B - Dave Frederickson - 11-01-2016, 03:39 PM
RE: FRAM71B - Erwin - 01-22-2017, 10:18 AM
RE: FRAM71B - Erwin - 12-30-2016, 12:26 PM
RE: FRAM71B - rprosperi - 12-30-2016, 02:49 PM
RE: FRAM71B - Dave Frederickson - 12-30-2016, 06:57 PM
RE: FRAM71B - Erwin - 01-05-2017, 07:57 PM
RE: FRAM71B - Erwin - 01-22-2017, 02:02 PM
RE: FRAM71B - Dave Frederickson - 01-22-2017, 05:30 PM
RE: FRAM71B - Erwin - 01-22-2017, 06:55 PM
RE: FRAM71B - Hans Brueggemann - 01-23-2017, 08:29 PM
RE: FRAM71B - Dave Frederickson - 01-23-2017, 09:11 PM
RE: FRAM71B - Erwin - 01-24-2017, 06:15 PM
RE: FRAM71B - Hans Brueggemann - 01-24-2017, 07:51 PM
RE: FRAM71B - physill - 11-22-2016, 10:53 PM
RE: FRAM71B - Dave Frederickson - 11-23-2016, 12:34 AM
RE: FRAM71B - physill - 11-24-2016, 05:55 PM
RE: FRAM71B - Dave Frederickson - 11-24-2016, 06:17 PM
RE: FRAM71B - Sylvain Cote - 12-30-2016, 07:55 PM
RE: FRAM71B - dayd - 01-17-2017, 09:07 AM
RE: FRAM71B - rprosperi - 01-17-2017, 03:01 PM
RE: FRAM71B - Hans Brueggemann - 01-17-2017, 09:11 PM
RE: FRAM71B - dayd - 01-22-2017, 04:22 AM
RE: FRAM71B - J-F Garnier - 01-17-2017, 05:07 PM
RE: FRAM71B - Erwin - 01-22-2017, 09:34 AM
RE: FRAM71B - Dave Frederickson - 01-22-2017, 07:06 PM
RE: FRAM71B - Erwin - 01-22-2017, 07:21 PM
RE: FRAM71B - Hans Brueggemann - 01-24-2017, 09:03 AM
RE: FRAM71B - Dave Frederickson - 01-24-2017, 04:34 PM
RE: FRAM71B - Hans Brueggemann - 01-24-2017, 07:33 PM
RE: FRAM71B - Dave Frederickson - 01-24-2017, 08:18 PM
RE: FRAM71B - Erwin - 01-25-2017, 06:54 PM
RE: FRAM71B - Hans Brueggemann - 01-25-2017, 07:47 PM
RE: FRAM71B - dayd - 02-01-2017, 10:20 PM



User(s) browsing this thread: 4 Guest(s)