home *** CD-ROM | disk | FTP | other *** search
- e
- _*********************************************************
- _* *
- _* module name : COMMON.ASM *
- _* *
- _* Maintenance log *
- _* --------------- *
- _* *
- _* date time action *
- _* ---- ---- ------ *
- _* 28/03/89 17:00 initial coding *
- _* *
- _*********************************************************
-
-
- _*********************************************************
- _* *
- _* routine : CONVRAM - convert ram number to a *
- _* configuration *
- _* *
- _* entry *
- _* ----- *
- _* A - RAM configuration number *
- _*.......................................................*
- _* used *
- _* ---- *
- _* A,X *
- _*.......................................................*
- _* exit *
- _* ---- *
- _*********************************************************
-
- convram equ *
- ▓
- ¥ convtab,x
- ¬
-
- convtab db $3e,$7e
-
-
- _*********************************************************
- _* *
- _* routine : READNAME - read name from the cmd *
- _* buffer *
- _* *
- _* entry *
- _* ----- *
- _* CHARBUFF - command buffer *
- _* Y - current position in the buffer *
- _*.......................................................*
- _* used *
- _* ---- *
- _* A,X,Y *
- _*.......................................................*
- _* exit *
- _* ---- *
- _* PRGNAME - program name entered *
- _* NAMELEN - length of the name *
- _* c = 0, no error. c = 1, name too long *
- _*********************************************************
-
-
- readname equ *
- ₧ #0
- readlop1 equ *
- Ü _ point to next character
- ¥ charbuff,y
- æ #space
- à readlop1
- readlop2 equ *
- æ #cr
- à readend
-
- _ first non blank found, so pull info off
-
- » prgname,x
- Ö
- Æ #17
- à toolong
- Ü
- ¥ charbuff,y
- ¢ readlop2
-
- readend equ *
- ò
- ░ namelen
- ì
- ¬
-
- toolong equ *
- ¼
- ¬
-
- IEND
-
-
-