M/C Bits

See all articles from CATS v3 n11
Publication: CATS Newsletter
Pub Details: CATS v3 n11 (Volume 3, Issue 11)
Date: March 1986
Pages: 7

SET CURSOR (7 bytes)

This routine is identical to PRINT AT.

cl=column   rw=row
01 rw cl    LD BC, rw cl
CD F5 08    CALL 08F5
C9          RET

PRINT CHARACTER (4 bytes)

This routine prints a character on the screen.

nn=hex code of character
3E nn       LD A,nn
D7          RST 10
C9          RET

PRINT STRING (10 bytes)

This routine prints a string.

dd=low byte     ee=most
addr=hex addr where string
     starts
length=hex length of string
11 dd ee    LD DE,addr
01 dd ee    LD BC,length
CD 6B 0B    CALL 0B6B
C9          RET

SLOW (4 bytes)

Same as SLOW

CD 2B 0F    CALL 0F2B
C9          RET