| 1 | ;
|
|---|
| 2 | ; VPRINT.INC -- Text output directly to video memory
|
|---|
| 3 | ;
|
|---|
| 4 | ; Copyright (c) 1991-1995 by Eberhard Mattes
|
|---|
| 5 | ;
|
|---|
| 6 | ; This file is part of emx.
|
|---|
| 7 | ;
|
|---|
| 8 | ; emx is free software; you can redistribute it and/or modify it
|
|---|
| 9 | ; under the terms of the GNU General Public License as published by
|
|---|
| 10 | ; the Free Software Foundation; either version 2, or (at your option)
|
|---|
| 11 | ; any later version.
|
|---|
| 12 | ;
|
|---|
| 13 | ; emx is distributed in the hope that it will be useful,
|
|---|
| 14 | ; but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|---|
| 15 | ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|---|
| 16 | ; GNU General Public License for more details.
|
|---|
| 17 | ;
|
|---|
| 18 | ; You should have received a copy of the GNU General Public License
|
|---|
| 19 | ; along with emx; see the file COPYING. If not, write to
|
|---|
| 20 | ; the Free Software Foundation, 59 Temple Place - Suite 330,
|
|---|
| 21 | ; Boston, MA 02111-1307, USA.
|
|---|
| 22 | ;
|
|---|
| 23 | ; See emx.asm for a special exception.
|
|---|
| 24 | ;
|
|---|
| 25 |
|
|---|
| 26 | SV_DATA SEGMENT
|
|---|
| 27 |
|
|---|
| 28 | EXTRN VWIDTH:WORD ; Number of columns
|
|---|
| 29 | EXTRN VHEIGHT:WORD ; Number of rows
|
|---|
| 30 |
|
|---|
| 31 | SV_DATA ENDS
|
|---|
| 32 |
|
|---|
| 33 | SV_CODE SEGMENT
|
|---|
| 34 |
|
|---|
| 35 | EXTRN VDWORD:NEAR, VWORD:NEAR, VBYTE:NEAR, VNIBBLE:NEAR
|
|---|
| 36 | EXTRN VTEXT:NEAR, VCHAR:NEAR, VCRLF:NEAR
|
|---|
| 37 | EXTRN VCLS:NEAR, VGETCOL:NEAR, VWRAP:NEAR
|
|---|
| 38 |
|
|---|
| 39 | SV_CODE ENDS
|
|---|
| 40 |
|
|---|
| 41 | INIT_CODE SEGMENT
|
|---|
| 42 |
|
|---|
| 43 | EXTRN VINIT:NEAR ; Set VWIDTH and VHEIGHT
|
|---|
| 44 |
|
|---|
| 45 | INIT_CODE ENDS
|
|---|