home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Nibble Magazine
/
nib33a.dsk
/
JANUARY.1988
/
UNPACK.EXAMPLE.bas
< prev
Wrap
BASIC Source File
|
2023-02-26
|
610b
|
16 lines
1 REM ***********************
2 REM * UNPACK.EXAMPLE *
3 REM * By Jeff Hurlburt *
4 REM * Copyright (C) 1988 *
5 REM * BY MicroSPARC, Inc. *
6 REM * Concord, MA 01742 *
7 REM ***********************
10 PRINT CHR$(4)"BLOAD SP.PUP": HOME : PRINT "After viewing unpacked picture,": PRINT "press RETURN to quit."
20 DISP = 49193:UNPACK = 37011:PIC = 4096
30 P$ = "PICTURE.PS": GOSUB 50
40 END
50 POKE DISP,65: PRINT CHR$(4)"BLOAD"P$",A"PIC
60 FOR I = 0 TO 7: POKE 3 +I, PEEK(PIC +I): NEXT I
70 POKE DISP,193: CALL UNPACK
80 PRINT CHR$(7): GET Q$: PRINT
90 POKE DISP,65: RETURN