home *** CD-ROM | disk | FTP | other *** search
- title - AGraphix - assembler routines for Graphix.c
-
- include model.h
- include prologue.h
- @CODE ends
-
- @DATAI SEGMENT
-
- extrn GrafBase:word
-
- @DATAI ENDS
-
- BAY equ @ab[bp]
-
- public InvertScreen
-
- @CODE SEGMENT
-
-
- InvertScreen proc near
-
- push bp
- mov bp,sp
- push ds
-
- mov cx,8192
- xor ax,ax
- mov si,ax
- mov di,ax
- mov ax,GrafBase
- mov ds,ax
- mov es,ax
-
- is1: lodsw
- not ax
- stosw
- loop is1
-
- pop ds
- pop bp
- ret
-
- InvertScreen endp
-
- include epilogue.h
-
- end
-