EasyManuals Logo

IBM 5150 Hardware Reference Manual

IBM 5150
393 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #190 background imageLoading...
Page #190 background image
BASIC Workspace Variables
If
you do
DEF
SEG
(Default workspace segment)
OFFSET
LENGTH
Line
number
of
current
line
being
executed
X '2E'
2
Line
number
of
last
error
X '347'
2
Offset
into
segment
of
start
of
program
text X '30'
2
Offset
into
of
start
of
variables
X '358'
2
(end
of
program
text 1-1)
Keyboard
buffer
contents
X'SA'
1
if
O-no
characters
in
buffer
if
l-characters
in
buffer
if
you
POKE
&
H6A,
0
you
flush
any
characters
in
buffer
Example:
100
Print
PEEK
(&H2E)
+
256*PEEK
(&H2F)
)
L
H
100
X'S4'
X '00'
I
I
I
3-23

Table of Contents

Other manuals for IBM 5150

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the IBM 5150 and is the answer not in the manual?

IBM 5150 Specifications

General IconGeneral
ProcessorIntel 8088
Clock Speed4.77 MHz
RAM16 KB - 256 KB
ManufacturerIBM
Model5150
Release Year1981
Storage5.25-inch floppy drives
GraphicsMDA or CGA
Operating SystemIBM PC DOS
PortsCassette, keyboard
Expansion Slots5

Related product manuals