Common library
This is a core utility library for c64lib
. It is written in KickAssembler
but in general contains code that is portable to other architectures based on
MOS 6502 (VIC 20, C128, 8-bit Atari etc).
Installation
Follow generic instruction for c64lib
installation
in order to bring “Common library” into your Kick Assembler project. Simply
clone the repository into directory of choice:
git clone https://github.com/c64lib/common.git
Remember to add a directory that contains cloned common repository
to your libdir
when executing Kick Assembler.
Content
invoke
ipsum lorem
Source files: lib/invoke.asm, lib/invoke-global.asm
math
Basic arithmetic operations.
Source files: lib/math.asm, lib/math-global.asm
Convenience macros for 16 bit arithmetic operations such as adding, subtraction, increment, decrement.
mem
Various memory related operations
Source files: lib/mem.asm, lib/mem-global.asm
This module contains various memory related macros and subroutines that cover following scenarios: copying memory blocks, rotating memory blocks, filling memory blocks with given value.