home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
assemblr
/
library
/
grafik
/
hgdemo
/
hgdemo.doc
< prev
next >
Wrap
Text File
|
1993-07-14
|
3KB
|
82 lines
TO: ALL
RE: HGDEM.ZIP Hi-Res HGA graphics in assembler.
FROM: Scott A. Armitage #72750,2237
A while back I was looking for some info regarding graphics for the
720x348 resolution mono graphics mode for HGA & compatable adapters.
I found very little information other than 1 procedure for setting the
modes.
The procedures for setting the HGA controllers mode in this source;
_GMODE, _TMODE & SETMD; were not written by me. I can't remember
if those are what I found on compu-serve or if they were given to me by
a teacher I had several years ago.
If anyone recoginzes them credit to the author will be promptly given.
Hgdem.zip contains the source code and executable program for a
Hi-res graphics demo for HGA and compatible display adapters.
The program draws variations of the graphics screens until a
key is pressed.
NOTE - INCLUDE file HGD.INC contains PLOT_LINE and CIRCLE
routines to plot straight lines and circles. These procedures are
based on routines by Rollins - "8088 Macro Assembler Programming".
Modified slightly so that they both call the plot proc pointed to
by the global PLOT_SUB word var.
To re-assemble you will need to provide your own PLOT_LINE and CIRCLE
procedures that call the PLOT_SUB address to plot the dots.
The SOURCE CODE provided is intended for the use of compu-serve
members only. Reproduction and distribution of source code must
be negotiated.
You may use any of the procedures in your own COMPILED program per the
following.
HGDEMO licence agreement.
Single copy users $ 5.00
(independent/freelance programmers)
Corporate/business users $ 10.00 1st copy.
2.00 each additional
machine using
code provided.
Please keep yours and your clients/employers systems from being
in violation of FEDERAL LAW by registering this program if you
find it to be useful.
SUPPORT THE EFFORTS OF INDEPENDENT PROGRAMMERS !
Send payments to:
Scott A. Armitage
9250 Timber lane
Peoria, Il 61615
Cash, checks and money orders accepted.
Your comments and suggestions are also welcome.
Although I am currently employed full time as the
sole operator of a old System/36 (split shift) and
am attending Bradley University half-time to get
a degree, I am willing to consider any contract programming
or other job offers which might come my way.