home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 17
/
CD_ASCQ_17_101194.iso
/
vrac
/
vester_e.zip
/
SEEMAP.BAS
< prev
next >
Wrap
BASIC Source File
|
1994-08-08
|
1KB
|
22 lines
10 CLEAR:CLS:SCREEN 0
15 X$="system":KEY 10,X$
20 DEF SEG=&H4F00
25 PRINT" Program to playback maps stored with WXMAP.BAS program.":PRINT:PRINT:PRINT
30 INPUT "Name of file to be displayed";F$
31 V$=RIGHT$(F$,4)
40 BLOAD "seeb.asm",&H100
50 IF V$=".cga" THEN POKE &H161,110:POKE &H162,1:SCREEN 2
100 PRINT:PRINT:PRINT " Weather map will be stored in memory now. You can scroll the pix"
110 PRINT "by moving the viewing screen Right (R), Left (L), Down (D), or Up (U)"
120 PRINT "over the map. To Print (P) the map, position the desired starting point"
130 PRINT "in the upper left corner of the display, and hit P. Be sure the printer"
140 PRINT "is turned ON before doing this. You can Halt (H) the printer at any time"
150 PRINT "by hitting H (it completes it's 3 stroke cycle). You can return to Basic"
160 INPUT "by pressing 'Q' for QUIT. Now hit ENTER, then 'D' to see the map";C$
170 PRINT:PRINT:PRINT:PRINT " K3BC"
175 A%=B%=C%=0
180 K=&H100:CALL K(A%,B%,C%,F$)
182 SCREEN 0
185 PRINT" If D gave no map, you typed the file name or path wrong. Recheck it!"
190 END