home *** CD-ROM | disk | FTP | other *** search
- ;
- ; Z3LIB Module Name: Z3MSGA
- ; Author: Richard Conn
- ; Z3LIB Version Number: 1.3
- ; Module Version Number: 1.1
- ;
- public geterc
-
- ext getmsg
-
- ;
- ; GETERC returns the address of the error command line in HL and
- ; A=0 and Zero Flag Set if no entry in command line. HL and PSW affected.
- ;
- geterc:
- push de ;save DE
- call getmsg ;get ptr to messages
- ld de,10h ;offset to buffer
- add hl,de
- ld a,(hl) ;get first char
- pop de ;get DE
- or a ;set flag
- ret
-
- end