SPRCHECK
                                ========

Wrapper for wm.cpspr. Checks whether a sprite definition is legal. Return
size if ok, else return -1.


        size = SPRCHECK(sprad)

        sprad is the address of sprite in memory
        size is an estimate of the size of the sprite

Parameter errors are "hard"

It turns out the size returned is rather arbitrary.

Some random binary files are interpreted as system sprites


Program status
==============

V0.01, pjw, 2023 Dec 26
V0.01, pjw, 2026 Mar 09, changed name from WM_SPRCHECK to SPRCHECK

               Conditions of use and DISCLAIMER as per Knoware.no

Generated by QuickHTM, 2026 Mar 09