home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Loadstar 18
/
018.d81
/
t.multiscreen
< prev
next >
Wrap
Text File
|
2022-08-26
|
4KB
|
212 lines
Multiscreen for the Commodore 64
********************************
Written by:
Ken French and Louis R. Wallace
Microcomputers Magazine, December 1985
Page 98
Multiscreen can be used for Graphs,
help screens, game screens, and many
other purposes. It gives programs
fast access to screens of data without
having to use the disk, which is
relatively slow.
When using Multiscreen, you have
five additional low-resolution color
screens, plus your normal screen.
That gives you six color screens and
it doesn't take any memory from
BASIC!!
Multiscreen establishes five "slots"
in memory in which to store often used
screens. Access to these slots is
nearly instantaneous.
Multiscreen is stored in RAM under
the BASIC operating system and also in
part of free RAM that begins at $C000
(49152). You still have room for DOS
5.1 and your own machine language
programs from $C801-$C9FF (51201-
51711). Machine language for
Multiscreen is from $CA00-$CBFF
(51712-52223). This storage algorithm
leaves all of BASIC programming memory
untouched and available for use.
With Multiscreen, you can store any
text, mixed with color, to one of
Multiscreen's slots and you can save
the contents of one of these slots to
disk. Therefore, you can use your
normal screen, five extra ones stored
in slots, and many more on disk.
When retrieving a screen from a slot,
it is transferred instantly.
Multiscreen has three commands
using the SYS statement. They are:
1. SYS 51721,F,slot# is for saving a
screen to a slot or loading a slot to
the screen. The F is either zero (for
saving to) or one (for recalling
from). The slot number is from one to
five.
2. SYS 51715,slot#,"filename" is for
saving a slot to disk. Again slot
number is from zero to five. The
"filename" is the name you have given
the screen.
3. SYS 51718,slot#,"filename" loads
a screen from disk into a specified
slot.
The Multiscreen program (on your
disk) is a BASIC program that stores
(in memory) a machine language program
in data statements.
The Multiscreen.ed program allows
you to create and edit screens; to
store/retrieve screens to/from slots;
and load/save slots from/to disks.
You can easily prepare pictures
consisting of text and/or graphics
characters. Multiscreen must be
LOADED and RUN before you can use
Multiscreen.ed.
When you use Multiscreen.ed, use
the CRSR keys to move around the
screen. You can put any of the 16
colors, as well as any characters
(reversed or normal) on the screen.
The INST/DEL and CLR/HOME keys also
function normally, as well as the
CTRL and Commodore logo keys for
changing color. Don't hit RETURN
until you are finished with your
screen.
When your screen is complete,
press RETURN and it is saved in one
of the slots (you will be prompted to
specify which one). You can return
to the Commodore's editor to prepare
another screen, save the screen you
have to disk, or quit. If you do save
something, it can be recalled for
editing or for use in a program. If
you are not in the editing mode,
press keys one through five to recall
slots for viewing or press M (to
return to the menu).
*** NOTE ***
Due to space constraints on this
issue of LOADSTAR, we suggest you use
a blank, formatted disk to save your
screens on. Do not try to save any
screens onto LOADSTAR.
This program is copyrighted by
Commodore magazine. All rights to it
are reserved. LOADSTAR has relieved
you from the burden of keying in this
program. For more complete
information about this program, refer
to the December 1985 issue of
Microcomputers Magazine.
>Files used: MULTISCREEN
MULTISCREEN.ED
--------------------------------------