; TITLE "Z3GMUSER - Z3lib 4.0" NAME ('GETMUS') ;================================================================ ; The Libraries, Version 4, (C) 1989 by Alpha Systems Corp. ;---------------------------------------------------------------- ; Author : Harold F. Bower ; Derived from Z3GMUSER.Z80 Ver 1.1 by Richard Conn ; Date : 23 Jul 89 ; Version : 1.3 ; Module : Z3GMUSER ; Abstract: This module contains the routine GETMUSER which ; returns the maximum legal user number ; Revision: ;- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ; Module Entry Points PUBLIC GETMUSER ; External References EXT @GET0 .Z80 CSEG ;=============================================================== ; NAME - GETMUSER ; Entry: - None ; Exit : A = Max user #, Zero Flag Reset (NZ) if OK ; A = 0, Zero Flag Set (Z) if Error/Not Present ; Uses : AF ; Special Requirements: None ;=============================================================== GETMUSER: PUSH HL PUSH DE LD DE,2DH ;pt to byte address JP @GET0 END