c128lib Chipset
Various chipset functionalities.
|
If you need only labels, use:
If you need both labels and macros, use:
Not all files have *_global.asm.
Labels are available by prefixing library name (c128lib) and namespace (for example, Mmu):
https://en.wikipedia.org/wiki/MOS_Technology_CIA
Namespace Cia
Labels $DC00-$DC0F (Cia1) and $DD00-$DD0F (Cia2).
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