First - if this has already been answered on here - I'm sorry ... I have tried looking, but not found the answer .
I'm trying to understand how to use the 'Page Window' on the HCS12 to allow me to use more than the 32K of code space I currently can access (the fixed ones @ $4000 & $C000)
I can see how it actually works in the device (i.e. the PPAGE register etc) but what I don't understand is how to tell codewarrior what I would like it to put where.
I currently use 'ORG $4000' then the code - then 'ORG $C000' then more code ... - finally 'ORG $FF80' followed by the interrupt vectors.
This may not be the 'correct' way - but it works - until now ....
The code has grown beyond this simple model, and now I need to place some of it in the 'paged' area.
But using things like 'ORG $308000' doesn't work.
Anyone got any pointers ?
The code is all written in assembler - not C.