mirror of
https://github.com/KarolS/millfork.git
synced 2026-04-21 09:16:34 +00:00
Documentation overhaul
This commit is contained in:
+1
-1
@@ -1,4 +1,4 @@
|
||||
[< back to index](../index.md)
|
||||
[< back to index](../README.md)
|
||||
|
||||
# Commodore 64-oriented modules
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
[< back to index](../index.md)
|
||||
[< back to index](../README.md)
|
||||
|
||||
## cbm_file
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
[< back to index](../index.md)
|
||||
[< back to index](../README.md)
|
||||
|
||||
Definitions on the following list are frequently provided by the default automatically-imported modules.
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
[< back to index](../index.md)
|
||||
[< back to index](../README.md)
|
||||
|
||||
# Game Boy–oriented modules
|
||||
|
||||
|
||||
@@ -1,10 +1,12 @@
|
||||
[< back to index](../index.md)
|
||||
[< back to index](../README.md)
|
||||
|
||||
## joy
|
||||
|
||||
The module contains global variables representing the state of the one-button joystick.
|
||||
If the program is not using any joystick driver, the state of these variables is undefined.
|
||||
|
||||
To actually use this module, an appropriate joystick module must be used, such as `c64_joy`, `nes_joy` or `gb_joy`.
|
||||
|
||||
#### `sbyte input_dx`
|
||||
|
||||
Horizontal joystick movement. 1 if right, -1 if left, 0 if neither.
|
||||
@@ -36,6 +38,8 @@ The `mouse` module automatically imports the `x_coord` module.
|
||||
The module contains global variables representing the state of the mouse.
|
||||
If the program is not using any mouse driver, the state of these variables is undefined.
|
||||
|
||||
To actually use this module, an appropriate mouse module must be used, such as `c1531`.
|
||||
|
||||
#### `x_coord mouse_x`
|
||||
|
||||
Mouse X position.
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
[< back to index](../index.md)
|
||||
[< back to index](../README.md)
|
||||
|
||||
# NES/Famicom-oriented modules
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
[< back to index](../index.md)
|
||||
[< back to index](../README.md)
|
||||
|
||||
## keyboard
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
[< back to index](../index.md)
|
||||
[< back to index](../README.md)
|
||||
|
||||
## stdio
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
[< back to index](../index.md)
|
||||
[< back to index](../README.md)
|
||||
|
||||
## stdlib
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
[< back to index](../index.md)
|
||||
[< back to index](../README.md)
|
||||
|
||||
## string
|
||||
|
||||
|
||||
Reference in New Issue
Block a user