home *** CD-ROM | disk | FTP | other *** search
/ Big Blue Disk 10 / bbd10new.zip / IBMCHRED.TXT < prev    next >
Text File  |  1987-05-21  |  3KB  |  95 lines

  1. |D╔══════════════════╗════════════════════════════════════════════════════════════
  2. |D║ |5The Happy Hacker |D║════════════════════════════════════════════════════════════
  3. |D╚══════════════════╝════════════════════════════════════════════════════════════
  4.  
  5. ^C^1IBM CHARACTER CUSTOMIZER
  6. ^Cby
  7. ^CJames Schmidt
  8.  
  9.  
  10.   The IBM CHARACTER CUSTOMIZER is a tool for redefining the upper half of the
  11. IBM mode character set while in graphics modes.  The new character sets you
  12. create can be used to spruce up program screens -- or even provide the basis
  13. for program animation.  And because they can be saved as COM files instead of
  14. BASIC bLoad files, character sets created by the CHARACTER CUSTOMIZER are easy
  15. to use with programs.
  16.  
  17. Using the Program
  18. -----------------
  19.   There are two character sets that you can redefine.  Set 1 includes
  20. original characters 0 through 127; Set 2 contains original characters 128
  21. through 255. Once you have chosen a set, the CHARACTER CUSTOMIZER work screen
  22. displays the first character of the set on an editing grid.  Data for the
  23. character (in decimal form) is displayed next to the grid.
  24.  
  25.   These commands are used to edit characters and load and save character sets:
  26.  
  27. Arrow keys -- move cursor.
  28.  
  29. INS -- toggles pixels on/off in editing grid.  (Arrow keys move cursor.)
  30.  
  31. +/- -- used to select new characters to edit.
  32.  
  33. TAB -- reverses which pixels are activated in the editing grid. (Activated
  34. pixels are turned off and vice versa.)  A single line or the entire cell can be
  35. reversed; you are prompted for which of these you want.
  36.  
  37. F1 -- loads a character set from disk.
  38.  
  39. F2 -- saves character set to disk (as a BASIC BLoad file).
  40.  
  41. F3 -- changes which character to edit (by character number.)
  42.  
  43. F4 -- clears cell.
  44.  
  45. F5 -- copies current character to another character.  Use the +/- select the
  46. character to copy to or use F3 to enter it manually.
  47.  
  48. F6 -- shifts character from side to side or up and down.
  49.  
  50. F7 -- displays entire character set.
  51.  
  52. F8 -- clears entire character set.
  53.  
  54. F9 -- toggles sound.
  55.  
  56. F10 -- creates a COM file from the character set.
  57.  
  58.   There is a third character set provided, HIRES.DAT.  This character set is a
  59. redefined IBM graphics character set.  The first eight characters of the set
  60. are a recreation of our stickman, Alfredo.  The rest could be used as aliens in
  61. a space invaders type game or as objects of an adventure game.
  62.  
  63.   Using a character set within a BASIC program can be very messy, involving
  64. several pokes and peeks and possibly crashing your system until you get it
  65. right.  But if you save the set as a COM file and run it before you enter
  66. BASIC, it will reserve its own portion of memory and wait patiently for you to
  67. use it in your programs.
  68.  
  69.   To give you an example of this, here is the source code for a quick little
  70. demo using the HIRES.DAT file as a com file.
  71.  
  72. 10 SCREEN 1
  73. 15 FOR I=0 TO 3:R$(I)=CHR$(128+2*I)+CHR$(128+2*I+1):NEXT:I=0:J=1
  74. 20 WHILE J<39
  75. 25 I=(I+1) AND 3
  76. 30 LOCATE 9,J:PRINT "  ";
  77. 35 J=J-(I=0)
  78. 40 LOCATE 9,J:PRINT R$(I);
  79. 45 FOR DELAY=1 TO 100:NEXT
  80. 50 WEND
  81. 55 LOCATE 9,J:PRINT " ";
  82.  
  83.   Create a COM file with the F10 option and run it from DOS.  Get into BASICA
  84. (or GW-BASIC) and enter and run the program.  You'll see Alfredo run across the
  85. screen.  This will give you some ideas for using the sets. 
  86.  
  87.  
  88. DISK FILES THIS PROGRAM USES:
  89. ^FIBMCHRED.EXE
  90. ^FBRUN20.EXE
  91. ^FRETURN.EXE
  92. ^FSET1.DAT
  93. ^FSET2.DAT
  94. ^FHIRES.DAT
  95.