[A83] Re: Custom program loader


[Prev][Next][Index][Thread]

[A83] Re: Custom program loader




> > Come on!  You're supposed to do what everyone did after 
> ZShell was released:
> > dissassemble it to see how it works :)
> Oh well, I'm confused even by a commented source. :)
> > 
> > Really, you should be fine moving stuff around, as long 
> as you make sure and
> > move everything back, and don't call any ROM routines 
> that depend on data
> > that you moved.
> Okay, but how can you overcome the problem of replacing
> the loader with the program while it is still running
> and vice versa?

Do what you do in an interrupt program:
MAke a little piece of loader/copier code, and let it execut from
within another (safe) piece of mem.
The saferam1 area seems very fit to me for this purpose (768 bytes...)

--Peter-Martijn
 





Follow-Ups: References: