OSByte call | Action | Available on: | |||
---|---|---|---|---|---|
(dec) | (hex) | BBC | Master | Electron | |
0 | 00 | Get OS version | x | x | x |
Entry parameters
X | 0 execute BRK with message of OS version, <>0 RTS with OS version in X |
---|
On exit:
A | Preserved |
---|---|
X | OS version |
C | Undefined |
This OSBYTE call returns the OS type in X or as a message via BRK if X=0 on entry.
Returned values
X | OS version |
---|---|
0 | OS 1.00 or Electron OS 1.00 |
1 | OS 1.20 or American OS |