Showing changes from revision #3 to #4:
Added | Removed | Changed
Entry | |
---|---|
R1 | Buffer number plus flags: |
b31 clear for Single Insertion, set for Block Mode | |
b30 Used by the DeepKeys extension |
Entry | |
---|---|
R0 | Byte to be inserted |
R1 | Buffer number, bit-31 clear for byte insertion |
R9 | 20 (&14) vector number |
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 , |
R2 | Pointer to data still to insert |
R3 | Number of |
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 byOS_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).