freemint / tos.hyp

The tos.hyp tries to document all functions from TOS. It also has information about MagiC, N.AES, MyAES, Geneva, XaAES, oAESis and some emulators.
https://freemint.github.io/tos.hyp
GNU General Public License v2.0
13 stars 11 forks source link

XBIOS: Initmouse( ) wrong parameter description #85

Closed DavidGZ closed 6 years ago

DavidGZ commented 6 years ago

From the Initmous() system call description it seems that in the parameter "mousevec" you can get the address of the mouse interrupt vector, but looking at the BIOS TOS sources (also in EmuTOS) the parameter is used to set the vector not to get it.

th-otto commented 6 years ago

Yes, the text is a bit misleading (also in german). mousevec is an input parameter only to set the address. It also fails to mention that the vector is not changed if the parameter is null.

DavidGZ commented 6 years ago

Regarding the behaviour when the parameter is null, I took a look in to the sources and it seems that only EmuTOS do this, I think TOS doesn't check if the parameter is null.

mikrosk commented 6 years ago

Yes, it seems TOS just sets whatever value has been passed in the vector parameter.