Showing changes from revision #1 to #2:
Added | Removed | Changed
Entry | |
---|---|
R0 | 11 |
Exit | |
---|---|
R0 | Pointer to debug character output function |
R1 | Pointer to debug character input function |
The purpose of this call is to obtain the addresses of functions that can be used to send and receive bytes to an external debugger. The two calls operate as follows:
Entry | |
---|---|
R0 | Character to transmit |
Exit | |
---|---|
R0-R3, PSR flags | Corrupted |
Entry | |
---|---|
- | - |
Exit | |
---|---|
R0 | Character received, or -1 if none available |
R1-R3, PSR flags | Corrupted |
The functions are expected to be called from a privileged mode, with a valid stack pointer.
On RISC OS 5 this call returns pointers to code that wraps the HAL_DebugTX and HAL_DebugRX HAL calls. If either of the calls are unavailable OS_ReadSysInfo will return with an error.
On RISC OS Select, the call will return pointers to the debug input/output code managed by the SystemInit system.
For RISC OS 5, this call first became available in RISC OS 5.17.