Entry | |
---|---|
R1 | Buffer number plus flags: |
b31 clear for Single Insertion, set for Block Mode | |
b30 Used by the DeepKeys extension |
Entry | |
---|---|
R0 | Code to be inserted |
R1 | Buffer number, b31 clear |
R9 | 20 (&14) vector number |
Exit | |
---|---|
R0 | Preserved |
R1 | Preserved |
R2 | Corrupted |
C flag set if insertion failed |
Entry | |
---|---|
R1 | Buffer number, b31 set |
R2 | Pointer to data still to insert |
R3 | Number of codes to insert |
R9 | 20 (&14) vector number |
Exit | |
---|---|
R0 | Preserved |
R1 | Preserved |
R2 | Pointer to data still to insert |
R3 | Number of bytes left to insert |
C flag set if insertion failed |
This vector is called to place one or more bytes in a buffer.
All characters inserted into buffers are sent through this vector. Used by OS_Byte 138 and OS_Byte 153.
If called via OS_CallAVector then interrupts must be disabled first.
Note that Block Mode is not necessarily supported for all buffer numbers. The BufferManager module does support Block Mode for the buffers it manages (eg Serial, Printer, Mouse).