DRAW48 Graphics creation program for the Hewlett-Packard 48S Copyright (c) Preston Brown Labs 1990 WHAT IT IS DRAW48 allows you to create graphics for your 48S on your MSDOS computer. DRAW48 writes a 48S program which can be down-loaded into your 48S and run to create the graphics. HISTORY I created DRAW48 to draw the graphics used in CASINO 48S. CASINO 48S is fun filled simulation of a casino for the 48SX. CASINO 48S includes a great deal of graphics including a full set of cards, slot machine and more. The drawing capabilities of the 48S allow some graphics generation capability but I wanted to use a mouse and the speed of my computer, so I created DRAW48. FILES You will need the following files: DRAW48.EXE Main program DRAW48.INI Kermit set up file DRAW48.OPT DRAW48 set up file DRAW48.DOC This file BGI Directory of graphics drivers HARD DISK SETUP 1. Copy all the files onto your hard disk. Be sure to copy the files in the BGI directory (use xcopy /s or something similar). 2. Edit the DRAW48.OPT file to set the path of kermit and dos. This should be the only things you need to change in that file. Be sure you use the "write ASCII" option of your word processor. FLOPPY DISK SETUP 1. Create a bootable disk. Format with /b and copy command.com onto the disk. 2. Copy KERMIT.EXE onto the disk. KERMIT.EXE was included with your PCLINK package. 3. Copy all the DRAW48 files onto the disk. Be sure to copy the files in the BGI directory. 4. Edit the DRAW48.OPT file to set the path of kermit and dos. RUNNING DRAW48 CD into the directory with draw48 and type DRAW48 enter. DRAW48 commands can be selected with the keyboard or by using the menu. To use the menu, move the cursor (by using the arrow keys or the mouse) to the command you want, and press enter or the left mouse button. There are three commands that do not appear on a menu: o,O Escape to DOS backspace, right mouse button Undo enter, left mouse button enter a point COMMAND SUMMARY Add commands: a add arc d add dot l add line n add note Delete commands: A delete arc D delete dot L delete line N delete note Modify area commands: C,c copy area M,m move area File commands: G,g get a file S,s save a file T,t T048 (file must be saved first) System commands: E,e erase memory O,o escape to DOS (use exit to return) R,r redraw screen Q,q quit backspace, right mouse undo enter, left mouse enter a point anything else echo points The add commands place the system into add mode. Enter from one to three points in the drawing area to add an object. For adding notes you are also prompted for the note and a size. The delete commands place the system in delete mode; the object nearest to the entered point is deleted. The modify area commands expect two points which define the rectangular area to be modified, and one more point to specify the destination. The file commands prompt for a file name. Get can read any file written by DRAW48. You can not get files that have been up-loaded from the 48. Get can read files that have been appended together (you can use this to merge two or more drawings (be sure to get the merged file and save it before down-loading to the 48)). WHAT TO DO ON THE 48 1. Hook the cable up. 2. Check that you are in decimal mode. Press [MTH] {BASE} {DEC}. 3. Check the I/O setup menu; it should be set to wired and 9600 baud. 4. Put the 48 into Kermit server mode; Press [->] [I/O]. 5. You can now use the TO48 command to down-load your drawing. 6. Press [ON] to exit server mode 7. Press [VAR] {filename}; this should draw your drawing. If you are having trouble with kermit then check the DRAW48.INI file, you may need to change the setup. Drawing programs can become very large; you may need more memory. After drawing you can save your picture on the 48 by executing: PICT RCL. The GROB is returned to the stack (see your 48S manual for more information on GROBS). Then you could delete the program file and just save the GROB (which is usually smaller). LICENSE This program is provided free of charge and may be distributed freely as long as the following restrictions are observed: You may not charge for this program or for any related costs of distributing the program. You must include this file with all copies distributed. If you are interested in the Turbo Pascal 5.0 source code for this program then contact Preston Brown Labs, 2597 Pierce, Eugene, OR 97405.