Difference between revisions of "83Plus:BCALLs:809C"
From WikiTI
m |
|||
Line 1: | Line 1: | ||
− | + | [[Category:83Plus:BCALLs:By Name:Other|CheckOSValidated]] [[Category:83Plus:BCALLs:By Name|CheckOSValidated]] [[Category:83Plus:BCALLs:By Address|809C - CheckOSValidated]] | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
== Synopsis == | == Synopsis == | ||
− | '''Official Name:''' | + | '''Official Name:''' CheckOSValidated |
− | '''BCALL Address:''' | + | '''BCALL Address:''' 809C |
− | + | ||
− | + | Checks bit 0 of certificate byte 1FE0h, which is set to zero once the OS has been successfully validated. | |
=== Inputs === | === Inputs === | ||
− | + | ''None'' | |
− | + | ||
− | + | ||
=== Outputs === | === Outputs === | ||
− | * | + | * Z if the OS has been validated |
− | + | ||
=== Destroys === | === Destroys === | ||
− | * | + | * AF |
+ | * [[83Plus:RAM:8478|OP1]] | ||
== Comments == | == Comments == | ||
− | This | + | Flash must be [[83Plus:Ports:14|write enabled]] first. |
+ | |||
+ | This bit is used in parallel with the bytes at 0056h to flag an OS as valid. Only the bytes at 0056h are checked on startup, but this flag is used in other places where the boot code needs to check if an OS is loaded. | ||
− | + | Note that this B_CALL does ''not'' check the bytes at 0056h, 0038h, or 0026h. | |
− | + | ||
− | + | The reason for making this a B_CALL is not clear to me. | |
− | + |
Latest revision as of 13:44, 30 March 2005
Synopsis
Official Name: CheckOSValidated
BCALL Address: 809C
Checks bit 0 of certificate byte 1FE0h, which is set to zero once the OS has been successfully validated.
Inputs
None
Outputs
- Z if the OS has been validated
Destroys
- AF
- OP1
Comments
Flash must be write enabled first.
This bit is used in parallel with the bytes at 0056h to flag an OS as valid. Only the bytes at 0056h are checked on startup, but this flag is used in other places where the boot code needs to check if an OS is loaded.
Note that this B_CALL does not check the bytes at 0056h, 0038h, or 0026h.
The reason for making this a B_CALL is not clear to me.