Showing changes from revision #1 to #2:
Added | Removed | Changed
Entry | |
---|---|
R0 | 138 (&8A) |
R1 | Buffer number |
R2 | Byte to insert |
Exit | |
---|---|
R0 | Preserved |
R1 | Preserved |
R2 | Preserved |
C flag set if buffer was full, otherwise clear |
The purpose of this call is to insert a byte into a buffer.
While inserting 9 bytes into the mouse buffer you must disable interrupts to prevent a real mouse transition from being entered into the middle of your data.
Note that characters 0 and 128-255 are inserted into the keyboard buffer as two bytes 0,n to distinguish them from function keys – if you are inserting strings into the keyboard buffer you should be careful to check for top bit set characters and preceed them with a 0 byte, else you may erroneously insert function key keypresses – ‘Ì’ is equivalent to pressing F12, ‘ü’ to pressing Control, Shift F12, which in the desktop will respectively generate a CLI prompt, and initiate desktop shutdown.