home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.barnyard.co.uk
/
2015.02.ftp.barnyard.co.uk.tar
/
ftp.barnyard.co.uk
/
cpm
/
walnut-creek-CDROM
/
BEEHIVE
/
ZSUS
/
Z3HELP-3.LBR
/
P.LBR
/
POKE.HZP
/
POKE.HLP
Wrap
Text File
|
2000-06-30
|
2KB
|
61 lines
;
(RCP-resident) POKE
Size (recs) CRC Version Author/Latest Issue Disk
n/a n/a n/a n/a n/a n/a
1- Syntax 2- Examples of Use
POK┼ i≤ aε RCP-residen⌠ commanΣ whicΦ allow≤ thσ use≥ t∩ changσ thσ conten⌠ì
oµ memory«á Thσ use≥ mus⌠ specif∙ aε addres≤ t∩ POKE╗á thσ value≤ tha⌠ follo≈ì
ma∙ bσ numeriπ (hexadecima∞ assumed⌐ o≥ alphabetiπ (precedeΣ b∙ ß double-quotσì
mark)«á Thσá tw∩ form≤ ma∙ bσ intermixeΣ witΦ leadinτ value≤ anΣá ßá trailinτì
characte≥ string« Therσ i≤ n∩ restrictioε oε thσ memor∙ location≤ tha⌠ ma∙ bσì
changeΣ b∙ thσ user.
:1
Syntax: POKE addr val1 val2... valn
or POKE addr "character string
Notσá that¼á oncσ tex⌠ inpu⌠ begins¼á furthe≥ he° value≤ arσ interpreteΣ a≤ì
tex⌠ characters¼ s∩ he° inpu⌠ i≤ halteΣ fo≥ thσ scopσ oµ thσ command«
:2
Examples of Use:
a. poke F400 0 1 2
[place the values 0, 1, and 2 into memory starting at 0F400h]
b. poke F400 "this is a text
[place the ASCII values for the indicated characters into memory
starting at 0F400h]
c. poke F400 1 2 3 "hello, world
[intermix hex values and text]
d. p!poke fe37 "How many columns to print, in hex (50h=80, 64h=100)? "; <<
ROOT:print $pf "Options (<cr>=default, e=exact): ";poke fe37 50
[VMENU command line which uses POKE to change the SYS.ENV segment
in memory. Printer 0 is changed from its default line-wrap value
to the value specified at the prompt. Here SYS.ENV base address
is FE00; positive offset of 37 hex is for Printer 0; 3B, Printer 1;
3F, 2; and 43, 3.]
Examples of Use (continued):
e. get 100 ws.com;poke 329 ff;go $f2
[alias which loads WordStar, sets initial mode from document to
non-document, then runs WordStar with the optional filename.]
f. 'poke fe28 1' or 'poke fe28 0'
[turns quiet flag on or off; assumes SYS.ENV base address of FE00]
<-- therσ wa≤ aε erro≥ iε thσ patΦ expression
at the indicated point.
:4