If you just want instant loading and don't mind running in RAM then it
might be a lot easier to add a callable loader routine at the end of
your .CO image that transfers it from the Option ROM to its proper
place in RAM; I think that's documented somewhere, possibly in a
Portable 100 article.

m

On 7/4/15, John R. Hogerhuis <[email protected]> wrote:
> The BASIC rom runs from the same address space as the optrom. So any calls
> to the main ROM have to be specially constructed "far" calls.
>
> You would need to convert those calls. Also you would need to relocate the
> code to run from different addresses. Probably some other stuff to deal
> with.
>
> But first step would be disassembling it.
>
> -- John.
>
> On Saturday, July 4, 2015, ultimate quantifier <[email protected]> wrote:
>
>>
>> are there complex changes that need to be made to a working .CO program
>> in
>> order for it to be "transplanted" to an option ROM? what i'm wondering is
>> if i can take the address range that contains a .CO program, copy the
>> program and then just burn it into an EPROM. are there changes that have
>> to
>> be made to the program, like jumps or something?
>>
>

Reply via email to