[comp.binaries.ibm.pc] v01i230: colorize, adds color to moria and hack

ericksen@cs.unc.edu (Jim Ericksen) (03/16/89)

Checksum: 2629577922  (Verify or update with "brik")
Posting-number: Volume 01, Issue 230
Originally-from: Jim Ericksen <ericksen@cs.unc.edu>
Submitted-by: Jim Ericksen <ericksen@cs.unc.edu>
Archive-name: colorize/part01

I originally wrote this simple program for playing pc-hack, and since
pc-moria was recently posted i thought i'd share this with the net.
Colorize is a short TSR which intercepts video output calls to add
color to hack and moria.  The color of each character is mapped
according to the character value: the player character ("@") becomes
cyan, all graphics characters (e. g. dungeon walls) are red, and all
other characters are green.  The colors can be changed by using DEBUG
to patch the colorize.com file or by modifying and reassembling the
included source.  To use the program, simply run colorize before
beginning the game (or whatever); all subsequent character output which
uses the video BIOS will be affected.

[
A clever idea that works.  I enabled this while logged in on a
UNIX system using Kermit, and in all my mail, all the @ signs came
up bright blue.  Since assembly source is included, you can customize
this program to do interesting things.

Checksums obtained with the 4.3BSD "sum" or System V "sum -r" command.

checksum     size (bytes)  file (between BEGIN--cut and END--cut lines)
    2510         1737      this source posting

checksum     size (bytes)  file
   34516         1238      colorize.arc

-- R.D.
]

colorize part01/01
BEGIN--cut here--cut here
begin 644 colorize.arc
M&@9#3TQ/4DE:12Y!4TT`3P0``%82PTMAB0`&``#8ZJG8ZW*9P@&1;#VW+#W0
M>JGR29RU^)#4N[8P(D'(")"B)!'6O&6MS"3*?&6"*"+K1\^=^)"R^9Q\^GQ&
M_0?=`WY\^B*)"[:9S4M\^3CN%\_EF9R5FB*JF_FB)\^_#8[#U\\((E$]].E\
M_A6JF5F9PV=AR9S0?0?=+(#8Z"Q\^[;#VZ3YW=+4O8[,JPBGS>^^+$<D&GRZ
M0@$@'4N9RB*BN_E-0D$X9-C4O=*BO]S4OG*1"9RMR5FQR_G#W8ZF6_"B*MQ+
M/G*`[&L7N"(X8WZB(@'"2^*^(@[L;WZU^GR[9\^9R9G0='C(##UAR"(]*)#0
M?8[G(X:NR[;(!\_4NF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