I've been reading through the cc65 demos, and I'm trying to understand each command. I'm stuck on a few of the "banks". For example:
// Set the address to increment with each access.
// Address bits 12:5
vpoke(0x1F, 0x5000 + i * 8, (0x010000 >> 5) & 0xFF);