Re: [hatari-devel] Bug: cart_asm.s Pexec() implementation overwrites basepage command line end |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
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?
- Eero