/[projet1]/public/pc/tools/osdk/main/Osdk/_final_/sample/floppybuilder/code/floppy_description.h
Defence Force logotype

Contents of /public/pc/tools/osdk/main/Osdk/_final_/sample/floppybuilder/code/floppy_description.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1343 - (show annotations)
Thu Jan 7 18:57:50 2016 UTC (4 years, 1 month ago) by dbug
File MIME type: text/plain
File size: 2346 byte(s)
Simplified version of the FloppyBuilder sample code with a new api.
1 //
2 // Floppy layout generated by FloppyBuilder 0.18
3 //
4
5 #ifdef ASSEMBLER
6 //
7 // Information for the Assembler
8 //
9 #ifdef LOADER
10 FileStartSector .byt 4,7,9,10,13,2,9
11 FileStartTrack .byt 0,0,0,0,0,1,1
12 FileStoredSizeLow .byt <768,<266,<39,<556,<1536,<1602,<1619
13 FileStoredSizeHigh .byt >768,>266,>39,>556,>1536,>1602,>1619
14 FileSizeLow .byt <768,<486,<39,<760,<1536,<8000,<8000
15 FileSizeHigh .byt >768,>486,>39,>760,>1536,>8000,>8000
16 FileLoadAdressLow .byt <64768,<49152,<49152,<39168,<0,<40960,<40960
17 FileLoadAdressHigh .byt >64768,>49152,>49152,>39168,>0,>40960,>40960
18 #endif // LOADER
19 #else
20 //
21 // Information for the Compiler
22 //
23 #endif
24
25 //
26 // Summary for this floppy building session:
27 //
28 #define FLOPPY_SIDE_NUMBER 2 // Number of sides
29 #define FLOPPY_TRACK_NUMBER 42 // Number of tracks
30 #define FLOPPY_SECTOR_PER_TRACK 17 // Number of sectors per track
31
32 //
33 // List of files written to the floppy
34 //
35 // Entry #0 '..\build\files\loader.o'
36 // - Loads at address 64768 starts on track 0 sector 4 and is 3 sectors long (768 bytes).
37 // Entry #1 '..\build\files\FirstProgram.o'
38 // - Loads at address 49152 starts on track 0 sector 7 and is 2 sectors long (266 compressed bytes: 54% of 486 bytes).
39 // Entry #2 '..\build\files\SecondProgram.o'
40 // - Loads at address 49152 starts on track 0 sector 9 and is 1 sectors long (39 bytes).
41 // Entry #3 '..\build\files\Font6x8.hir'
42 // - Loads at address 39168 starts on track 0 sector 10 and is 3 sectors long (556 compressed bytes: 73% of 760 bytes).
43 // Entry #4 'Reserved sectors'
44 // - Loads at address 0 starts on track 0 sector 13 and is 6 sectors long (1536 bytes).
45 // Entry #5 '..\build\files\FirstProgram.hir'
46 // - Loads at address 40960 starts on track 1 sector 2 and is 7 sectors long (1602 compressed bytes: 20% of 8000 bytes).
47 // Entry #6 '..\build\files\SecondProgram.hir'
48 // - Loads at address 40960 starts on track 1 sector 9 and is 7 sectors long (1619 compressed bytes: 20% of 8000 bytes).
49 //
50 // 32 sectors used, out of 1428. (2% of the total disk size used)
51 //
52 #define LOADER_PROGRAM_FIRST 1
53 #define LOADER_PROGRAM_SECOND 2
54 #define LOADER_FONT_6x8 3
55 #define LOADER_PICTURE_FIRSTPROGRAM 5
56 #define LOADER_PICTURE_FIRSTPROGRAM_SIZE 8000
57 #define LOADER_PICTURE_SECONDPROGRAM 6
58 #define LOADER_PICTURE_SECONDPROGRAM_SIZE 8000
59
60 //
61 // Metadata
62 //
63 #ifdef METADATA_STORAGE
64
65 #endif // METADATA_STORAGE
66

  ViewVC Help
Powered by ViewVC 1.1.26