/[projet1]/public/oric/demos/OricTech/code/floppybuilderscript.txt
Defence Force logotype

Contents of /public/oric/demos/OricTech/code/floppybuilderscript.txt

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1397 - (show annotations)
Sun Apr 9 10:42:35 2017 UTC (2 years, 11 months ago) by dbug
File MIME type: text/plain
File size: 6018 byte(s)
Updated the OricTech project to use the new version of the FloppyBuilder
1 ;
2 ; Here is the current documentation for the description script.
3 ; - This file describes what goes on the floppy itself, list of files, boot sectors, locations, ...
4 ; - The result is stored in a description file which along with the loader code allows the user to load data.
5 ;
6 ; Syntax:
7 ; - Anything at the right of a ; is ignored (commented out)
8 ; - {FileIndex} is replaced at generation time by the current internal file index, practical for defines generation
9 ;
10 ; Things to do:
11 ; - Be able to define the format of the floppy we want in this file (number of tracks, sectors, sizes)
12 ; - Suppress the need for a source floppy to clone from
13 ; - Have a 0/1 parameter for the multiple calls to the tool, with only the last one needing the files
14 ; - Support for tap files (auto-detect loading area)
15 ; - Support for file compression in the tool
16 ; - Possibility to do partial loads, saves, depacking in realtime
17 ;
18 FormatVersion 0.20
19
20 DefineDisk 2 42 17 ; 2 sides, 42 tracks, 17 sectors
21
22 OutputLayoutFile floppy_description.h
23 OutputFloppyFile ..\build\VIP2015.dsk
24
25 ;AddDefine LOADER_SHOW_DEBUGINFO 1
26 ;AddDefine ENABLE_TIMING_DEBUGGING 1
27 AddDefine LOADER_SECTOR_BUFFER $200
28 AddDefine LOADER_BASE_ZERO_PAGE $F2
29
30 ;
31 ; This defines the bootsectors to use for the various operating systems
32 ; - Jasmin loads the sector 1 of track zero in and then runs it.
33 ; - Microdisc loads the sector 2 of track zero, the address is different on Atmos and Telestrat
34 ; - The system requires a third sector containing valid data
35 ;
36 ; Since we do not yet have a valid Jasmin reading code, all this bootsector will do is to
37 ; write a message saying that this floppy needs to be booted on a Microdisc compatible system.
38 ;
39 SetPosition 0 1
40 WriteSector ..\build\files\sector_1-jasmin.o ; Sector 1
41 WriteSector ..\build\files\sector_2-microdisc.o ; Sector 2
42 WriteSector ..\build\files\sector_3.o ; Sector 3
43
44 ;
45 ; Now here is the loader code, that one is Microdisc only
46 ;
47 SetPosition 0 4
48 WriteLoader ..\build\files\loader.o $fd00 ; Sector 4
49
50 ;
51 ; From now on we compress data (The loader should not be compressed)
52 ;
53 SetCompressionMode FilePack ; So far only two modes: 'None' and 'FilePack'
54
55 ;
56 ; Then the files used in the demo
57 ;
58 AddFile ..\build\files\intro.o ; The VIP intro part
59 AddDefine LOADER_INTRO_PROGRAM {FileIndex}
60 AddDefine LOADER_INTRO_PROGRAM_ADDRESS $c000
61 AddDefine LOADER_INTRO_PROGRAM_TRACK {FileTrack}
62 AddDefine LOADER_INTRO_PROGRAM_SECTOR {FileSector}
63 AddDefine LOADER_INTRO_PROGRAM_SIZE {FileSize}
64 AddDefine LOADER_INTRO_PROGRAM_SIZE_COMPRESSED {FileSizeCompressed}
65
66 AddFile ..\build\files\techtech.o ; The Tech Tech part
67 AddDefine LOADER_TECHTECH_SECOND {FileIndex}
68 AddDefine LOADER_TECHTECH_SECOND_ADDRESS $c000
69 AddDefine LOADER_TECHTECH_SECOND_TRACK {FileTrack}
70 AddDefine LOADER_TECHTECH_SECOND_SECTOR {FileSector}
71 AddDefine LOADER_TECHTECH_SECOND_SIZE {FileSize}
72 AddDefine LOADER_TECHTECH_SECOND_SIZE_COMPRESSED {FileSizeCompressed}
73
74 ;
75 ; The fonts
76 ;
77 AddFile ..\build\files\Font6x8.hir ; 9900=STD, 9D00=ALT
78 AddDefine LOADER_FONT_6x8 {FileIndex}
79
80 AddFile ..\build\files\Font6x6.hir
81 AddDefine LOADER_FONT_6x6 {FileIndex}
82
83
84 ;
85 ; Random logos and pictures
86 ;
87 AddFile ..\build\files\vip_rasters.hir
88 AddDefine LOADER_VIP_LOGO {FileIndex}
89 AddDefine LOADER_VIP_LOGO_SIZE {FileSize}
90
91 AddFile ..\build\files\cloud.hir
92 AddDefine LOADER_CLOUD {FileIndex}
93 AddDefine LOADER_CLOUD_SIZE {FileSize}
94
95 AddFile ..\build\files\rain_drop.hir
96 AddDefine LOADER_RAINDROP {FileIndex}
97 AddDefine LOADER_RAINDROP_SIZE {FileSize}
98
99 AddFile ..\build\files\long_scroller.hir
100 AddDefine LOADER_LONG_SCROLLER {FileIndex}
101 AddDefine LOADER_LONG_SCROLLER_SIZE {FileSize}
102
103 AddFile ..\build\files\SoundWarning.hir
104 AddDefine LOADER_SOUND_WARNING {FileIndex}
105 AddDefine LOADER_SOUND_WARNING_SIZE {FileSize}
106
107
108 ;
109 ; The Scrollable VIP logo
110 ;
111 AddFile ..\build\files\VIPScroll.hir
112 AddDefine LOADER_VIP_SCROLL {FileIndex}
113 AddDefine LOADER_VIP_SCROLL_SIZE {FileSize}
114
115 AddFile ..\build\files\font_30x40.hir
116 AddDefine LOADER_FONT_30x40 {FileIndex}
117 AddDefine LOADER_FONT_30x40_SIZE {FileSize}
118
119 AddFile ..\build\files\overlay.hir
120 AddDefine LOADER_OVERLAY {FileIndex}
121 AddDefine LOADER_OVERLAY_SIZE {FileSize}
122
123 ;
124 ; Audio
125 ;
126 AddFile ..\build\files\BoomTschak.raw ; The kraftwerk music
127 AddDefine LOADER_SAMPLE_BOOMTSCHACK {FileIndex}
128 AddDefine LOADER_SAMPLE_BOOMTSCHACK_SIZE {FileSize}
129
130 AddFile ..\build\files\SampleDefence.raw ; The defence sample
131 AddDefine LOADER_SAMPLE_DEFENCE {FileIndex}
132 AddDefine LOADER_SAMPLE_DEFENCE_SIZE {FileSize}
133
134 AddFile ..\build\files\SampleForce.raw ; The force sample
135 AddDefine LOADER_SAMPLE_FORCE {FileIndex}
136 AddDefine LOADER_SAMPLE_FORCE_SIZE {FileSize}
137
138 AddFile ..\build\files\SampleHa.raw ; The Ha sample
139 AddDefine LOADER_SAMPLE_HA {FileIndex}
140 AddDefine LOADER_SAMPLE_HA_SIZE {FileSize}
141
142 AddFile ..\build\files\SampleYeah.raw ; The Yeah sample
143 AddDefine LOADER_SAMPLE_YEAH {FileIndex}
144 AddDefine LOADER_SAMPLE_YEAH_SIZE {FileSize}
145
146 AddFile ..\build\files\SampleChimeLoopStart.raw ; The First part of the chime loop sample
147 AddDefine LOADER_SAMPLE_CHIME_START {FileIndex}
148 AddDefine LOADER_SAMPLE_CHIME_START_SIZE {FileSize}
149
150 AddFile ..\build\files\SampleChimeLoopEnd.raw ; The End part of the chime loop sample
151 AddDefine LOADER_SAMPLE_CHIME_END {FileIndex}
152 AddDefine LOADER_SAMPLE_CHIME_END_SIZE {FileSize}
153
154
155 AddFile ..\build\files\SampleMusicNonStop.raw ; Music Non Stop
156 AddDefine LOADER_SAMPLE_MUSIC_NON_STOP {FileIndex}
157 AddDefine LOADER_SAMPLE_MUSIC_NON_STOP_SIZE {FileSize}
158
159 AddFile ..\build\files\SampleTechnoPop.raw ; Techno Pop
160 AddDefine LOADER_SAMPLE_TECHNO_POP {FileIndex}
161 AddDefine LOADER_SAMPLE_TECHNO_POP_SIZE {FileSize}
162
163
164
165 ;
166 ; YM Music
167 ;
168 AddFile ..\build\files\ThalionIntro.mym ; The Thalion music intro
169 AddDefine LOADER_INTRO_MUSIC {FileIndex}
170 AddDefine LOADER_INTRO_MUSIC_SIZE {FileSize}

  ViewVC Help
Powered by ViewVC 1.1.26