Home » Archimedes archive » Archimedes World » AW-1996-07.adf » !Address_Address » !Address/data/CardBlock

!Address/data/CardBlock

This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.

Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.

Tape/disk: Home » Archimedes archive » Archimedes World » AW-1996-07.adf » !Address_Address
Filename: !Address/data/CardBlock
Read OK:
File size: 053E bytes
Load address: 0000
Exec address: 0000
File contents
this file will give the description of the card block which is used in the program

At 0    12 bytes        "CardBlock"
At 12   4 bytes         version number * 100 currently 1.00
At 16   4 bytes         size in bytes of a card
At 20   4 bytes         size in bytes of indirected data for card (total)
At 24   16 bytes        for future compatiblity, needs to all be set to zero
At 40 :

It now has a card description block which is as follows
+0      4 bytes         Pointer offset to Tag name              ; 
+4      4 bytes         Pointer offset to Surname               ;
+8      4 bytes         Pointer offset to Fore-name(s)          ;     
+12     4 bytes         Pointer offset to Address 1             ;  
+16     4 bytes         Pointer offset to Address 2             ;  
+20     4 bytes         Pointer offset to Address 3             ;  
+24     4 bytes         Pointer offset to Address 4             ;  
+28     4 bytes         Pointer offset to Address 5             ;  
+32     4 bytes         Pointer offset to Post-code             ;  
+36     4 bytes         Pointer offset to Telephone number      ;         
+40     4 bytes         Pointer offset to Fax number            ;   
+44     4 bytes         Pointer offset to E-mail address        ;       
+48     4 bytes         Pointer offset to Extra Info            ;   
00000000  74 68 69 73 20 66 69 6c  65 20 77 69 6c 6c 20 67  |this file will g|
00000010  69 76 65 20 74 68 65 20  64 65 73 63 72 69 70 74  |ive the descript|
00000020  69 6f 6e 20 6f 66 20 74  68 65 20 63 61 72 64 20  |ion of the card |
00000030  62 6c 6f 63 6b 20 77 68  69 63 68 20 69 73 20 75  |block which is u|
00000040  73 65 64 20 69 6e 20 74  68 65 20 70 72 6f 67 72  |sed in the progr|
00000050  61 6d 0a 0a 41 74 20 30  20 20 20 20 31 32 20 62  |am..At 0    12 b|
00000060  79 74 65 73 20 20 20 20  20 20 20 20 22 43 61 72  |ytes        "Car|
00000070  64 42 6c 6f 63 6b 22 0a  41 74 20 31 32 20 20 20  |dBlock".At 12   |
00000080  34 20 62 79 74 65 73 20  20 20 20 20 20 20 20 20  |4 bytes         |
00000090  76 65 72 73 69 6f 6e 20  6e 75 6d 62 65 72 20 2a  |version number *|
000000a0  20 31 30 30 20 63 75 72  72 65 6e 74 6c 79 20 31  | 100 currently 1|
000000b0  2e 30 30 0a 41 74 20 31  36 20 20 20 34 20 62 79  |.00.At 16   4 by|
000000c0  74 65 73 20 20 20 20 20  20 20 20 20 73 69 7a 65  |tes         size|
000000d0  20 69 6e 20 62 79 74 65  73 20 6f 66 20 61 20 63  | in bytes of a c|
000000e0  61 72 64 0a 41 74 20 32  30 20 20 20 34 20 62 79  |ard.At 20   4 by|
000000f0  74 65 73 20 20 20 20 20  20 20 20 20 73 69 7a 65  |tes         size|
00000100  20 69 6e 20 62 79 74 65  73 20 6f 66 20 69 6e 64  | in bytes of ind|
00000110  69 72 65 63 74 65 64 20  64 61 74 61 20 66 6f 72  |irected data for|
00000120  20 63 61 72 64 20 28 74  6f 74 61 6c 29 0a 41 74  | card (total).At|
00000130  20 32 34 20 20 20 31 36  20 62 79 74 65 73 20 20  | 24   16 bytes  |
00000140  20 20 20 20 20 20 66 6f  72 20 66 75 74 75 72 65  |      for future|
00000150  20 63 6f 6d 70 61 74 69  62 6c 69 74 79 2c 20 6e  | compatiblity, n|
00000160  65 65 64 73 20 74 6f 20  61 6c 6c 20 62 65 20 73  |eeds to all be s|
00000170  65 74 20 74 6f 20 7a 65  72 6f 0a 41 74 20 34 30  |et to zero.At 40|
00000180  20 3a 0a 0a 49 74 20 6e  6f 77 20 68 61 73 20 61  | :..It now has a|
00000190  20 63 61 72 64 20 64 65  73 63 72 69 70 74 69 6f  | card descriptio|
000001a0  6e 20 62 6c 6f 63 6b 20  77 68 69 63 68 20 69 73  |n block which is|
000001b0  20 61 73 20 66 6f 6c 6c  6f 77 73 0a 2b 30 20 20  | as follows.+0  |
000001c0  20 20 20 20 34 20 62 79  74 65 73 20 20 20 20 20  |    4 bytes     |
000001d0  20 20 20 20 50 6f 69 6e  74 65 72 20 6f 66 66 73  |    Pointer offs|
000001e0  65 74 20 74 6f 20 54 61  67 20 6e 61 6d 65 20 20  |et to Tag name  |
000001f0  20 20 20 20 20 20 20 20  20 20 20 20 3b 20 0a 2b  |            ; .+|
00000200  34 20 20 20 20 20 20 34  20 62 79 74 65 73 20 20  |4      4 bytes  |
00000210  20 20 20 20 20 20 20 50  6f 69 6e 74 65 72 20 6f  |       Pointer o|
00000220  66 66 73 65 74 20 74 6f  20 53 75 72 6e 61 6d 65  |ffset to Surname|
00000230  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 3b  |               ;|
00000240  0a 2b 38 20 20 20 20 20  20 34 20 62 79 74 65 73  |.+8      4 bytes|
00000250  20 20 20 20 20 20 20 20  20 50 6f 69 6e 74 65 72  |         Pointer|
00000260  20 6f 66 66 73 65 74 20  74 6f 20 46 6f 72 65 2d  | offset to Fore-|
00000270  6e 61 6d 65 28 73 29 20  20 20 20 20 20 20 20 20  |name(s)         |
00000280  20 3b 20 20 20 20 20 0a  2b 31 32 20 20 20 20 20  | ;     .+12     |
00000290  34 20 62 79 74 65 73 20  20 20 20 20 20 20 20 20  |4 bytes         |
000002a0  50 6f 69 6e 74 65 72 20  6f 66 66 73 65 74 20 74  |Pointer offset t|
000002b0  6f 20 41 64 64 72 65 73  73 20 31 20 20 20 20 20  |o Address 1     |
000002c0  20 20 20 20 20 20 20 20  3b 20 20 0a 2b 31 36 20  |        ;  .+16 |
000002d0  20 20 20 20 34 20 62 79  74 65 73 20 20 20 20 20  |    4 bytes     |
000002e0  20 20 20 20 50 6f 69 6e  74 65 72 20 6f 66 66 73  |    Pointer offs|
000002f0  65 74 20 74 6f 20 41 64  64 72 65 73 73 20 32 20  |et to Address 2 |
00000300  20 20 20 20 20 20 20 20  20 20 20 20 3b 20 20 0a  |            ;  .|
00000310  2b 32 30 20 20 20 20 20  34 20 62 79 74 65 73 20  |+20     4 bytes |
00000320  20 20 20 20 20 20 20 20  50 6f 69 6e 74 65 72 20  |        Pointer |
00000330  6f 66 66 73 65 74 20 74  6f 20 41 64 64 72 65 73  |offset to Addres|
00000340  73 20 33 20 20 20 20 20  20 20 20 20 20 20 20 20  |s 3             |
00000350  3b 20 20 0a 2b 32 34 20  20 20 20 20 34 20 62 79  |;  .+24     4 by|
00000360  74 65 73 20 20 20 20 20  20 20 20 20 50 6f 69 6e  |tes         Poin|
00000370  74 65 72 20 6f 66 66 73  65 74 20 74 6f 20 41 64  |ter offset to Ad|
00000380  64 72 65 73 73 20 34 20  20 20 20 20 20 20 20 20  |dress 4         |
00000390  20 20 20 20 3b 20 20 0a  2b 32 38 20 20 20 20 20  |    ;  .+28     |
000003a0  34 20 62 79 74 65 73 20  20 20 20 20 20 20 20 20  |4 bytes         |
000003b0  50 6f 69 6e 74 65 72 20  6f 66 66 73 65 74 20 74  |Pointer offset t|
000003c0  6f 20 41 64 64 72 65 73  73 20 35 20 20 20 20 20  |o Address 5     |
000003d0  20 20 20 20 20 20 20 20  3b 20 20 0a 2b 33 32 20  |        ;  .+32 |
000003e0  20 20 20 20 34 20 62 79  74 65 73 20 20 20 20 20  |    4 bytes     |
000003f0  20 20 20 20 50 6f 69 6e  74 65 72 20 6f 66 66 73  |    Pointer offs|
00000400  65 74 20 74 6f 20 50 6f  73 74 2d 63 6f 64 65 20  |et to Post-code |
00000410  20 20 20 20 20 20 20 20  20 20 20 20 3b 20 20 0a  |            ;  .|
00000420  2b 33 36 20 20 20 20 20  34 20 62 79 74 65 73 20  |+36     4 bytes |
00000430  20 20 20 20 20 20 20 20  50 6f 69 6e 74 65 72 20  |        Pointer |
00000440  6f 66 66 73 65 74 20 74  6f 20 54 65 6c 65 70 68  |offset to Teleph|
00000450  6f 6e 65 20 6e 75 6d 62  65 72 20 20 20 20 20 20  |one number      |
00000460  3b 20 20 20 20 20 20 20  20 20 0a 2b 34 30 20 20  |;         .+40  |
00000470  20 20 20 34 20 62 79 74  65 73 20 20 20 20 20 20  |   4 bytes      |
00000480  20 20 20 50 6f 69 6e 74  65 72 20 6f 66 66 73 65  |   Pointer offse|
00000490  74 20 74 6f 20 46 61 78  20 6e 75 6d 62 65 72 20  |t to Fax number |
000004a0  20 20 20 20 20 20 20 20  20 20 20 3b 20 20 20 0a  |           ;   .|
000004b0  2b 34 34 20 20 20 20 20  34 20 62 79 74 65 73 20  |+44     4 bytes |
000004c0  20 20 20 20 20 20 20 20  50 6f 69 6e 74 65 72 20  |        Pointer |
000004d0  6f 66 66 73 65 74 20 74  6f 20 45 2d 6d 61 69 6c  |offset to E-mail|
000004e0  20 61 64 64 72 65 73 73  20 20 20 20 20 20 20 20  | address        |
000004f0  3b 20 20 20 20 20 20 20  0a 2b 34 38 20 20 20 20  |;       .+48    |
00000500  20 34 20 62 79 74 65 73  20 20 20 20 20 20 20 20  | 4 bytes        |
00000510  20 50 6f 69 6e 74 65 72  20 6f 66 66 73 65 74 20  | Pointer offset |
00000520  74 6f 20 45 78 74 72 61  20 49 6e 66 6f 20 20 20  |to Extra Info   |
00000530  20 20 20 20 20 20 20 20  20 3b 20 20 20 0a        |         ;   .|
0000053e