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 10 forks source link

Add vq_image_type #138

Closed xdelatour closed 1 year ago

xdelatour commented 1 year ago

Note: Comments from VDIBIND.C are wrong:

/*      ptsin[0]=img & 0xffff;              */
/*      ptsin[1]=img>>16;               */

Actual source code:

((long *)(vdipb.ptsin))[0]=(long)image;

Thus, ptsin[0] contains the high-word and ptsin[1] contains the low-word