Pecom 32
Commands
All Pecom 32 Commands including some of the start addresses of these commands are listed below. Try for example CALL (@B301)"HELLO"; this will do the same as the PRINT command. Click on the command itself to get a description of command format and usage.
@B9D9 |
@A300 |
||
@A791 |
@9868 |
||
@AB06 |
@8FD5 |
||
@A96B |
@AB0C |
||
|
@8F85 |
||
@8D96 |
@ADAC |
||
@9FD0 |
|
||
CLOSE |
@9727 |
@90AA |
|
@AEF3 |
@9633 |
||
@9DF8 |
@AC7B |
||
@AB03 |
@9ED8 |
||
@B5E1 |
@839E |
||
@A2FB |
@9600 |
||
DDIIN | @9FB9 |
@A7DF |
|
@B6D8 |
@A6E2 |
||
@B2ED |
@9324 |
||
@BFF7 |
@AEC1 |
||
@A700 |
@B301 |
||
@9327 |
@953F |
||
@9542 |
@BFFA |
||
@9400 |
@BD6C |
||
@9EC9 |
@ADF9 |
||
@AFB9 | @A400 |
||
@AFB6 |
@A2EF |
||
@BFAF |
@ACAB |
||
@AB09 |
RFLN |
@94F5 |
|
@ABE7 |
@A600 |
||
@AC00 |
@A076 |
||
@A200 |
|
||
@BEF0 |
@95F4 |
||
@A78E |
@A699 |
||
@ACB7 |
@AB00 |
||
@AF2A |
@AB0F |
||
@B033 |
|
||
@96C3 |
|
||
@AD74 |
@9797 |
||
@A000 |
@AEE0 |
||
@A903 |
@A96E |
||
@906E |
@A3DA |
||
@AE04 |
WFLN |
@976C |
Operators
Arithmetic operators
Unary minus | - | (first priority) |
Exponentiation | ↑ | (first priority) |
Multiply | * | (second priority) |
Divide | / | (second priority) |
Add | + | (third priority) |
Subtract | - | (third priority) |
Assignment operator
The assignment symbol is the equal sign ‘=‘.
Relational operators
Equality: =
Inequality: ><
Greater than: >
Less than: <
Greater than or equal to: >=
Less than or equal to:<=
Logical operators
Miscellaneous operators
: | separates statements on the same line |
; | PRINT delimiter |
, | PRINT delimiter |
“ | string delimiter |
( | group terms |
) | group terms |
%...% | 8 bit binary values |
# | 8 bit hexadecimal values |
& | 16 bit hexadecimal values |
System Parameters
Memory @0000-@0200 in the Pecom 32 is used by the BASIC ROM for storing data, usage for some of the addresses is explained below.
0000 - 005F | Line buffer |
0081 - 0082 | DEFUS value |
0083 - 0084 | EOP (End Of Program) value |
008A - 008D | In hook, call to input routine |
008E - 0091 | Out hook, call to output routine |
0092 - 0093 | End array/start string value |
0094 - 0095 | Start array value |
0099 - 009A | EOD (End Of Data) and end string value |
009B | X value TAB |
009D | Flags |
009E | Start address user RAM |
009F - 00A2 | Call to BASIC functions |
00A3 - 00A6 | Call to BASIC functions |
00B1 - 00B2 | DATA pointer |
0100 - 0168 | Storage A, B, C.... Z, 4 bytes per variable |