Showing changes from revision #3 to #4:
Added | Removed | Changed
Traduction en cours
En entrée | |
---|---|
R0 | 64 |
R1 | Flags (reserved, should be zero) |
R2 | Pointer to driver name |
En sortie | |
---|---|
R0 | Allocated driver number |
Tous les autres registres sont inchangés |
The purpose of this call is to register a new GraphicsV driver with the system. This call should be made before the driver installs itself on the GraphicsV vector, so that the driver knows which driver ID to respond to.
Once the driver has installed itself on GraphicsV and completed its hardware initialisation, it should call OS_ScreenMode 65 to indicate that it is ready for use.
The driver name pointed to be R2 must be null-terminated and must remain valid for the lifetime of the driver (i.e. until OS_ScreenMode 67 is called). The name is intended to be used by the OS and applications as a unique identifier for the device; the following conventions should be used: