If you need only labels, use:
#import "./lib/mmu.asm"
If you need both labels and macros, use:
#import "./lib/mmu-global.asm"
Not all files have *_global.asm.
Labels are available by prefixing library name (c128lib) and namespace (for example, Mmu):
sta c128lib.Mmu.LOAD_CONFIGURATION
https://en.wikipedia.org/wiki/MOS_Technology_CIA
Namespace Cia
Labels $DC00-$DC0F (Cia1) and $DD00-$DD0F (Cia2).
- https://c128lib.github.io/Reference/Cia
- https://c128lib.github.io/Reference/DC00
- https://c128lib.github.io/Reference/DD00
Namespace Mmu
Labels $D500-$D50B and $FF00-$FF04
https://en.wikipedia.org/wiki/MOS_Technology_8502
Namespace Mos8502
Labels $00-$01
TBD
https://en.wikipedia.org/wiki/MOS_Technology_6581
Namespace Sid
Labels $D400-$D41C
https://en.wikipedia.org/wiki/MOS_Technology_8563
Namespace Vdc
Labels $D600-$D601 and internal register $00-$24
Fill screen ram with a specific character.
Preprocessor symbol: FILLSCREEN
Fill attribute ram with a specific value.
Preprocessor symbol: FILLATTRIBUTE
Move screen ram pointer to 0/0 on screen.
Preprocessor symbol: MOVESCREENPOINTERTO00
Move ram pointer to 0/0 in attribute memory.
Preprocessor symbol: MOVEATTRIBUTEPOINTERTO00
Print a char at specific coordinates in screen memory.
Preprocessor symbol: PRINTCHARATPOSITION
Position the ram pointer at specific coordinates in screen memory.
Preprocessor symbol: POSITIONXY
Position the ram pointer at specific coordinates in attribute memory.
Preprocessor symbol: POSITIONATTRXY
Pass the number of times in A.
Preprocessor symbol: REPEATBYTE
Write a specific byte to current ram pointer.
Preprocessor symbol: WRITEBYTE
Set ram pointer.
Preprocessor symbol: SETRAMPOINTER
Initialize VDC for text display.
Preprocessor symbol: INITTEXT
https://en.wikipedia.org/wiki/MOS_Technology_VIC-II
Namespace Vic2
Labels $D000-$D030