Re: [hatari-devel] Bug: cart_asm.s Pexec() implementation overwrites basepage command line end

[ Thread Index | Date Index | More Archives ]

Am Mon, 12 Nov 2012 00:36:32 +0200
schrieb Eero Tamminen <oak@xxxxxxxxxxxxxx>:

> Hi,
> On torstai 08 marraskuu 2012, Thomas Huth wrote:
> > I think the best solution would be to have a look at EmUTOS to see
> > how Pexec loads the program segments there (and that's most likely
> > also what the original TOS is doing). I slightly remember that
> > there was also a difference when a program contains a section with
> > debug symbols... original TOS does not load them, but AFAIK the
> > cartridge code does. That caused some problems that we worked
> > around in the past, but maybe they could also have been avoided by
> > simply doing it the same way as (Emu-)TOS does.
> Btw. Is there some specific reason why it needs to be implemented
> with 68k-asm in cartridge instead of with normal C-code in Hatari?

The code has to run some GEMDOS calls of the original ROM GEMDOS ...
doing that would be quite cumbersome from normal C-code in Hatari.


Mail converted by MHonArc 2.6.19+