Distribution: COMPANY CONFIDENTIAL Project: NC model 1 Issue: 0.06 Author(s): Rich Buckley Date: 15-Nov-96 Last Issue: 0.05
0.01 04-Jul-96 First created. 0.02 05-Jul-96 Modified some filenames that were reserved. 0.03 16-Jul-96 Changed ATR slightly following thoughts on card detection. 0.04 29-Aug-96 Added synchronous memory card manufacturer codes and new hardware codes. Added the serial number file to the file structure. 0.06 15-Nov-96 Addition of some and class byte.
The following table specifies how the historical part of the ATR will be used to uniquely identify a particular flavour of card.
Field type | Length (bytes) | Example |
---|---|---|
Manufacturer code | 1 | InCard |
OS code | 1 | IOS version 1 |
Hardware code | 1 | 4k storage |
File structure version | 1 | Version 1 structure |
Date of issue | 3 | Date 960716 |
Licensee code | 3 | Acorn |
Class byte | 1 | Instruction class byte |
Licensee data | 4 | For use by licencee |
Manufacturer | Code |
---|---|
Reserved | 0 |
Reserved | 1 |
Reserved | 2 |
I2C synchronous | 3 |
Microwire synchronous | 4 |
Manufacturer code | OS description | OS code |
---|---|---|
5 | IOS version 1.0 | 0 |
6 | ICC version 6.1 | 0 |
7 | their OS | 0 |
Manufacturer code | Hardware description | Hardware code |
---|---|---|
5 (InCard) | 4k storage | 0 |
5 (InCard) | 8k storage | 1 |
5 (InCard) | 4k storage with DES | 2 |
5 (InCard) | 8k storage with DES | 3 |
6 (Orga) | 4k storage | 0 |
6 (Orga) | 8k storage | 1 |
7 (Schlumberger) | 3k storage | 1 |
7 (Schlumberger) | 4k storage | 2 |
7 (Schlumberger) | 8k storage | 3 |
Value | Description |
---|---|
1 | Initial ATR and file structure |
2 | ATR including Class Byte and manufacturer code in serial number |
Licensee name | Licensee code |
---|---|
Acorn | 0x000001 |
purpose | file id | size (bytes) | read AC | write AC |
---|---|---|---|---|
the following files (EFs) will reside in the root directory. | ||||
CHV1 file | 0x0000 | 23 | NEV | NEV |
CHV2 file | 0x0100 | 23 | NEV | NEV |
Serial number | 0x0020 | 16 | ALW | NEV |
directory /nc to keep boot blocks | 0x4e43 | enough to hold specified files | ALW | ALW |
directory /is to keep isp stuff | 0x4955 | all remaining space available | ALW | ALW |
the following files (EFs) will reside in the /nc directory. | ||||
index file for file id lookup and r/o flags | 0x0020 | 96 | ALW | CHV1 |
boot block 1 | 0x0021 | 440 | CHV1 | CHV1 |
boot block 2 | 0x0022 | 440 | CHV1 | CHV1 |
boot block 3 | 0x0023 | 440 | CHV1 | CHV1 |
boot block 4 | 0x0024 | 440 | CHV1 | CHV1 |
the following file (EF) will reside in the /is directory. | ||||
isp specific file | 0x0020 | all remaining space available | CHV1 | CHV1 |
Both CHV codes should be intialised to CHV (hex) 31,32,33,34,ff,ff,ff,ff.
Unblocking CHV code should be initialised to (hex) 03,01,04,01,05,09,02,06.
Both CHV error counter and unblocking counter initial values should be at maximum.
The serial number contained in the file /0020 should be formatted as shown in the table below.
Byte(s) | Description |
---|---|
0 | Manufacturer code |
1-15 | Binary representation of the serial number |