I've found an error in the C64 Programmer's Reference Guide. This copy of the
C64 Programmer's Reference Guide apparently doesn't have the same error. I hope this thread can be used to collect other errors so they won't be a stumbling block for anyone else.
On page 277 ( page 296 of the PDF I have ) the description of the kernel routine
CHRIN states that all characters on the line are stored in the BASIC input buffer.
This is wrong! BASIC stores the line in the BASIC input buffer,
CHRIN does not.
CHRIN reads each character directly from the screen ( screen memory.) If
CHRIN is use from an assembly language program, the line of text on the screen will
not be stored in the BASIC input buffer. Other than that, the description should be correct.
[Edit: Noted discrepancy with copy I have locally and a copy of the C64 Programmer's Reference Guide I found online]