home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / mbug / mbug076.arc / GPOKE.WBF < prev    next >
Text File  |  1979-12-31  |  2KB  |  13 lines

  1.  
  2. GPOKE                                 by Bob Allanson
  3.  
  4.      GPOKE is a utility intended to assist the creation of data statements for pcg graphics in Microworld Basic.
  5.      GPOKE is of no use unless you understand how Microworld Basic creates pcg characters - this is fully discussed in the Basic manual.
  6.      All commands are called from KEY$ statements. If a command doesn't work try pressing [lock]. Return is always unnecessary.
  7.      After running, the question "Do you want a shadow print" appears. Y or y is followed by "Press any key". A large letter appears - it is purely a guide and does not affect the data statement.
  8.      Creating a new character is done by shifting the cursor with the keys < > @ / and printing with the space bar. When the character is finished press P. You are asked "what letter do you want replaced". Type in any letter. At first avoid the letters used in the graphics of this program. The program goes to the sketchpad which is useful to create small drawings and can be used at the same time as the main character generator by printing a space in sketchpad area next to a partly completed drawing. To get out of the sketchpad type ~ or [shift]^. It is best to do this immediately at first as it is the most confusing part of the program.
  9.      The data statements are created by poking the lines from 1000 on. To see them, press the break key and type list,1100 [return]. To use them in a program type delete 100,880 [return] then use the list, command to locate the first unused data statement. It will be of the form data !!!,!!!,!!!, !!!,!!!,!!!,!!!,!!!,!!!,!!!,!!!,!!!,!!!,!!!,!!!,!!!. Delete from it's line number to 1140 and you have data statements only. Incorparate them in a program by renumbering from 100 and appending a line :
  10. FOR X=64000 TO 63999+N*16 :READ A:POKE X,A :NEXT X
  11. where N is the number of data statements used in the program. You may need to add extra data statements if you wish to do large programs. I've put in less than the possible number to keep the program size down. Use the edit command to copy an existing line.
  12. ine.