c128lib Common
Various common functionalities.
|
Common module. More...
Functions | |
macro | BasicUpstart128 (address) |
function | neg (value) |
function | incArgument (arg) |
macro | fbne (label) |
macro | fbmi (label) |
function | toBytes (value) |
function | convertHires (data) |
function | convertMultic (data) |
macro | ch (data) |
macro | cm (data) |
Common module.
Macros for starting a new program and other common functions.
macro BasicUpstart128 | ( | address | ) |
BasicUpstart for C128, creates a basic program that sys' the address
address | Address to use with SYS command |
macro ch | ( | data | ) |
macro cm | ( | data | ) |
function convertHires | ( | data | ) |
function convertMultic | ( | data | ) |
macro fbmi | ( | label | ) |
Improved BMI instruction to use far branch.
label | Address to reach if jump is needed; |
macro fbne | ( | label | ) |
Improved BNE instruction to use far branch.
label | Address to reach if jump is needed; |
function incArgument | ( | arg | ) |
Increases argument by one preserving its type (addressing mode). To be used in pseudocommands.
arg | Argument to be incremented |
function neg | ( | value | ) |
Generates the negative value for the argument
value | Value to negated |
function toBytes | ( | value | ) |
Convert kbytes to bytes.
value | Value in Kib to be converted |