@nataliapc/mcp-openmsx 1.1.15 → 1.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +84 -37
- package/dist/server.js +101 -40
- package/dist/utils.js +42 -2
- package/dist/vectordb.js +61 -0
- package/package.json +8 -3
- package/resources/audio/msx-midi.md +872 -0
- package/resources/audio/psg_registers.md +281 -0
- package/resources/audio/sound_cartridge_scc.md +123 -0
- package/resources/audio/sound_cartridge_scci.md +250 -0
- package/resources/audio/toc.json +8 -4
- package/resources/book--msx2-technical-handbook/toc.json +1 -1
- package/resources/msx-dos/MSX-DOS_2_Environment_Variables.md +1368 -0
- package/resources/msx-dos/MSX-DOS_File_extensions.md +154 -0
- package/resources/msx-dos/toc.json +13 -0
- package/resources/msx-unapi/toc.json +2 -2
- package/resources/others/keyboard_matrices.md +243 -0
- package/resources/others/toc.json +6 -0
- package/resources/programming/asm_callbios.md +79 -0
- package/resources/programming/asm_docopy.md +115 -0
- package/resources/programming/asm_fast_loops.md +200 -0
- package/resources/programming/asm_getslot.md +143 -0
- package/resources/programming/asm_interrupts.md +202 -0
- package/resources/programming/asm_load_screen.md +240 -0
- package/resources/programming/asm_mult_div_shifts.md +487 -0
- package/resources/programming/asm_raminpage1.md +56 -0
- package/resources/programming/asm_vdp_detection.md +78 -0
- package/resources/programming/asm_vdp_routines.md +343 -0
- package/resources/programming/asm_z80_routines_collection.md +810 -0
- package/resources/programming/basic_wiki/ABS().md +36 -0
- package/resources/programming/basic_wiki/AND.md +71 -0
- package/resources/programming/basic_wiki/ASC().md +38 -0
- package/resources/programming/basic_wiki/ATN().md +36 -0
- package/resources/programming/basic_wiki/AUTO.md +39 -0
- package/resources/programming/basic_wiki/BASE().md +147 -0
- package/resources/programming/basic_wiki/BEEP.md +27 -0
- package/resources/programming/basic_wiki/BIN$().md +36 -0
- package/resources/programming/basic_wiki/BLOAD.md +63 -0
- package/resources/programming/basic_wiki/BSAVE.md +61 -0
- package/resources/programming/basic_wiki/CALL.md +391 -0
- package/resources/programming/basic_wiki/CALL_ADJUST.md +40 -0
- package/resources/programming/basic_wiki/CALL_IMPOSE.md +28 -0
- package/resources/programming/basic_wiki/CALL_OPTIONS.md +26 -0
- package/resources/programming/basic_wiki/CALL_PAUSE.md +119 -0
- package/resources/programming/basic_wiki/CALL_PCMPLAY.md +60 -0
- package/resources/programming/basic_wiki/CALL_PCMREC.md +70 -0
- package/resources/programming/basic_wiki/CDBL().md +36 -0
- package/resources/programming/basic_wiki/CHR$().md +51 -0
- package/resources/programming/basic_wiki/CINT().md +36 -0
- package/resources/programming/basic_wiki/CIRCLE.md +51 -0
- package/resources/programming/basic_wiki/CLEAR.md +39 -0
- package/resources/programming/basic_wiki/CLOAD.md +27 -0
- package/resources/programming/basic_wiki/CLOAD?.md +31 -0
- package/resources/programming/basic_wiki/CLOSE.md +44 -0
- package/resources/programming/basic_wiki/CLS.md +51 -0
- package/resources/programming/basic_wiki/COLOR.md +143 -0
- package/resources/programming/basic_wiki/COLOR=.md +93 -0
- package/resources/programming/basic_wiki/COLOR_SPRITE$().md +83 -0
- package/resources/programming/basic_wiki/COLOR_SPRITE().md +85 -0
- package/resources/programming/basic_wiki/CONT.md +23 -0
- package/resources/programming/basic_wiki/COPY.md +215 -0
- package/resources/programming/basic_wiki/COPY_SCREEN.md +61 -0
- package/resources/programming/basic_wiki/COS().md +37 -0
- package/resources/programming/basic_wiki/CSAVE.md +35 -0
- package/resources/programming/basic_wiki/CSNG().md +36 -0
- package/resources/programming/basic_wiki/CSRLIN.md +33 -0
- package/resources/programming/basic_wiki/DATA.md +47 -0
- package/resources/programming/basic_wiki/DEFDBL.md +40 -0
- package/resources/programming/basic_wiki/DEFINT.md +40 -0
- package/resources/programming/basic_wiki/DEFSNG.md +40 -0
- package/resources/programming/basic_wiki/DEFSTR.md +40 -0
- package/resources/programming/basic_wiki/DEF_FN.md +49 -0
- package/resources/programming/basic_wiki/DEF_USR.md +33 -0
- package/resources/programming/basic_wiki/DELETE.md +49 -0
- package/resources/programming/basic_wiki/DIM.md +59 -0
- package/resources/programming/basic_wiki/DRAW.md +77 -0
- package/resources/programming/basic_wiki/ELSE.md +45 -0
- package/resources/programming/basic_wiki/END.md +32 -0
- package/resources/programming/basic_wiki/EOF().md +36 -0
- package/resources/programming/basic_wiki/EQV.md +76 -0
- package/resources/programming/basic_wiki/ERASE.md +35 -0
- package/resources/programming/basic_wiki/ERL.md +34 -0
- package/resources/programming/basic_wiki/ERR.md +143 -0
- package/resources/programming/basic_wiki/ERROR.md +145 -0
- package/resources/programming/basic_wiki/EXP().md +38 -0
- package/resources/programming/basic_wiki/FIELD.md +48 -0
- package/resources/programming/basic_wiki/FIX().md +44 -0
- package/resources/programming/basic_wiki/FN.md +61 -0
- package/resources/programming/basic_wiki/FOR...NEXT.md +80 -0
- package/resources/programming/basic_wiki/FRE().md +66 -0
- package/resources/programming/basic_wiki/GET_DATE.md +60 -0
- package/resources/programming/basic_wiki/GET_TIME.md +34 -0
- package/resources/programming/basic_wiki/GOSUB.md +41 -0
- package/resources/programming/basic_wiki/GOTO.md +41 -0
- package/resources/programming/basic_wiki/HEX$().md +36 -0
- package/resources/programming/basic_wiki/IF...GOTO...ELSE.md +55 -0
- package/resources/programming/basic_wiki/IF...THEN...ELSE.md +50 -0
- package/resources/programming/basic_wiki/IMP.md +83 -0
- package/resources/programming/basic_wiki/INKEY$.md +65 -0
- package/resources/programming/basic_wiki/INP().md +33 -0
- package/resources/programming/basic_wiki/INPUT$().md +51 -0
- package/resources/programming/basic_wiki/INPUT.md +93 -0
- package/resources/programming/basic_wiki/INSTR().md +44 -0
- package/resources/programming/basic_wiki/INT().md +44 -0
- package/resources/programming/basic_wiki/INTERVAL.md +57 -0
- package/resources/programming/basic_wiki/KEY().md +51 -0
- package/resources/programming/basic_wiki/KEY.md +254 -0
- package/resources/programming/basic_wiki/LEFT$().md +39 -0
- package/resources/programming/basic_wiki/LEN().md +36 -0
- package/resources/programming/basic_wiki/LET.md +68 -0
- package/resources/programming/basic_wiki/LINE.md +74 -0
- package/resources/programming/basic_wiki/LINE_INPUT.md +79 -0
- package/resources/programming/basic_wiki/LIST.md +58 -0
- package/resources/programming/basic_wiki/LLIST.md +43 -0
- package/resources/programming/basic_wiki/LOAD.md +56 -0
- package/resources/programming/basic_wiki/LOCATE.md +67 -0
- package/resources/programming/basic_wiki/LOG().md +36 -0
- package/resources/programming/basic_wiki/LPOS().md +31 -0
- package/resources/programming/basic_wiki/LPRINT.md +46 -0
- package/resources/programming/basic_wiki/MAXFILES.md +39 -0
- package/resources/programming/basic_wiki/MERGE.md +54 -0
- package/resources/programming/basic_wiki/MID$().md +72 -0
- package/resources/programming/basic_wiki/MOD.md +39 -0
- package/resources/programming/basic_wiki/MOTOR.md +46 -0
- package/resources/programming/basic_wiki/NEW.md +27 -0
- package/resources/programming/basic_wiki/NOT.md +61 -0
- package/resources/programming/basic_wiki/OCT$().md +36 -0
- package/resources/programming/basic_wiki/ON...GOSUB.md +45 -0
- package/resources/programming/basic_wiki/ON...GOTO.md +42 -0
- package/resources/programming/basic_wiki/ON_ERROR_GOTO.md +61 -0
- package/resources/programming/basic_wiki/ON_INTERVAL_GOSUB.md +54 -0
- package/resources/programming/basic_wiki/ON_KEY_GOSUB.md +56 -0
- package/resources/programming/basic_wiki/ON_SPRITE_GOSUB.md +41 -0
- package/resources/programming/basic_wiki/ON_STOP_GOSUB.md +56 -0
- package/resources/programming/basic_wiki/ON_STRIG_GOSUB.md +70 -0
- package/resources/programming/basic_wiki/OPEN.md +103 -0
- package/resources/programming/basic_wiki/OR.md +75 -0
- package/resources/programming/basic_wiki/OUT.md +35 -0
- package/resources/programming/basic_wiki/PAD().md +110 -0
- package/resources/programming/basic_wiki/PAINT.md +66 -0
- package/resources/programming/basic_wiki/PDL().md +53 -0
- package/resources/programming/basic_wiki/PEEK().md +44 -0
- package/resources/programming/basic_wiki/PLAY().md +58 -0
- package/resources/programming/basic_wiki/PLAY.md +196 -0
- package/resources/programming/basic_wiki/POINT.md +52 -0
- package/resources/programming/basic_wiki/POKE.md +51 -0
- package/resources/programming/basic_wiki/POS().md +36 -0
- package/resources/programming/basic_wiki/PRESET.md +61 -0
- package/resources/programming/basic_wiki/PRINT.md +179 -0
- package/resources/programming/basic_wiki/PSET.md +82 -0
- package/resources/programming/basic_wiki/PUT_KANJI.md +93 -0
- package/resources/programming/basic_wiki/PUT_SPRITE.md +143 -0
- package/resources/programming/basic_wiki/READ.md +45 -0
- package/resources/programming/basic_wiki/REM.md +42 -0
- package/resources/programming/basic_wiki/RENUM.md +78 -0
- package/resources/programming/basic_wiki/RESTORE.md +52 -0
- package/resources/programming/basic_wiki/RESUME.md +45 -0
- package/resources/programming/basic_wiki/RETURN.md +47 -0
- package/resources/programming/basic_wiki/RIGHT$().md +39 -0
- package/resources/programming/basic_wiki/RND().md +51 -0
- package/resources/programming/basic_wiki/RUN.md +56 -0
- package/resources/programming/basic_wiki/SAVE.md +65 -0
- package/resources/programming/basic_wiki/SCREEN.md +164 -0
- package/resources/programming/basic_wiki/SET_ADJUST.md +66 -0
- package/resources/programming/basic_wiki/SET_BEEP.md +76 -0
- package/resources/programming/basic_wiki/SET_DATE.md +103 -0
- package/resources/programming/basic_wiki/SET_PAGE.md +52 -0
- package/resources/programming/basic_wiki/SET_PASSWORD.md +75 -0
- package/resources/programming/basic_wiki/SET_PROMPT.md +61 -0
- package/resources/programming/basic_wiki/SET_SCREEN.md +100 -0
- package/resources/programming/basic_wiki/SET_SCROLL.md +55 -0
- package/resources/programming/basic_wiki/SET_TIME.md +83 -0
- package/resources/programming/basic_wiki/SET_TITLE.md +87 -0
- package/resources/programming/basic_wiki/SET_VIDEO.md +49 -0
- package/resources/programming/basic_wiki/SGN().md +38 -0
- package/resources/programming/basic_wiki/SIN().md +36 -0
- package/resources/programming/basic_wiki/SOUND.md +188 -0
- package/resources/programming/basic_wiki/SPACE$().md +38 -0
- package/resources/programming/basic_wiki/SPC().md +34 -0
- package/resources/programming/basic_wiki/SPRITE$().md +50 -0
- package/resources/programming/basic_wiki/SPRITE.md +31 -0
- package/resources/programming/basic_wiki/SQR().md +32 -0
- package/resources/programming/basic_wiki/STICK().md +70 -0
- package/resources/programming/basic_wiki/STOP.md +70 -0
- package/resources/programming/basic_wiki/STR$().md +37 -0
- package/resources/programming/basic_wiki/STRIG().md +82 -0
- package/resources/programming/basic_wiki/STRING$().md +42 -0
- package/resources/programming/basic_wiki/SWAP.md +62 -0
- package/resources/programming/basic_wiki/TAB().md +38 -0
- package/resources/programming/basic_wiki/TAN().md +36 -0
- package/resources/programming/basic_wiki/TIME.md +59 -0
- package/resources/programming/basic_wiki/TROFF.md +21 -0
- package/resources/programming/basic_wiki/TRON.md +39 -0
- package/resources/programming/basic_wiki/USR().md +66 -0
- package/resources/programming/basic_wiki/VAL().md +36 -0
- package/resources/programming/basic_wiki/VARPTR().md +50 -0
- package/resources/programming/basic_wiki/VDP().md +103 -0
- package/resources/programming/basic_wiki/VPEEK().md +46 -0
- package/resources/programming/basic_wiki/VPOKE.md +48 -0
- package/resources/programming/basic_wiki/WAIT.md +38 -0
- package/resources/programming/basic_wiki/WIDTH.md +76 -0
- package/resources/programming/basic_wiki/XOR.md +72 -0
- package/resources/programming/basic_wiki/_toc.json +871 -0
- package/resources/programming/dos_error_handling.md +85 -0
- package/resources/programming/toc.json +51 -36
- package/resources/programming/vdp_commands_speed.md +147 -0
- package/resources/programming/vdp_programming_faq.md +55 -0
- package/resources/programming/vdp_programming_tutorial.md +390 -0
- package/resources/programming/vdp_screensplit_programming_guide.md +166 -0
- package/resources/programming/vdp_scrolling_on_msx.md +124 -0
- package/resources/programming/vdp_the_yjk_screen_modes.md +227 -0
- package/resources/programming/vdp_v9938_vram_timings.md +539 -0
- package/resources/programming/vdp_v9938_vram_timings_part_2.md +281 -0
- package/resources/sdcc/toc.json +1 -1
- package/vector-db/index.json +1 -0
- /package/resources/msx-unapi/{Ethernet_UNAPI_specification_1.1.md → Ethernet_UNAPI_specification_1_1.md} +0 -0
- /package/resources/msx-unapi/{MSX_UNAPI_specification_1.1.md → MSX_UNAPI_specification_1_1.md} +0 -0
|
@@ -0,0 +1,871 @@
|
|
|
1
|
+
{
|
|
2
|
+
"title": "MSX BASIC Programming Reference",
|
|
3
|
+
"description": "Comprehensive reference documentation for MSX BASIC programming language commands, functions, statements, and procedures. Covers all standard MSX BASIC commands, mathematical functions, string operations, I/O operations, graphics commands, sound functions, and system calls.",
|
|
4
|
+
"toc": [
|
|
5
|
+
{
|
|
6
|
+
"title": "ABS() - Absolute Value Function",
|
|
7
|
+
"uri": "msxdocs://basic_wiki/ABS()",
|
|
8
|
+
"description": "Returns the absolute value of a numeric expression. Converts negative numbers to positive while leaving positive numbers unchanged."
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"title": "AND - Logical AND Operator",
|
|
12
|
+
"uri": "msxdocs://basic_wiki/AND",
|
|
13
|
+
"description": "Performs logical AND operation between two expressions. Returns true only when both operands are true."
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"title": "ASC() - ASCII Code Function",
|
|
17
|
+
"uri": "msxdocs://basic_wiki/ASC()",
|
|
18
|
+
"description": "Returns the ASCII code value of the first character in a string expression."
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"title": "ATN() - Arctangent Function",
|
|
22
|
+
"uri": "msxdocs://basic_wiki/ATN()",
|
|
23
|
+
"description": "Returns the arctangent (inverse tangent) of a numeric expression in radians."
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"title": "AUTO - Automatic Line Numbering",
|
|
27
|
+
"uri": "msxdocs://basic_wiki/AUTO",
|
|
28
|
+
"description": "Automatically generates line numbers when entering BASIC program lines, with optional increment values."
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"title": "BASE() - Numeric Base Function",
|
|
32
|
+
"uri": "msxdocs://basic_wiki/BASE()",
|
|
33
|
+
"description": "Function for working with different numeric bases and base conversions in MSX BASIC."
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"title": "BEEP - Sound Beep Command",
|
|
37
|
+
"uri": "msxdocs://basic_wiki/BEEP",
|
|
38
|
+
"description": "Produces a simple beep sound through the MSX sound system."
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"title": "BIN$() - Binary String Function",
|
|
42
|
+
"uri": "msxdocs://basic_wiki/BIN$()",
|
|
43
|
+
"description": "Converts a numeric value to its binary string representation."
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"title": "BLOAD - Binary Load Command",
|
|
47
|
+
"uri": "msxdocs://basic_wiki/BLOAD",
|
|
48
|
+
"description": "Loads binary data from tape or disk into memory at a specified address."
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"title": "BSAVE - Binary Save Command",
|
|
52
|
+
"uri": "msxdocs://basic_wiki/BSAVE",
|
|
53
|
+
"description": "Saves a block of memory as binary data to tape or disk."
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"title": "CALL - Machine Language Call",
|
|
57
|
+
"uri": "msxdocs://basic_wiki/CALL",
|
|
58
|
+
"description": "Calls a machine language subroutine at a specified memory address."
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"title": "CALL ADJUST - Screen Adjustment",
|
|
62
|
+
"uri": "msxdocs://basic_wiki/CALL_ADJUST",
|
|
63
|
+
"description": "MSX2+ specific command for adjusting screen position and display parameters."
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"title": "CALL IMPOSE - Image Overlay",
|
|
67
|
+
"uri": "msxdocs://basic_wiki/CALL_IMPOSE",
|
|
68
|
+
"description": "MSX2+ specific command for overlaying images and graphics on the screen."
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"title": "CALL OPTIONS - System Options",
|
|
72
|
+
"uri": "msxdocs://basic_wiki/CALL_OPTIONS",
|
|
73
|
+
"description": "MSX2+ specific command for setting various system options and configurations."
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"title": "CALL PAUSE - Execution Pause",
|
|
77
|
+
"uri": "msxdocs://basic_wiki/CALL_PAUSE",
|
|
78
|
+
"description": "MSX2+ specific command for pausing program execution."
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"title": "CALL PCMPLAY - PCM Playback",
|
|
82
|
+
"uri": "msxdocs://basic_wiki/CALL_PCMPLAY",
|
|
83
|
+
"description": "MSX2+ specific command for playing PCM audio data."
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"title": "CALL PCMREC - PCM Recording",
|
|
87
|
+
"uri": "msxdocs://basic_wiki/CALL_PCMREC",
|
|
88
|
+
"description": "MSX2+ specific command for recording PCM audio data."
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"title": "CDBL() - Convert to Double Precision",
|
|
92
|
+
"uri": "msxdocs://basic_wiki/CDBL()",
|
|
93
|
+
"description": "Converts a numeric expression to double precision floating point format."
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"title": "CHR$() - Character Function",
|
|
97
|
+
"uri": "msxdocs://basic_wiki/CHR$()",
|
|
98
|
+
"description": "Returns the character corresponding to a given ASCII code value."
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"title": "CINT() - Convert to Integer",
|
|
102
|
+
"uri": "msxdocs://basic_wiki/CINT()",
|
|
103
|
+
"description": "Converts a numeric expression to integer format by rounding to the nearest whole number."
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"title": "CIRCLE - Draw Circle Command",
|
|
107
|
+
"uri": "msxdocs://basic_wiki/CIRCLE",
|
|
108
|
+
"description": "Draws circles, ellipses, arcs, and sectors on the graphics screen."
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"title": "CLEAR - Clear Variables Command",
|
|
112
|
+
"uri": "msxdocs://basic_wiki/CLEAR",
|
|
113
|
+
"description": "Clears all variables and sets aside space for string storage and stack."
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"title": "CLOAD - Cassette Load Command",
|
|
117
|
+
"uri": "msxdocs://basic_wiki/CLOAD",
|
|
118
|
+
"description": "Loads a BASIC program from cassette tape into memory."
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"title": "CLOAD? - Verify Cassette Load",
|
|
122
|
+
"uri": "msxdocs://basic_wiki/CLOAD?",
|
|
123
|
+
"description": "Verifies a BASIC program on cassette tape against the program in memory."
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"title": "CLOSE - Close File Command",
|
|
127
|
+
"uri": "msxdocs://basic_wiki/CLOSE",
|
|
128
|
+
"description": "Closes one or more open files and frees file numbers for reuse."
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"title": "CLS - Clear Screen Command",
|
|
132
|
+
"uri": "msxdocs://basic_wiki/CLS",
|
|
133
|
+
"description": "Clears the screen and homes the cursor to the upper-left corner."
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"title": "COLOR - Set Color Command",
|
|
137
|
+
"uri": "msxdocs://basic_wiki/COLOR",
|
|
138
|
+
"description": "Sets the foreground, background, and border colors for text and graphics modes."
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"title": "COLOR= - Color Palette Assignment",
|
|
142
|
+
"uri": "msxdocs://basic_wiki/COLOR=",
|
|
143
|
+
"description": "MSX2/2+ command for setting color palette entries with RGB values."
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"title": "COLOR_SPRITE$() - Sprite Color String Function",
|
|
147
|
+
"uri": "msxdocs://basic_wiki/COLOR_SPRITE$()",
|
|
148
|
+
"description": "MSX2/2+ function that returns sprite color information as a string."
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"title": "COLOR_SPRITE() - Sprite Color Function",
|
|
152
|
+
"uri": "msxdocs://basic_wiki/COLOR_SPRITE()",
|
|
153
|
+
"description": "MSX2/2+ function that returns sprite color information."
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"title": "CONT - Continue Execution",
|
|
157
|
+
"uri": "msxdocs://basic_wiki/CONT",
|
|
158
|
+
"description": "Continues program execution after a STOP command or break."
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"title": "COPY - Screen Copy Command",
|
|
162
|
+
"uri": "msxdocs://basic_wiki/COPY",
|
|
163
|
+
"description": "Copies screen content to printer or other output device."
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"title": "COPY_SCREEN - Screen Copy Function",
|
|
167
|
+
"uri": "msxdocs://basic_wiki/COPY_SCREEN",
|
|
168
|
+
"description": "MSX2/2+ command for copying screen areas between video pages."
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"title": "COS() - Cosine Function",
|
|
172
|
+
"uri": "msxdocs://basic_wiki/COS()",
|
|
173
|
+
"description": "Returns the cosine of an angle expressed in radians."
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"title": "CSAVE - Cassette Save Command",
|
|
177
|
+
"uri": "msxdocs://basic_wiki/CSAVE",
|
|
178
|
+
"description": "Saves the current BASIC program to cassette tape."
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
"title": "CSNG() - Convert to Single Precision",
|
|
182
|
+
"uri": "msxdocs://basic_wiki/CSNG()",
|
|
183
|
+
"description": "Converts a numeric expression to single precision floating point format."
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
"title": "CSRLIN - Cursor Line Function",
|
|
187
|
+
"uri": "msxdocs://basic_wiki/CSRLIN",
|
|
188
|
+
"description": "Returns the current line position of the cursor on the screen."
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
"title": "DATA - Data Statement",
|
|
192
|
+
"uri": "msxdocs://basic_wiki/DATA",
|
|
193
|
+
"description": "Stores numeric and string constants that can be accessed by READ statements."
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
"title": "DEFDBL - Define Double Precision",
|
|
197
|
+
"uri": "msxdocs://basic_wiki/DEFDBL",
|
|
198
|
+
"description": "Declares that variables starting with specified letters are double precision by default."
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
"title": "DEFINT - Define Integer",
|
|
202
|
+
"uri": "msxdocs://basic_wiki/DEFINT",
|
|
203
|
+
"description": "Declares that variables starting with specified letters are integers by default."
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"title": "DEFSNG - Define Single Precision",
|
|
207
|
+
"uri": "msxdocs://basic_wiki/DEFSNG",
|
|
208
|
+
"description": "Declares that variables starting with specified letters are single precision by default."
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"title": "DEFSTR - Define String",
|
|
212
|
+
"uri": "msxdocs://basic_wiki/DEFSTR",
|
|
213
|
+
"description": "Declares that variables starting with specified letters are strings by default."
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
"title": "DEF FN - Define Function",
|
|
217
|
+
"uri": "msxdocs://basic_wiki/DEF_FN",
|
|
218
|
+
"description": "Defines a user-defined function that can be called later in the program."
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
"title": "DEF USR - Define User Routine",
|
|
222
|
+
"uri": "msxdocs://basic_wiki/DEF_USR",
|
|
223
|
+
"description": "Defines the starting address of a machine language routine accessible via USR function."
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
"title": "DELETE - Delete Lines Command",
|
|
227
|
+
"uri": "msxdocs://basic_wiki/DELETE",
|
|
228
|
+
"description": "Deletes specified lines from the current BASIC program."
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
"title": "DIM - Dimension Arrays",
|
|
232
|
+
"uri": "msxdocs://basic_wiki/DIM",
|
|
233
|
+
"description": "Declares and allocates space for arrays with specified dimensions."
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
"title": "DRAW - Draw Graphics Command",
|
|
237
|
+
"uri": "msxdocs://basic_wiki/DRAW",
|
|
238
|
+
"description": "Draws complex graphics using a string of drawing commands (macro language)."
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
"title": "ELSE - Conditional Else",
|
|
242
|
+
"uri": "msxdocs://basic_wiki/ELSE",
|
|
243
|
+
"description": "Provides alternative execution path in IF...THEN...ELSE conditional statements."
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
"title": "END - End Program",
|
|
247
|
+
"uri": "msxdocs://basic_wiki/END",
|
|
248
|
+
"description": "Terminates program execution and returns control to command mode."
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
"title": "EOF() - End of File Function",
|
|
252
|
+
"uri": "msxdocs://basic_wiki/EOF()",
|
|
253
|
+
"description": "Returns true if the end of a file has been reached during file operations."
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
"title": "EQV - Logical Equivalence",
|
|
257
|
+
"uri": "msxdocs://basic_wiki/EQV",
|
|
258
|
+
"description": "Performs logical equivalence operation between two expressions."
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
"title": "ERASE - Erase Arrays",
|
|
262
|
+
"uri": "msxdocs://basic_wiki/ERASE",
|
|
263
|
+
"description": "Erases arrays and frees the memory space they occupied."
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
"title": "ERL - Error Line Function",
|
|
267
|
+
"uri": "msxdocs://basic_wiki/ERL",
|
|
268
|
+
"description": "Returns the line number where the last error occurred."
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
"title": "ERR - Error Code Function",
|
|
272
|
+
"uri": "msxdocs://basic_wiki/ERR",
|
|
273
|
+
"description": "Returns the error code of the last error that occurred."
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
"title": "ERROR - Generate Error",
|
|
277
|
+
"uri": "msxdocs://basic_wiki/ERROR",
|
|
278
|
+
"description": "Generates a specified error condition for testing error handling routines."
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
"title": "EXP() - Exponential Function",
|
|
282
|
+
"uri": "msxdocs://basic_wiki/EXP()",
|
|
283
|
+
"description": "Returns e raised to the power of the specified expression."
|
|
284
|
+
},
|
|
285
|
+
{
|
|
286
|
+
"title": "FIELD - Define Record Fields",
|
|
287
|
+
"uri": "msxdocs://basic_wiki/FIELD",
|
|
288
|
+
"description": "Defines string variables to access portions of a random access file record."
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
"title": "FIX() - Fix Function",
|
|
292
|
+
"uri": "msxdocs://basic_wiki/FIX()",
|
|
293
|
+
"description": "Returns the integer portion of a number by truncating the decimal part."
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
"title": "FN - User-Defined Function Call",
|
|
297
|
+
"uri": "msxdocs://basic_wiki/FN",
|
|
298
|
+
"description": "Calls a user-defined function previously defined with DEF FN."
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
"title": "FOR...NEXT - Loop Structure",
|
|
302
|
+
"uri": "msxdocs://basic_wiki/FOR...NEXT",
|
|
303
|
+
"description": "Creates a counting loop that repeats a block of statements a specified number of times."
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
"title": "FRE() - Free Memory Function",
|
|
307
|
+
"uri": "msxdocs://basic_wiki/FRE()",
|
|
308
|
+
"description": "Returns the amount of available memory in bytes."
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
"title": "GET_DATE - Get System Date",
|
|
312
|
+
"uri": "msxdocs://basic_wiki/GET_DATE",
|
|
313
|
+
"description": "MSX2+ command that retrieves the current system date."
|
|
314
|
+
},
|
|
315
|
+
{
|
|
316
|
+
"title": "GET_TIME - Get System Time",
|
|
317
|
+
"uri": "msxdocs://basic_wiki/GET_TIME",
|
|
318
|
+
"description": "MSX2+ command that retrieves the current system time."
|
|
319
|
+
},
|
|
320
|
+
{
|
|
321
|
+
"title": "GOSUB - Goto Subroutine",
|
|
322
|
+
"uri": "msxdocs://basic_wiki/GOSUB",
|
|
323
|
+
"description": "Calls a subroutine at a specified line number and remembers the return location."
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
"title": "GOTO - Goto Statement",
|
|
327
|
+
"uri": "msxdocs://basic_wiki/GOTO",
|
|
328
|
+
"description": "Transfers program control unconditionally to a specified line number."
|
|
329
|
+
},
|
|
330
|
+
{
|
|
331
|
+
"title": "HEX$() - Hexadecimal String Function",
|
|
332
|
+
"uri": "msxdocs://basic_wiki/HEX$()",
|
|
333
|
+
"description": "Converts a numeric value to its hexadecimal string representation."
|
|
334
|
+
},
|
|
335
|
+
{
|
|
336
|
+
"title": "IF...GOTO...ELSE - Conditional Goto",
|
|
337
|
+
"uri": "msxdocs://basic_wiki/IF...GOTO...ELSE",
|
|
338
|
+
"description": "Conditional statement that transfers control to specified line numbers based on condition."
|
|
339
|
+
},
|
|
340
|
+
{
|
|
341
|
+
"title": "IF...THEN...ELSE - Conditional Statement",
|
|
342
|
+
"uri": "msxdocs://basic_wiki/IF...THEN...ELSE",
|
|
343
|
+
"description": "Conditional statement that executes different code blocks based on logical conditions."
|
|
344
|
+
},
|
|
345
|
+
{
|
|
346
|
+
"title": "IMP - Logical Implication",
|
|
347
|
+
"uri": "msxdocs://basic_wiki/IMP",
|
|
348
|
+
"description": "Performs logical implication operation between two expressions."
|
|
349
|
+
},
|
|
350
|
+
{
|
|
351
|
+
"title": "INKEY$ - Input Key Function",
|
|
352
|
+
"uri": "msxdocs://basic_wiki/INKEY$",
|
|
353
|
+
"description": "Returns the character of a key pressed on the keyboard without waiting."
|
|
354
|
+
},
|
|
355
|
+
{
|
|
356
|
+
"title": "INP() - Input Port Function",
|
|
357
|
+
"uri": "msxdocs://basic_wiki/INP()",
|
|
358
|
+
"description": "Reads a byte value from a specified I/O port."
|
|
359
|
+
},
|
|
360
|
+
{
|
|
361
|
+
"title": "INPUT$() - Input String Function",
|
|
362
|
+
"uri": "msxdocs://basic_wiki/INPUT$()",
|
|
363
|
+
"description": "Reads a specified number of characters from keyboard or file."
|
|
364
|
+
},
|
|
365
|
+
{
|
|
366
|
+
"title": "INPUT - Input Statement",
|
|
367
|
+
"uri": "msxdocs://basic_wiki/INPUT",
|
|
368
|
+
"description": "Accepts input from keyboard or file and assigns values to variables."
|
|
369
|
+
},
|
|
370
|
+
{
|
|
371
|
+
"title": "INSTR() - String Search Function",
|
|
372
|
+
"uri": "msxdocs://basic_wiki/INSTR()",
|
|
373
|
+
"description": "Searches for the position of a substring within a string."
|
|
374
|
+
},
|
|
375
|
+
{
|
|
376
|
+
"title": "INT() - Integer Function",
|
|
377
|
+
"uri": "msxdocs://basic_wiki/INT()",
|
|
378
|
+
"description": "Returns the largest integer less than or equal to the specified value."
|
|
379
|
+
},
|
|
380
|
+
{
|
|
381
|
+
"title": "INTERVAL - Set Timer Interval",
|
|
382
|
+
"uri": "msxdocs://basic_wiki/INTERVAL",
|
|
383
|
+
"description": "Sets the interval for the timer interrupt used with ON INTERVAL GOSUB."
|
|
384
|
+
},
|
|
385
|
+
{
|
|
386
|
+
"title": "KEY() - Function Key Status",
|
|
387
|
+
"uri": "msxdocs://basic_wiki/KEY()",
|
|
388
|
+
"description": "Returns the status of function keys and other special keys."
|
|
389
|
+
},
|
|
390
|
+
{
|
|
391
|
+
"title": "KEY - Key Assignment",
|
|
392
|
+
"uri": "msxdocs://basic_wiki/KEY",
|
|
393
|
+
"description": "Assigns strings to function keys and controls key display."
|
|
394
|
+
},
|
|
395
|
+
{
|
|
396
|
+
"title": "LEFT$() - Left String Function",
|
|
397
|
+
"uri": "msxdocs://basic_wiki/LEFT$()",
|
|
398
|
+
"description": "Returns a specified number of characters from the left side of a string."
|
|
399
|
+
},
|
|
400
|
+
{
|
|
401
|
+
"title": "LEN() - String Length Function",
|
|
402
|
+
"uri": "msxdocs://basic_wiki/LEN()",
|
|
403
|
+
"description": "Returns the number of characters in a string expression."
|
|
404
|
+
},
|
|
405
|
+
{
|
|
406
|
+
"title": "LET - Assignment Statement",
|
|
407
|
+
"uri": "msxdocs://basic_wiki/LET",
|
|
408
|
+
"description": "Assigns a value to a variable. The LET keyword is optional in most cases."
|
|
409
|
+
},
|
|
410
|
+
{
|
|
411
|
+
"title": "LINE - Draw Line Command",
|
|
412
|
+
"uri": "msxdocs://basic_wiki/LINE",
|
|
413
|
+
"description": "Draws lines, rectangles, and filled boxes on the graphics screen."
|
|
414
|
+
},
|
|
415
|
+
{
|
|
416
|
+
"title": "LINE INPUT - Line Input Statement",
|
|
417
|
+
"uri": "msxdocs://basic_wiki/LINE_INPUT",
|
|
418
|
+
"description": "Reads an entire line of input including commas and quotation marks."
|
|
419
|
+
},
|
|
420
|
+
{
|
|
421
|
+
"title": "LIST - List Program",
|
|
422
|
+
"uri": "msxdocs://basic_wiki/LIST",
|
|
423
|
+
"description": "Displays the current BASIC program or specified line ranges on screen."
|
|
424
|
+
},
|
|
425
|
+
{
|
|
426
|
+
"title": "LLIST - List to Printer",
|
|
427
|
+
"uri": "msxdocs://basic_wiki/LLIST",
|
|
428
|
+
"description": "Prints the current BASIC program or specified line ranges to printer."
|
|
429
|
+
},
|
|
430
|
+
{
|
|
431
|
+
"title": "LOAD - Load Program",
|
|
432
|
+
"uri": "msxdocs://basic_wiki/LOAD",
|
|
433
|
+
"description": "Loads a BASIC program from disk or tape into memory."
|
|
434
|
+
},
|
|
435
|
+
{
|
|
436
|
+
"title": "LOCATE - Position Cursor",
|
|
437
|
+
"uri": "msxdocs://basic_wiki/LOCATE",
|
|
438
|
+
"description": "Positions the text cursor at specified column and row coordinates."
|
|
439
|
+
},
|
|
440
|
+
{
|
|
441
|
+
"title": "LOG() - Natural Logarithm Function",
|
|
442
|
+
"uri": "msxdocs://basic_wiki/LOG()",
|
|
443
|
+
"description": "Returns the natural logarithm (base e) of a specified value."
|
|
444
|
+
},
|
|
445
|
+
{
|
|
446
|
+
"title": "LPOS() - Printer Position Function",
|
|
447
|
+
"uri": "msxdocs://basic_wiki/LPOS()",
|
|
448
|
+
"description": "Returns the current print head position on the printer."
|
|
449
|
+
},
|
|
450
|
+
{
|
|
451
|
+
"title": "LPRINT - Print to Printer",
|
|
452
|
+
"uri": "msxdocs://basic_wiki/LPRINT",
|
|
453
|
+
"description": "Sends formatted output directly to the printer."
|
|
454
|
+
},
|
|
455
|
+
{
|
|
456
|
+
"title": "MAXFILES - Set Maximum Files",
|
|
457
|
+
"uri": "msxdocs://basic_wiki/MAXFILES",
|
|
458
|
+
"description": "Sets the maximum number of files that can be open simultaneously."
|
|
459
|
+
},
|
|
460
|
+
{
|
|
461
|
+
"title": "MERGE - Merge Programs",
|
|
462
|
+
"uri": "msxdocs://basic_wiki/MERGE",
|
|
463
|
+
"description": "Merges a BASIC program from disk or tape with the program currently in memory."
|
|
464
|
+
},
|
|
465
|
+
{
|
|
466
|
+
"title": "MID$() - Middle String Function",
|
|
467
|
+
"uri": "msxdocs://basic_wiki/MID$()",
|
|
468
|
+
"description": "Returns a substring from the middle of a string expression."
|
|
469
|
+
},
|
|
470
|
+
{
|
|
471
|
+
"title": "MOD - Modulo Operator",
|
|
472
|
+
"uri": "msxdocs://basic_wiki/MOD",
|
|
473
|
+
"description": "Returns the remainder of integer division between two numbers."
|
|
474
|
+
},
|
|
475
|
+
{
|
|
476
|
+
"title": "MOTOR - Cassette Motor Control",
|
|
477
|
+
"uri": "msxdocs://basic_wiki/MOTOR",
|
|
478
|
+
"description": "Controls the cassette tape motor for tape operations."
|
|
479
|
+
},
|
|
480
|
+
{
|
|
481
|
+
"title": "NEW - Clear Program",
|
|
482
|
+
"uri": "msxdocs://basic_wiki/NEW",
|
|
483
|
+
"description": "Erases the current program and variables from memory."
|
|
484
|
+
},
|
|
485
|
+
{
|
|
486
|
+
"title": "NOT - Logical NOT Operator",
|
|
487
|
+
"uri": "msxdocs://basic_wiki/NOT",
|
|
488
|
+
"description": "Performs logical negation on an expression, inverting true/false values."
|
|
489
|
+
},
|
|
490
|
+
{
|
|
491
|
+
"title": "OCT$() - Octal String Function",
|
|
492
|
+
"uri": "msxdocs://basic_wiki/OCT$()",
|
|
493
|
+
"description": "Converts a numeric value to its octal string representation."
|
|
494
|
+
},
|
|
495
|
+
{
|
|
496
|
+
"title": "ON...GOSUB - Conditional Subroutine Call",
|
|
497
|
+
"uri": "msxdocs://basic_wiki/ON...GOSUB",
|
|
498
|
+
"description": "Calls one of several subroutines based on the value of an expression."
|
|
499
|
+
},
|
|
500
|
+
{
|
|
501
|
+
"title": "ON...GOTO - Conditional Branch",
|
|
502
|
+
"uri": "msxdocs://basic_wiki/ON...GOTO",
|
|
503
|
+
"description": "Transfers control to one of several line numbers based on expression value."
|
|
504
|
+
},
|
|
505
|
+
{
|
|
506
|
+
"title": "ON ERROR GOTO - Error Handling",
|
|
507
|
+
"uri": "msxdocs://basic_wiki/ON_ERROR_GOTO",
|
|
508
|
+
"description": "Sets up error handling by specifying where to branch when errors occur."
|
|
509
|
+
},
|
|
510
|
+
{
|
|
511
|
+
"title": "ON INTERVAL GOSUB - Timer Interrupt",
|
|
512
|
+
"uri": "msxdocs://basic_wiki/ON_INTERVAL_GOSUB",
|
|
513
|
+
"description": "Sets up a timer interrupt that calls a subroutine at regular intervals."
|
|
514
|
+
},
|
|
515
|
+
{
|
|
516
|
+
"title": "ON KEY GOSUB - Key Interrupt",
|
|
517
|
+
"uri": "msxdocs://basic_wiki/ON_KEY_GOSUB",
|
|
518
|
+
"description": "Sets up key press interrupts that call subroutines when specific keys are pressed."
|
|
519
|
+
},
|
|
520
|
+
{
|
|
521
|
+
"title": "ON SPRITE GOSUB - Sprite Interrupt",
|
|
522
|
+
"uri": "msxdocs://basic_wiki/ON_SPRITE_GOSUB",
|
|
523
|
+
"description": "Sets up sprite collision interrupts that call subroutines when sprites collide."
|
|
524
|
+
},
|
|
525
|
+
{
|
|
526
|
+
"title": "ON STOP GOSUB - Stop Key Interrupt",
|
|
527
|
+
"uri": "msxdocs://basic_wiki/ON_STOP_GOSUB",
|
|
528
|
+
"description": "Sets up interrupt handling for the STOP key press."
|
|
529
|
+
},
|
|
530
|
+
{
|
|
531
|
+
"title": "ON STRIG GOSUB - Trigger Interrupt",
|
|
532
|
+
"uri": "msxdocs://basic_wiki/ON_STRIG_GOSUB",
|
|
533
|
+
"description": "Sets up trigger/joystick button interrupts that call subroutines."
|
|
534
|
+
},
|
|
535
|
+
{
|
|
536
|
+
"title": "OPEN - Open File",
|
|
537
|
+
"uri": "msxdocs://basic_wiki/OPEN",
|
|
538
|
+
"description": "Opens a file for input, output, or random access operations."
|
|
539
|
+
},
|
|
540
|
+
{
|
|
541
|
+
"title": "OR - Logical OR Operator",
|
|
542
|
+
"uri": "msxdocs://basic_wiki/OR",
|
|
543
|
+
"description": "Performs logical OR operation between two expressions."
|
|
544
|
+
},
|
|
545
|
+
{
|
|
546
|
+
"title": "OUT - Output to Port",
|
|
547
|
+
"uri": "msxdocs://basic_wiki/OUT",
|
|
548
|
+
"description": "Sends a byte value to a specified I/O port."
|
|
549
|
+
},
|
|
550
|
+
{
|
|
551
|
+
"title": "PAD() - Touchpad Function",
|
|
552
|
+
"uri": "msxdocs://basic_wiki/PAD()",
|
|
553
|
+
"description": "Returns the status of touchpad coordinates and buttons."
|
|
554
|
+
},
|
|
555
|
+
{
|
|
556
|
+
"title": "PAINT - Paint Fill Command",
|
|
557
|
+
"uri": "msxdocs://basic_wiki/PAINT",
|
|
558
|
+
"description": "Fills an enclosed area on the graphics screen with a specified color or pattern."
|
|
559
|
+
},
|
|
560
|
+
{
|
|
561
|
+
"title": "PDL() - Paddle Function",
|
|
562
|
+
"uri": "msxdocs://basic_wiki/PDL()",
|
|
563
|
+
"description": "Returns the analog value of paddle controllers connected to the MSX."
|
|
564
|
+
},
|
|
565
|
+
{
|
|
566
|
+
"title": "PEEK() - Memory Peek Function",
|
|
567
|
+
"uri": "msxdocs://basic_wiki/PEEK()",
|
|
568
|
+
"description": "Returns the byte value stored at a specified memory address."
|
|
569
|
+
},
|
|
570
|
+
{
|
|
571
|
+
"title": "PLAY() - Music Status Function",
|
|
572
|
+
"uri": "msxdocs://basic_wiki/PLAY()",
|
|
573
|
+
"description": "Returns the number of notes remaining in the music buffer for specified sound channel."
|
|
574
|
+
},
|
|
575
|
+
{
|
|
576
|
+
"title": "PLAY - Music Play Command",
|
|
577
|
+
"uri": "msxdocs://basic_wiki/PLAY",
|
|
578
|
+
"description": "Plays music using Music Macro Language (MML) strings on PSG sound channels."
|
|
579
|
+
},
|
|
580
|
+
{
|
|
581
|
+
"title": "POINT - Point Function",
|
|
582
|
+
"uri": "msxdocs://basic_wiki/POINT",
|
|
583
|
+
"description": "Returns the color of a pixel at specified coordinates on the graphics screen."
|
|
584
|
+
},
|
|
585
|
+
{
|
|
586
|
+
"title": "POKE - Memory Poke Command",
|
|
587
|
+
"uri": "msxdocs://basic_wiki/POKE",
|
|
588
|
+
"description": "Stores a byte value at a specified memory address."
|
|
589
|
+
},
|
|
590
|
+
{
|
|
591
|
+
"title": "POS() - Print Position Function",
|
|
592
|
+
"uri": "msxdocs://basic_wiki/POS()",
|
|
593
|
+
"description": "Returns the current column position of the cursor or print head."
|
|
594
|
+
},
|
|
595
|
+
{
|
|
596
|
+
"title": "PRESET - Reset Pixel Command",
|
|
597
|
+
"uri": "msxdocs://basic_wiki/PRESET",
|
|
598
|
+
"description": "Sets a pixel to the background color at specified coordinates."
|
|
599
|
+
},
|
|
600
|
+
{
|
|
601
|
+
"title": "PRINT - Print Statement",
|
|
602
|
+
"uri": "msxdocs://basic_wiki/PRINT",
|
|
603
|
+
"description": "Displays text, numbers, and expressions on screen or sends data to files. Can be abbreviated as '?'."
|
|
604
|
+
},
|
|
605
|
+
{
|
|
606
|
+
"title": "PSET - Set Pixel Command",
|
|
607
|
+
"uri": "msxdocs://basic_wiki/PSET",
|
|
608
|
+
"description": "Sets a pixel to a specified color at given coordinates on the graphics screen."
|
|
609
|
+
},
|
|
610
|
+
{
|
|
611
|
+
"title": "PUT_KANJI - Display Kanji Character",
|
|
612
|
+
"uri": "msxdocs://basic_wiki/PUT_KANJI",
|
|
613
|
+
"description": "MSX2+ command for displaying Kanji characters from the Kanji ROM."
|
|
614
|
+
},
|
|
615
|
+
{
|
|
616
|
+
"title": "PUT_SPRITE - Put Sprite Command",
|
|
617
|
+
"uri": "msxdocs://basic_wiki/PUT_SPRITE",
|
|
618
|
+
"description": "Displays a sprite at specified coordinates with given pattern and attributes."
|
|
619
|
+
},
|
|
620
|
+
{
|
|
621
|
+
"title": "READ - Read Data Statement",
|
|
622
|
+
"uri": "msxdocs://basic_wiki/READ",
|
|
623
|
+
"description": "Reads values from DATA statements and assigns them to variables."
|
|
624
|
+
},
|
|
625
|
+
{
|
|
626
|
+
"title": "REM - Remark Statement",
|
|
627
|
+
"uri": "msxdocs://basic_wiki/REM",
|
|
628
|
+
"description": "Indicates a comment or remark in the program. Text after REM is ignored during execution."
|
|
629
|
+
},
|
|
630
|
+
{
|
|
631
|
+
"title": "RENUM - Renumber Lines",
|
|
632
|
+
"uri": "msxdocs://basic_wiki/RENUM",
|
|
633
|
+
"description": "Renumbers the lines of the current BASIC program with new increment values."
|
|
634
|
+
},
|
|
635
|
+
{
|
|
636
|
+
"title": "RESTORE - Restore Data Pointer",
|
|
637
|
+
"uri": "msxdocs://basic_wiki/RESTORE",
|
|
638
|
+
"description": "Resets the data pointer to the beginning of DATA statements or to a specified line."
|
|
639
|
+
},
|
|
640
|
+
{
|
|
641
|
+
"title": "RESUME - Resume After Error",
|
|
642
|
+
"uri": "msxdocs://basic_wiki/RESUME",
|
|
643
|
+
"description": "Resumes program execution after an error handling routine."
|
|
644
|
+
},
|
|
645
|
+
{
|
|
646
|
+
"title": "RETURN - Return from Subroutine",
|
|
647
|
+
"uri": "msxdocs://basic_wiki/RETURN",
|
|
648
|
+
"description": "Returns control from a subroutine to the statement following the GOSUB call."
|
|
649
|
+
},
|
|
650
|
+
{
|
|
651
|
+
"title": "RIGHT$() - Right String Function",
|
|
652
|
+
"uri": "msxdocs://basic_wiki/RIGHT$()",
|
|
653
|
+
"description": "Returns a specified number of characters from the right side of a string."
|
|
654
|
+
},
|
|
655
|
+
{
|
|
656
|
+
"title": "RND() - Random Number Function",
|
|
657
|
+
"uri": "msxdocs://basic_wiki/RND()",
|
|
658
|
+
"description": "Returns a random number between 0 and 1, or within a specified range."
|
|
659
|
+
},
|
|
660
|
+
{
|
|
661
|
+
"title": "RUN - Run Program",
|
|
662
|
+
"uri": "msxdocs://basic_wiki/RUN",
|
|
663
|
+
"description": "Starts execution of the current BASIC program, optionally from a specified line."
|
|
664
|
+
},
|
|
665
|
+
{
|
|
666
|
+
"title": "SAVE - Save Program",
|
|
667
|
+
"uri": "msxdocs://basic_wiki/SAVE",
|
|
668
|
+
"description": "Saves the current BASIC program to disk or tape."
|
|
669
|
+
},
|
|
670
|
+
{
|
|
671
|
+
"title": "SCREEN - Set Screen Mode",
|
|
672
|
+
"uri": "msxdocs://basic_wiki/SCREEN",
|
|
673
|
+
"description": "Sets the video display mode, determining resolution, colors, and graphics capabilities."
|
|
674
|
+
},
|
|
675
|
+
{
|
|
676
|
+
"title": "SET_ADJUST - Set Screen Adjustment",
|
|
677
|
+
"uri": "msxdocs://basic_wiki/SET_ADJUST",
|
|
678
|
+
"description": "MSX2+ command for adjusting screen position and display parameters."
|
|
679
|
+
},
|
|
680
|
+
{
|
|
681
|
+
"title": "SET_BEEP - Set Beep Parameters",
|
|
682
|
+
"uri": "msxdocs://basic_wiki/SET_BEEP",
|
|
683
|
+
"description": "MSX2+ command for setting beep sound parameters."
|
|
684
|
+
},
|
|
685
|
+
{
|
|
686
|
+
"title": "SET_DATE - Set System Date",
|
|
687
|
+
"uri": "msxdocs://basic_wiki/SET_DATE",
|
|
688
|
+
"description": "MSX2+ command for setting the system date."
|
|
689
|
+
},
|
|
690
|
+
{
|
|
691
|
+
"title": "SET_PAGE - Set Video Page",
|
|
692
|
+
"uri": "msxdocs://basic_wiki/SET_PAGE",
|
|
693
|
+
"description": "MSX2/2+ command for setting active and visible video pages."
|
|
694
|
+
},
|
|
695
|
+
{
|
|
696
|
+
"title": "SET_PASSWORD - Set Password",
|
|
697
|
+
"uri": "msxdocs://basic_wiki/SET_PASSWORD",
|
|
698
|
+
"description": "MSX2+ command for setting system password protection."
|
|
699
|
+
},
|
|
700
|
+
{
|
|
701
|
+
"title": "SET_PROMPT - Set Command Prompt",
|
|
702
|
+
"uri": "msxdocs://basic_wiki/SET_PROMPT",
|
|
703
|
+
"description": "MSX2+ command for customizing the command prompt."
|
|
704
|
+
},
|
|
705
|
+
{
|
|
706
|
+
"title": "SET_SCREEN - Set Screen Parameters",
|
|
707
|
+
"uri": "msxdocs://basic_wiki/SET_SCREEN",
|
|
708
|
+
"description": "MSX2+ command for setting various screen parameters and modes."
|
|
709
|
+
},
|
|
710
|
+
{
|
|
711
|
+
"title": "SET_SCROLL - Set Scroll Parameters",
|
|
712
|
+
"uri": "msxdocs://basic_wiki/SET_SCROLL",
|
|
713
|
+
"description": "MSX2/2+ command for setting hardware scrolling parameters."
|
|
714
|
+
},
|
|
715
|
+
{
|
|
716
|
+
"title": "SET_TIME - Set System Time",
|
|
717
|
+
"uri": "msxdocs://basic_wiki/SET_TIME",
|
|
718
|
+
"description": "MSX2+ command for setting the system time."
|
|
719
|
+
},
|
|
720
|
+
{
|
|
721
|
+
"title": "SET_TITLE - Set Screen Title",
|
|
722
|
+
"uri": "msxdocs://basic_wiki/SET_TITLE",
|
|
723
|
+
"description": "MSX2+ command for setting screen title text."
|
|
724
|
+
},
|
|
725
|
+
{
|
|
726
|
+
"title": "SET_VIDEO - Set Video Parameters",
|
|
727
|
+
"uri": "msxdocs://basic_wiki/SET_VIDEO",
|
|
728
|
+
"description": "MSX2+ command for setting video output parameters."
|
|
729
|
+
},
|
|
730
|
+
{
|
|
731
|
+
"title": "SGN() - Sign Function",
|
|
732
|
+
"uri": "msxdocs://basic_wiki/SGN()",
|
|
733
|
+
"description": "Returns the sign of a number: -1 for negative, 0 for zero, +1 for positive."
|
|
734
|
+
},
|
|
735
|
+
{
|
|
736
|
+
"title": "SIN() - Sine Function",
|
|
737
|
+
"uri": "msxdocs://basic_wiki/SIN()",
|
|
738
|
+
"description": "Returns the sine of an angle expressed in radians."
|
|
739
|
+
},
|
|
740
|
+
{
|
|
741
|
+
"title": "SOUND - Sound Command",
|
|
742
|
+
"uri": "msxdocs://basic_wiki/SOUND",
|
|
743
|
+
"description": "Generates sounds by directly controlling PSG sound chip registers."
|
|
744
|
+
},
|
|
745
|
+
{
|
|
746
|
+
"title": "SPACE$() - Space String Function",
|
|
747
|
+
"uri": "msxdocs://basic_wiki/SPACE$()",
|
|
748
|
+
"description": "Returns a string consisting of a specified number of space characters."
|
|
749
|
+
},
|
|
750
|
+
{
|
|
751
|
+
"title": "SPC() - Space Print Function",
|
|
752
|
+
"uri": "msxdocs://basic_wiki/SPC()",
|
|
753
|
+
"description": "Prints a specified number of spaces in PRINT statements."
|
|
754
|
+
},
|
|
755
|
+
{
|
|
756
|
+
"title": "SPRITE$() - Sprite String Function",
|
|
757
|
+
"uri": "msxdocs://basic_wiki/SPRITE$()",
|
|
758
|
+
"description": "Returns sprite pattern data as a string for manipulation and storage."
|
|
759
|
+
},
|
|
760
|
+
{
|
|
761
|
+
"title": "SPRITE - Sprite Command",
|
|
762
|
+
"uri": "msxdocs://basic_wiki/SPRITE",
|
|
763
|
+
"description": "Controls sprite attributes including position, color, and pattern."
|
|
764
|
+
},
|
|
765
|
+
{
|
|
766
|
+
"title": "SQR() - Square Root Function",
|
|
767
|
+
"uri": "msxdocs://basic_wiki/SQR()",
|
|
768
|
+
"description": "Returns the square root of a specified numeric expression."
|
|
769
|
+
},
|
|
770
|
+
{
|
|
771
|
+
"title": "STICK() - Joystick Function",
|
|
772
|
+
"uri": "msxdocs://basic_wiki/STICK()",
|
|
773
|
+
"description": "Returns the direction status of joystick controllers."
|
|
774
|
+
},
|
|
775
|
+
{
|
|
776
|
+
"title": "STOP - Stop Program",
|
|
777
|
+
"uri": "msxdocs://basic_wiki/STOP",
|
|
778
|
+
"description": "Halts program execution and displays 'Break in [line number]' message."
|
|
779
|
+
},
|
|
780
|
+
{
|
|
781
|
+
"title": "STR$() - String Conversion Function",
|
|
782
|
+
"uri": "msxdocs://basic_wiki/STR$()",
|
|
783
|
+
"description": "Converts a numeric value to its string representation."
|
|
784
|
+
},
|
|
785
|
+
{
|
|
786
|
+
"title": "STRIG() - Trigger Function",
|
|
787
|
+
"uri": "msxdocs://basic_wiki/STRIG()",
|
|
788
|
+
"description": "Returns the status of joystick trigger buttons and mouse buttons."
|
|
789
|
+
},
|
|
790
|
+
{
|
|
791
|
+
"title": "STRING$() - Repeat String Function",
|
|
792
|
+
"uri": "msxdocs://basic_wiki/STRING$()",
|
|
793
|
+
"description": "Returns a string consisting of a character repeated a specified number of times."
|
|
794
|
+
},
|
|
795
|
+
{
|
|
796
|
+
"title": "SWAP - Swap Variables",
|
|
797
|
+
"uri": "msxdocs://basic_wiki/SWAP",
|
|
798
|
+
"description": "Exchanges the values of two variables of the same type."
|
|
799
|
+
},
|
|
800
|
+
{
|
|
801
|
+
"title": "TAB() - Tab Print Function",
|
|
802
|
+
"uri": "msxdocs://basic_wiki/TAB()",
|
|
803
|
+
"description": "Moves the cursor to a specified column position in PRINT statements."
|
|
804
|
+
},
|
|
805
|
+
{
|
|
806
|
+
"title": "TAN() - Tangent Function",
|
|
807
|
+
"uri": "msxdocs://basic_wiki/TAN()",
|
|
808
|
+
"description": "Returns the tangent of an angle expressed in radians."
|
|
809
|
+
},
|
|
810
|
+
{
|
|
811
|
+
"title": "TIME - System Time Variable",
|
|
812
|
+
"uri": "msxdocs://basic_wiki/TIME",
|
|
813
|
+
"description": "System variable that holds the current time in seconds since midnight."
|
|
814
|
+
},
|
|
815
|
+
{
|
|
816
|
+
"title": "TROFF - Trace Off",
|
|
817
|
+
"uri": "msxdocs://basic_wiki/TROFF",
|
|
818
|
+
"description": "Turns off program trace mode that displays line numbers during execution."
|
|
819
|
+
},
|
|
820
|
+
{
|
|
821
|
+
"title": "TRON - Trace On",
|
|
822
|
+
"uri": "msxdocs://basic_wiki/TRON",
|
|
823
|
+
"description": "Turns on program trace mode that displays line numbers as they execute."
|
|
824
|
+
},
|
|
825
|
+
{
|
|
826
|
+
"title": "USR() - User Function Call",
|
|
827
|
+
"uri": "msxdocs://basic_wiki/USR()",
|
|
828
|
+
"description": "Calls a machine language routine and returns a value."
|
|
829
|
+
},
|
|
830
|
+
{
|
|
831
|
+
"title": "VAL() - Value Function",
|
|
832
|
+
"uri": "msxdocs://basic_wiki/VAL()",
|
|
833
|
+
"description": "Converts a string representation of a number to its numeric value."
|
|
834
|
+
},
|
|
835
|
+
{
|
|
836
|
+
"title": "VARPTR() - Variable Pointer Function",
|
|
837
|
+
"uri": "msxdocs://basic_wiki/VARPTR()",
|
|
838
|
+
"description": "Returns the memory address where a variable is stored."
|
|
839
|
+
},
|
|
840
|
+
{
|
|
841
|
+
"title": "VDP() - Video Display Processor Function",
|
|
842
|
+
"uri": "msxdocs://basic_wiki/VDP()",
|
|
843
|
+
"description": "Reads from VDP (Video Display Processor) status and control registers."
|
|
844
|
+
},
|
|
845
|
+
{
|
|
846
|
+
"title": "VPEEK() - Video Memory Peek Function",
|
|
847
|
+
"uri": "msxdocs://basic_wiki/VPEEK()",
|
|
848
|
+
"description": "Returns a byte value from Video RAM (VRAM) at specified address."
|
|
849
|
+
},
|
|
850
|
+
{
|
|
851
|
+
"title": "VPOKE - Video Memory Poke Command",
|
|
852
|
+
"uri": "msxdocs://basic_wiki/VPOKE",
|
|
853
|
+
"description": "Stores a byte value in Video RAM (VRAM) at specified address."
|
|
854
|
+
},
|
|
855
|
+
{
|
|
856
|
+
"title": "WAIT - Wait Command",
|
|
857
|
+
"uri": "msxdocs://basic_wiki/WAIT",
|
|
858
|
+
"description": "Suspends program execution until a specified I/O port condition is met."
|
|
859
|
+
},
|
|
860
|
+
{
|
|
861
|
+
"title": "WIDTH - Set Screen Width",
|
|
862
|
+
"uri": "msxdocs://basic_wiki/WIDTH",
|
|
863
|
+
"description": "Sets the character width of the screen display and printer output."
|
|
864
|
+
},
|
|
865
|
+
{
|
|
866
|
+
"title": "XOR - Logical XOR Operator",
|
|
867
|
+
"uri": "msxdocs://basic_wiki/XOR",
|
|
868
|
+
"description": "Performs logical exclusive OR operation between two expressions."
|
|
869
|
+
}
|
|
870
|
+
]
|
|
871
|
+
}
|