A New Backspace
Under HP BASIC, the BACKSPACE key was assigned to
CHR$(255)&”B”. This function does the same thing that
the LEFT arrow key does. HP BASIC is unique in this
treatment of the BACKSPACE key. For compatibility with
the remainder of the computing community, HP BASIC
for Windows assigns a new function to the BACKSPACE
key. Pushing BACKSPACE deletes the character to the
left of the cursor. This function is named DEL LEFT and
is equivalent to the function LEFT followed by DEL CHR.
If you do not like this definition, you may be able to
redefine the key using the CONFIGURE KEY statement.
Series 300 Bit-Mapped (CRTB) Displays
If using an HP 9816, 9836, or other HP computer with
separate alpha and graphics hardware, some of the
differences you find in HP BASIC for Windows will be
the same differences you would find moving to an HP 310
or another HP computer with a fully bit-mapped
alpha/graphics display. On bit-mapped displays, the
ALPHA image is written into one or more of the graphic
planes. On HP BASIC/9000 workstations, one plane can
be separated from the others for use solely for the
ALPHA image. Or, all the planes can be merged for
shared use between ALPHA and GRAPHICS. HP BASIC
for Windows supports both separated and merged mode.
When ALPHA and GRAPHICS are merged, ALPHA text is
converted to graphic bits and written into the graphic
planes, overwriting any graphics data that might be
present. Therefore, ALPHA and GRAPHICS cannot be
dumped separately. And when the ALPHA text is scrolled,
any graphic data present will be scrolled also.
CRTB Mode is the default for Windows system drivers.
This mode gives the best HP 9000 emulation.
9836C (CRTA) Displays
The HP 9836C display is driven by CRTA Mode drivers.
A CRTA display has distinct ALPHA and GRAPHICS
images. Either the ALPHA or GRAPHICS images can be
displayed, or both can be displayed at once, overlapping
each other. The hardware for the two images is
independent. HP BASIC for Windows emulates CRTA
Mode drivers.
1
Porting HP BASIC/9000 Programs
to HP BASIC for Windows Version 7.0
and Above
One of the hallmarks of the HP BASIC family has been the
ability to develop applications which will run on a variety
of computer platforms. HP BASIC for Windows adds the
PC platform to the RMB
©
(Rocky Mountain Basic
©
) family.
This product note describes differences between
HP BASIC/9000 (Including Series 200, 300, 400, and 700
computers) and HP BASIC for Windows. Differences in
hardware, file system, and keywords are discussed to help
you move programs to HP BASIC for Windows from other
HP BASIC platforms.
The CONFIGURE command allows you to customize
HP BASIC for Windows to more nearly match the
configuration of an HP 9000 computer. This command is
described completely in the documentation supplied with
the product.
Hardware Differences
HP BASIC for Windows compensates automatically for
many of the hardware differences that exist between
an HP BASIC/9000 and other hardware platforms.
The following sections outline many of the differences
and explain what limitations still apply.
Disk Drives
GPIB disk drives are not supported. No mass storage
device is supported across the GPIB. HP LIF disks are not
compatible with DOS disk formats and cannot be read or
written directly by HP BASIC for Windows. However,
there are LIF utilities provided with HP BASIC for
Windows for transferring files from LIF disks. These
utilities work with most PC floppy drive mechanisms.
Softkey Layout
Different keyboard layouts are used by HP BASIC/9000
and PCs. Some PC keyboards have the softkeys down the
left side of the keyboard, and some have them across the
top of the keyboard. To make up for these differences and
the lack of spatial coherence between the physical keys
and the softkey menu, HP BASIC for Windows menu
labels have been numbered to provide numerical
coherence. The label numbered “1” always corresponds to
the softkey with the 1 printed on it. The number is not
meant to be the softkey number.
To provide compatibility with programs written for the
9836 Nimitz keyboard (which starts with softkey K0), the
command KBD CMODE can be used to turn on or off
compatibility mode.
application
Kommentare zu diesen Handbüchern