| ??? 05/19/07 19:02 Modified: 05/19/07 19:57 Read: times |
#139533 - with the right chip it can be done Responding to: ???'s previous message |
let us, for the sake of discussion, imagine a chip with a flssh sector/page size of 4k.
so, in the bottom 4k, you write something like main( ... func1() ... func2() ... func3() ... func4() ... then in assembler (to avoid the dreaded C function pointers) and still in the bottom 4k func1: lcall 01000h ret func2: lcall 02000h ret ... then make a separate compile (you may have to include the basics and strip them out) of REAL_func1 locating it at 0x1000 etc then write a bootloader that can load individual pages/sectors. Now, here is a problem. the OP states his code is 120k and the method descrived will, of course, leave gaps in memory. Erik |
| Topic | Author | Date |
| is DLL like modules possible with 8051 code ? | 01/01/70 00:00 | |
| Nothing new... | 01/01/70 00:00 | |
| If you choose the right part | 01/01/70 00:00 | |
| the code size is 128kb with banking ? | 01/01/70 00:00 | |
| is that this 'new math' I keep hearing about? | 01/01/70 00:00 | |
| How embarassing | 01/01/70 00:00 | |
| relative cost | 01/01/70 00:00 | |
| The real problem | 01/01/70 00:00 | |
| OP's position | 01/01/70 00:00 | |
| I'm guessing, too | 01/01/70 00:00 | |
| see my post | 01/01/70 00:00 | |
| security issues | 01/01/70 00:00 | |
| why not landline? that is waaay better | 01/01/70 00:00 | |
| it may be | 01/01/70 00:00 | |
| hooks | 01/01/70 00:00 | |
| with the right chip it can be done | 01/01/70 00:00 | |
| Details | 01/01/70 00:00 | |
| some, including me, agree . others .. | 01/01/70 00:00 | |
| I do it in a slightly different way | 01/01/70 00:00 | |
The "bios" version | 01/01/70 00:00 |



