Skip to content

Commit 33b1323

Browse files
committed
Adds P/M statements to the manual.
1 parent 082c9f4 commit 33b1323

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

manual.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -560,6 +560,11 @@ functions supported by FastBasic.
560560
- PADDLE(_n_): Returns the value of the
561561
PADDLE controller _n_.
562562

563+
- PMADR(_n_): Returns the address of
564+
the data for Player _n_
565+
or the address of the
566+
Missiles with _n_ = -1.
567+
563568
- PTRIG(_n_) : Returns 0 if the PADDLE
564569
controller _n_ button is
565570
pressed, 1 otherwise.
@@ -1049,13 +1054,36 @@ Graphic and Sound Statements
10491054
and _y_ coordinates, with the current
10501055
`COLOR` number.
10511056

1057+
**Player/Missile graphic mode**
1058+
**PMGRAPHICS _num_ / PM.**
1059+
1060+
Set ups Atari Player / Missile
1061+
graphics. A value of 0 disables all
1062+
player and missiles, a value of 1 set
1063+
ups for single line resolution, a
1064+
value of 2 set ups for double line
1065+
resolution.
1066+
1067+
Single line uses 256 bytes per
1068+
player, double line uses 128 bytes
1069+
per player.
1070+
1071+
For retrieving the memory address of
1072+
the player or missile data use the
1073+
`PMADR()` function.
1074+
10521075
**Sets displayed color**
10531076
**SETCOLOR _num_, _hue_, _lum_ / SE.**
10541077

10551078
Alters the color registers so that
10561079
color number _num_ has the given
10571080
_hue_ and _luminance_.
10581081

1082+
To set Player/Missile colors use
1083+
negative values of _num_, -4 for
1084+
player 0, -3 for player 1, -2 for
1085+
player 2 and -1 for player 3.
1086+
10591087
**Adjust voice sound parameters**
10601088
**SOUND _voice_, _pitch_, _dist_, _vol_ / S.**
10611089
**SOUND _voice_**

0 commit comments

Comments
 (0)