Quote:
Originally Posted by BSzili
I'll probably just use the SDI headers to make things portable.
|
Very good. I can recommend using SDI headers.
Quote:
Code:
UWORD getvbr[] = {0x4e7a, 0x0801, 0x4e73}; // MOVEC.L VBR,D0 RTE
|
I guess this might work, if you don't want to link a separate assembler source to it. Although it would be cleaner to have the getvbr-code in the code section. Most compilers will put constant data into the code section: "const UWORD getvbr[]".