Hello, and welcome to the forum.
You would need to modify the PRM file for the project, to create a new segment starting at 0xF600.
NAMES END
SEGMENTS
Z_RAM = READ_WRITE 0x0060 TO 0x00FF;
RAM = READ_WRITE 0x0100 TO 0x025F;
ROM = READ_ONLY 0xE000 TO 0xF5FF;
HIROM = READ_ONLY 0xF600 TO 0xFFAD;
ROM1 = READ_ONLY 0xFFC0 TO 0xFFCF;
END
PLACEMENT
_DATA_ZEROPAGE,
MY_ZEROPAGE INTO Z_RAM;
DEFAULT_RAM INTO RAM;
_PRESTART, /* startup code */
STARTUP, /* startup data structures */
ROM_VAR, /* constant variables */
STRINGS, /* string literals */
VIRTUAL_TABLE_SEGMENT, /* C++ virtual table segment */
DEFAULT_ROM,
COPY INTO ROM;
BIOS_ROM INTO HIROM
END
STACKSIZE 0x50
VECTOR 0 _Startup
Then preceeding the functions required for the BIOS, you will need to use an appropriate #pragma so that the linker to places the code within the BIOS_ROM segment, rather than the DEFAULT_ROM segment.
Regards,
Mac