Re: [hatari-devel] Some patch suggestions

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


Am Sun, 22 Apr 2018 12:10:06 +0200
schrieb Thorsten Otto <admin@xxxxxxxxxxx>:

> while looking at the recently added test support, i have some
> suggestions which should be changed.
> 
> The first patch makes sure that a0 is zero when the program is called
> (which is the GEMDOS convention for calling ordinary programs,
> otherwise the startup routine might think it is an accessory, and
> expects the value of the Basepage there).
> 
> The second aborts a test program when calling unsupported GEMDOS
> functions, since the handler in the cartridge would otherwise try to
> jump to the original routine, which isn't there. It also adds the
> names of the MiNT functions for this purpose.
> 
> The third uses the PC that was pushed by the exception for traces
> instead of the current PC. The current PC in that function will
> always be the return address from the cartridge, and is rather
> useless.

Thanks, patches committed now (with some small modifications).

 Thomas



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/