Header | Image |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Systems | that | support | SMAPI |
| BIOS must provide the following header | ||||||||||||||
image in the F000 segment system ROM area at the |
| ||||||||||||||||||
boundary. The | client | needs | to search and find this SMAPI | BIOS | |||||||||||||||
header image | to | get | the | entry | point for | the | service. |
| |||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Field |
|
|
|
|
|
|
| Offset |
| Length |
| Value |
|
|
|
|
|
| |
|
|
|
|
|
|
|
| (in |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Hex) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||
Signature |
|
|
|
|
| 00 |
|
| 4 bytes | '$SMB | ' | (ASCII) |
|
|
|
| |||
Version | (Major) |
|
|
|
| 04 |
|
| Byte |
| 01h |
|
|
|
|
|
| ||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||
Version | (Minor) |
|
|
|
| 05 |
|
| Byte |
| 00h |
|
|
|
|
|
| ||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Length |
|
|
|
|
|
| 06 |
|
| Byte |
| 20h |
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Checksum |
|
|
|
|
|
| 07 |
|
| Byte |
| – |
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||
Information | Word |
|
|
| 08 |
|
| Word |
| – |
|
|
|
|
|
| |||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||
Reserved | 1 |
|
|
|
| 0A |
|
| Word |
| – |
|
|
|
|
|
| ||
|
|
|
|
|
|
|
|
|
|
|
| ||||||||
Real mode | to0C | entry | Word |
| – |
|
|
|
|
|
| ||||||||
point |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
| ||||||||
Real mode | segment0E |
| Word |
| – |
|
|
|
|
|
| ||||||||
address |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||
Reserved | 2 |
|
|
|
| 10 |
|
| Word |
| – |
|
|
|
|
|
| ||
|
|
|
|
|
|
|
|
|
|
|
| ||||||||
to | Word |
| – |
|
|
|
|
|
| ||||||||||
entry | point |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||
|
|
|
|
|
|
|
|
|
|
|
| ||||||||
|
| Double | – |
|
|
|
|
|
| ||||||||||
segment | base address |
|
|
|
|
| words |
|
|
|
|
|
|
|
| ||||
|
|
|
|
|
|
|
|
|
|
| |||||||||
to | Double | – |
|
|
|
|
|
| |||||||||||
entry | point |
|
|
|
|
|
|
| words |
|
|
|
|
|
|
|
| ||
|
|
|
|
|
|
|
|
|
|
|
| ||||||||
|
| Double | – |
|
|
|
|
|
| ||||||||||
segment | base address |
|
|
|
|
| words |
|
|
|
|
|
|
|
| ||||
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||
Signature |
| ASCII Code'$SMB | ' |
| is | stored | at | the top |
| of | the | header | |||||||
|
|
| image. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Version | (Major | or | Minor) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
| Indicates | the | SMAPI | BIOS | version. |
|
|
|
|
| |||||||
Length |
|
| The | length | of | the | header | image. |
|
|
|
|
| ||||||
Checksum |
|
| Checksum | byte | area. The | client | verifies that this | ||||||||||||
|
|
| header | image | is | valid by using this checksum; the client | |||||||||||||
|
|
| should | check | all |
| header | image | bytes, | and | the | result will | |||||||
|
|
| be | zero | bytes. |
|
|
|
|
|
|
|
|
|