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

Devconnect() in fact does not return a value #91

Closed mikrosk closed 5 years ago

mikrosk commented 5 years ago

See https://github.com/freemint/freemint/issues/113 - in case of wrong src input parameter it returns zero (i.e. not non-zero) but that is all, no further error checking nor setting d0 as an error code is done. Basically if it succeeds, it contains a random value which usually happens to be zero.

th-otto commented 5 years ago

See https://github.com/freemint/tos.hyp/blob/5a8cf43577b75d87e567478999a567c0b4b785e9/xbios/sound/devconne.ui#L60. It is already documented ;)

mikrosk commented 5 years ago

What is even better, it has been already published on https://freemint.github.io/tos.hyp/en/xbios_sound.html#devconnect. It totally forgot we'd done this. ;-) I should start using that URL (along with fixing stuff in https://github.com/freemint/tos.hyp/issues) from now on.

@pulsar122 do you have anything against making http://toshyp.atari.org backed by this github repository? For instance, http://powerphenix.com works the same way. I wouldn't be against transferring the whole repository to your ownership, as it is your work after all.