Wilton Helm
2011-09-29 21:46:25 UTC
The only processor I know of that uses 186 24 bit addressing is the Dstni
series, so I'm guessing that is what you are using. Yes, there is support
for it. I implemented it a few years ago. It was broken in 1.8, but I have
been told it has been fixed, although I haven't had a chance to test it (I
use an older version of the linker and have been overloaded with production
code).
OP HSHIFT=8 sets it up. Note that you can also set the __HShift assembly
variable to 8 which will make the huge memory model RTL code generate proper
addressing.
The linker also has locate additions to allow a forced starting address for
each segment or group of segments and forced segment ordering, and COPY and
NOEMIT options to allow initialized data to be located in ROM but addressed
in RAM (you have to provide startup code to do the copying).
If you have other questions or would like some samples, I can provide them.
I develop quite a bit of code for these processors using the IDE and other
tools. I have RS-232 based remote debugging for Windows hosted debugging,
although some recent changes in the debugger have broken parts of it and I
haven't had time to figure out why.
Wilton
series, so I'm guessing that is what you are using. Yes, there is support
for it. I implemented it a few years ago. It was broken in 1.8, but I have
been told it has been fixed, although I haven't had a chance to test it (I
use an older version of the linker and have been overloaded with production
code).
OP HSHIFT=8 sets it up. Note that you can also set the __HShift assembly
variable to 8 which will make the huge memory model RTL code generate proper
addressing.
The linker also has locate additions to allow a forced starting address for
each segment or group of segments and forced segment ordering, and COPY and
NOEMIT options to allow initialized data to be located in ROM but addressed
in RAM (you have to provide startup code to do the copying).
If you have other questions or would like some samples, I can provide them.
I develop quite a bit of code for these processors using the IDE and other
tools. I have RS-232 based remote debugging for Windows hosted debugging,
although some recent changes in the debugger have broken parts of it and I
haven't had time to figure out why.
Wilton