Showing changes from revision #2 to #3:
Added | Removed | Changed
Entry | |
---|---|
R0 | 0 (reason code) |
R1 | 0 to return OS version, or |
1 to return machine information |
Exit | Return OS Version |
---|---|
R0 | Pointer to OS version string as an error block |
R1 | Preserved |
R2 | Corrupted |
V flag set |
Exit | Return Machine Information |
---|---|
R0 | Preserved |
R1 | Machine type |
R2 | Corrupted |
The purpose of this call is to return information about either the Operating System or machine.
If R1=0 on entry, this call displays the OS version by returning it as an error string, with V set.
If R1=1 this call returns the machine type in R1 – all RISC OS machines return 6.