home *** CD-ROM | disk | FTP | other *** search
- _line db 160
- _saver1 dw ?
- ;
- _ATRB_WRT:
- mov ds,cs
- pop _saver1
-
- Call _SCRN_TYP ;determine video memory loc.
- pop es
- ;
- pop cx,dx,ax
- mov bx,ax
- xchg ah,al ; get screen address
- mov ah,0 ; from row
- mul _line ; and column
- mov bh,0
- shl bx,1
- add ax,bx
- mov si,di,ax ; set DI to screen offset
- mov ds,es
- _atrb_wrt1:
- lodsw
- mov ah,dl
- stosw
- loop _atrb_wrt1
- ;
- mov ds,cs
- push _saver1
- ret
-