home *** CD-ROM | disk | FTP | other *** search
GW-BASIC | 1987-01-11 | 3.8 KB | 71 lines |
- 10 CLS:KEY OFF
- 20 LOCATE 3,19,0:COLOR 0,7:PRINT " DUMPSCRN (C) COPYRIGHT 1983 L.C. SYSTEMS ":COLOR 7,0
- 30 LOCATE 5,5:PRINT "Programs and documentation may be accessed by depressing the number"
- 40 PRINT " of your selection."
- 45 LOCATE 8,7:PRINT "1. Basic program to create machine language subroutine file"
- 46 LOCATE 9,7:PRINT "2. Draw an impressive screen and print (runs approx. 1 hour)"
- 47 LOCATE 10,7:PRINT "3. Quick version of selection number 2 (runs approx. 2 minutes)"
- 48 LOCATE 11,7:PRINT "4. Print documentation "
- 49 LOCATE 12,7:PRINT "5. Print assembler source code "
- 50 LOCATE 16,7:PRINT "9. return to the system"
- 52 LOCATE 20,10:PRINT "Press the number of your choice... "
- 53 A$=INKEY$:IF A$ = "" GOTO 53
- 54 W = VAL(A$):ON W GOTO 100,200,300,400,500,55,55,55,600
- 55 GOTO 53
- 100 CLS:LOCATE 3,19,0:COLOR 0,7:PRINT " CREATE MACHINE LANGUAGE SUBROUTINE FILE ":COLOR 7,0
- 110 LOCATE 5,5:PRINT "The following Basic program POKE's the assembly object code into"
- 120 LOCATE 6,5:PRINT "memory and then BSAVE's it. IBM recognizes the fact that the "
- 121 LOCATE 7,5:PRINT "command BSAVE will often come up with the error 'UNDEFINED LINE NUMBER'."
- 130 LOCATE 8,5:PRINT "Once this message comes up, the program can not be LISTed or re-RUN."
- 140 LOCATE 9,5:PRINT "The best thing to do is to reload the program and try again."
- 141 LOCATE 10,5:PRINT "Type LOAD";CHR$(34);"CREATE";CHR$(34); AND THEN RUN. IT USUALLY"
- 142 LOCATE 11,5:PRINT "works the 2nd time."
- 150 LOCATE 20,19:COLOR 0,7:PRINT " Do you want to continue...(Y/N).? ";:COLOR 7,0
- 151 A$= INKEY$:IF A$="" GOTO 151 ELSE IF A$="Y" OR A$="y" GOTO 160
- 152 GOTO 10 'return to the menu
- 160 CLS:CHAIN "CREATE"
- 200 CLS:LOCATE 3,21,0:COLOR 0,7:PRINT " DRAW GRAPHIC IMAGE AND PRINT ":COLOR 7,0
- 210 LOCATE 5,5:PRINT "The following Basic program will draw a 3 dimensional image on the"
- 220 LOCATE 6,5:PRINT "screen and then will print it. Please turn the printer on now if "
- 230 LOCATE 7,5:PRINT "you want to continue"
- 250 LOCATE 20,19:COLOR 0,7:PRINT " Do you want to continue...(Y/N).? ";:COLOR 7,0
- 251 A$= INKEY$:IF A$="" GOTO 251 ELSE IF A$="Y" OR A$="y" GOTO 260
- 252 GOTO 10 'return to the menu
- 260 CLS:CHAIN "SLOWDRAW"
- 300 CLS:LOCATE 3,21,0:COLOR 0,7:PRINT " LOAD GRAPHIC IMAGE AND PRINT ":COLOR 7,0
- 310 LOCATE 5,5:PRINT "The following Basic program will load a 3 dimensional image on the"
- 320 LOCATE 6,5:PRINT "screen and then will print it. Please turn the printer on now if "
- 330 LOCATE 7,5:PRINT "you want to continue"
- 350 LOCATE 20,19:COLOR 0,7:PRINT " Do you want to continue...(Y/N).? ";:COLOR 7,0
- 351 A$= INKEY$:IF A$="" GOTO 351 ELSE IF A$="Y" OR A$="y" GOTO 360
- 352 GOTO 10 'return to the menu
- 360 CLS:CHAIN "FASTDRAW"
- 400 CLS:LOCATE 3,29,0:COLOR 0,7:PRINT " PRINT DOCUMENTATION ":COLOR 7,0
- 410 LOCATE 5,5:PRINT "Continuing with the following program will print the documentation."
- 420 LOCATE 6,5:PRINT "Please turn the printer on now if you want to continue. "
- 450 LOCATE 20,19:COLOR 0,7:PRINT " Do you want to continue...(Y/N).? ";:COLOR 7,0
- 451 A$= INKEY$:IF A$="" GOTO 451 ELSE IF A$="Y" OR A$="y" GOTO 460
- 452 GOTO 10 'return to the menu
- 460 OPEN "DUMPSCRN.DOC" FOR INPUT AS #1
- 465 IF EOF(1) THEN 490
- 470 LINE INPUT #1,A$
- 480 PRINT A$:LPRINT A$
- 481 GOTO 465
- 490 CLOSE:GOTO 10
- 500 CLS:LOCATE 3,29,0:COLOR 0,7:PRINT " PRINT ASSEMBLY CODE ":COLOR 7,0
- 510 LOCATE 5,5:PRINT "Continuing with the following program will print the assembly code."
- 520 LOCATE 6,5:PRINT "Please turn the printer on now if you want to continue. "
- 530 LOCATE 7,5:PRINT "The printer will be set to compressed format to allow 132 characters "
- 540 LOCATE 8,5:PRINT "to be printed across a page."
- 550 LOCATE 20,19:COLOR 0,7:PRINT " Do you want to continue...(Y/N).? ";:COLOR 7,0
- 551 A$= INKEY$:IF A$="" GOTO 551 ELSE IF A$="Y" OR A$="y" GOTO 560
- 552 GOTO 10 'return to the menu
- 560 OPEN "DUMPSCRN.LST" FOR INPUT AS #1
- 561 LPRINT CHR$(15);:WIDTH "lpt1:",133:GOTO 465
- 600 CLS:LOCATE 3,29,0:COLOR 0,7:PRINT " RETURN TO THE SYSTEM ":COLOR 7,0
- 610 LOCATE 9,5:PRINT "Continuing with the following program will return to the system."
- 650 LOCATE 20,19:COLOR 0,7:PRINT " Do you want to continue...(Y/N).? ";:COLOR 7,0
- 651 A$= INKEY$:IF A$="" GOTO 651 ELSE IF A$="Y" OR A$="y" GOTO 660
- 652 GOTO 10 'return to the menu
- 660 SYSTEM
-