mirror of
https://github.com/KarolS/millfork.git
synced 2025-01-27 11:30:19 +00:00
61 lines
1.1 KiB
Markdown
61 lines
1.1 KiB
Markdown
[< back to index](../index.md)
|
|
|
|
# Commodore 64-oriented modules
|
|
|
|
## `c64_kernal` module
|
|
|
|
The `c64_kernal` module is imported automatically on the C64 target.
|
|
|
|
TODO
|
|
|
|
## c64_basic module
|
|
|
|
TODO
|
|
|
|
## c64_hardware
|
|
|
|
TODO
|
|
|
|
## c1531_mouse
|
|
|
|
The `c1531_mouse` module implements a Commodore 1531 proportional mouse driver compatible with the `mouse` module.
|
|
|
|
#### `void c1531_mouse()`
|
|
|
|
Updates the state of the mouse.
|
|
|
|
## c1531_mouse_default
|
|
|
|
Defines the `c1531` module as the default module for reading mouse input.
|
|
|
|
#### `alias read_mouse = c1531_mouse`
|
|
|
|
## c64_joy
|
|
|
|
The `c64_joy` module implements a joystick driver compatible with the `joy` module.
|
|
|
|
#### `void read_joy2()`
|
|
|
|
Reads the joystick from the port 2.
|
|
|
|
#### `void read_joy1()`
|
|
|
|
Reads the joystick from the port 1.
|
|
|
|
#### `void read_also_joy2()`
|
|
|
|
Reads the joystick from the port 2 and adds its readouts to the current readouts.
|
|
|
|
#### `void read_also_joy1()`
|
|
|
|
Reads the joystick from the port 1 and adds its readouts to the current readouts.
|
|
|
|
## c64_joy2_default
|
|
|
|
Defines the joystick in port 2 as the default joystick.
|
|
|
|
#### `alias read_joy = read_joy2`
|
|
|
|
|
|
|