Viper 2.08 User's Guide Page 29

  • Download
  • Add to my manuals
  • Print
  • Page
    / 53
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 28
PROGRAUIMING
HINTS
by H.C,
I1UiII
IV
Record
(in
voice) on
tape,
before
each
program,
the
pr.ogran
narne,
number
of
pages
and the
place
where
documentation
and/or
directions
cart
be
found
(tfris
aids
in
the
location
and
use
of
taped
programs
and the
VIP
Monitor
overtooks
peoples
voices)..
When
debugging
CHIP-8
programs
put
a D//f
instruction
in
place
of
a current
instruction
to see if it is
being
executed. If
the
instruction is being
executed,
junk
will
appear on
the scr€€rrr
This
i-nstruction
can also
be followed
by a
"jump
to
itself"
instructi.on.
This
type of debugging aid
is helpful
when trying
to
find
out
which
instructions
are
being
executed,
if they
are
being
executed and
in what
order they
are
being
executed. It
also aids
in
finding
out
whether
"SKIP"
instructions
are
"SKIP"ing
or
not.
A
jump
to
the beginning
(or
end)
of
the
prograrn
can
also
provid.e
the
same
results.
An
even
more interesting
implementation
of
this debugging
tool
is
to
call an
assemb-l,y
language
subroutine
that
in
turn
does a
jurnp
to
the
monitor
(89f,9)
so
that
you
can
look
at
where the CHIP:-8
variables
are stored.
This
"tool"
is
referred to as a
breakpoint.
SPACE WARS SPEED
UP
by
Tom
Swan
The
following
modifications
to Space
Wars
in
PIPS
FOR VIPS I
will cause
the
phasor
fire
to
go
faster.
It
also speeds
up
the
target's ability to take evasive
action, so watch
out!
038E
1582
--
o3Bl+
I58B
osie FB oo
7A
AC
AF
o5B2 05?6
84
663F
85
Dgo
88
0576
BA
OOEE
;
Go
to
Patch
#t
r
Go
t
o
Patch
#Z
BF
FB
r
IULS
TOGGLE
subroutine
switches
0F
FB
;
CHIP,
B
interpretQr
between
D4
oo
;
h
Lgt/I
ow
speed,.
r
CALL
TOGGLE
MLS
-
switch
to
high
speed
;Patched
instrueti-on
from
phasor
sub
;
Return
from
Patch
#t
-
go
f
ire
phasors
r
CALL
TOGGLE
MLS
-
switch
to
low
speed
r
Return
from
subroutine
(
instead
of
iumping
back
2,OB/09
,
29
Page view 28
1 2 ... 24 25 26 27 28 29 30 31 32 33 34 ... 52 53

Comments to this Manuals

No comments