Entry | |
---|---|
0 | Return switch state and number of last ADC channel converted |
1 – 4 | ADC channel number for which to return value |
7 | Mouse x |
8 | Mouse y |
246 | Free bytes in mouse buffer |
252 | Free bytes in printer buffer |
253 | Free bytes in serial output buffer |
254 | Free bytes in serial input buffer |
255 | Free bytes in keyboard buffer |
Note that for reading free space, R1 = 255 – buffer number.