TITLE "Z3MSG3 - Z3lib 4.0" ;================================================================ ; The Libraries, Version 4, (C) 1989 by Alpha Systems Corp. ;---------------------------------------------------------------- ; Author : Harold F. Bower ; Derived from Z3MSG3.Z80 Ver 1.1 by Richard Conn ; Date : 15 Mar 87 ; Version : 1.2 ; Module : Z3MSG3 ; Abstract: This module contains the routine GETER2 which ; returns the error code message ; Revision: ;- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ; Module Entry Points PUBLIC GETER2 ; External References EXT GETMSG, @GET1 .Z80 CSEG ;=============================================================== ; NAME - GETER2 ; Entry: - None ; Exit : A = Error code msg, Zero Flag Reset (NZ) ; A = 0, Zero Flag Set (Z) if No Error ; Uses : AF ; Special Requirements: None ;=============================================================== GETER2: PUSH HL ;save HL PUSH DE ;save DE CALL GETMSG ;get ptr to messages LD DE,6 ;offset to code JP @GET1 ; ..Get the value & set flags END