/[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 1283 - (show annotations)
Sun May 31 12:03:16 2015 UTC (4 years, 6 months ago) by dbug
File MIME type: text/plain
File size: 5498 byte(s)
Added the source code (as is) for the OricTech VIP 2015 demo.
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 ;LoadDiskTemplate default.dsk
19 DefineDisk 2 42 17 ; 2 sides, 42 tracks, 17 sectors
20
21 OutputLayoutFile floppy_description.h
22 OutputFloppyFile ..\build\VIP2015.dsk
23
24 ;AddDefine LOADER_SHOW_DEBUGINFO 1
25 ;AddDefine ENABLE_TIMING_DEBUGGING 1
26
27 ;
28 ; This defines the bootsectors to use for the various operating systems
29 ; - Jasmin loads the sector 1 of track zero in $400 and then runs it.
30 ; - Microdisc loads the sector 2 of track zero, the address is different on Atmos and Telestrat
31 ; - The system requires a third sector containing valid data
32 ;
33 ; Since we do not yet have a valid Jasmin reading code, all this bootsector will do is to
34 ; write a message saying that this floppy needs to be booted on a Microdisc compatible system.
35 ;
36 SetPosition 0 1
37 WriteSector ..\build\files\sector_1-jasmin.o ; Sector 1
38 WriteSector ..\build\files\sector_2-microdisc.o ; Sector 2
39 WriteSector ..\build\files\sector_3.o ; Sector 3
40
41 ;
42 ; Now here is the loader code, that one is Microdisc only
43 ;
44 SetPosition 0 4
45 AddFile ..\build\files\loader.o $fd00 ; Sector 4
46
47 ;
48 ; From now on we compress data (The loader should not be compressed)
49 ;
50 SetCompressionMode FilePack ; So far only two modes: 'None' and 'FilePack'
51
52 ;
53 ; Then the files used in the demo
54 ;
55 AddDefine LOADER_INTRO {FileIndex}
56 AddFile ..\build\files\intro.o $c000 ; The VIP intro part
57
58 AddDefine LOADER_TECHTECH {FileIndex}
59 AddFile ..\build\files\techtech.o $c000 ; The Tech Tech part
60
61 ;
62 ; The fonts
63 ;
64 AddDefine LOADER_FONT_6x8 {FileIndex}
65 AddFile ..\build\files\Font6x8.hir $9900 ; 9900=STD, 9D00=ALT
66
67 AddDefine LOADER_FONT_6x6 {FileIndex}
68 AddFile ..\build\files\Font6x6.hir $a000
69
70
71 ;
72 ; Random logos and pictures
73 ;
74 AddDefine LOADER_VIP_LOGO {FileIndex}
75 AddFile ..\build\files\vip_rasters.hir $9900
76 AddDefine LOADER_VIP_LOGO_SIZE {FileSize}
77
78 AddDefine LOADER_CLOUD {FileIndex}
79 AddFile ..\build\files\cloud.hir $9900
80 AddDefine LOADER_CLOUD_SIZE {FileSize}
81
82 AddDefine LOADER_RAINDROP {FileIndex}
83 AddFile ..\build\files\rain_drop.hir $9900
84 AddDefine LOADER_RAINDROP_SIZE {FileSize}
85
86 AddDefine LOADER_LONG_SCROLLER {FileIndex}
87 AddFile ..\build\files\long_scroller.hir $9900
88 AddDefine LOADER_LONG_SCROLLER_SIZE {FileSize}
89
90 AddDefine LOADER_SOUND_WARNING {FileIndex}
91 AddFile ..\build\files\SoundWarning.hir $9900
92 AddDefine LOADER_SOUND_WARNING_SIZE {FileSize}
93
94
95 ;
96 ; The Scrollable VIP logo
97 ;
98 AddDefine LOADER_VIP_SCROLL {FileIndex}
99 AddFile ..\build\files\VIPScroll.hir $9800
100 AddDefine LOADER_VIP_SCROLL_SIZE {FileSize}
101
102 AddDefine LOADER_FONT_30x40 {FileIndex}
103 AddFile ..\build\files\font_30x40.hir $9800
104 AddDefine LOADER_FONT_30x40_SIZE {FileSize}
105
106 AddDefine LOADER_OVERLAY {FileIndex}
107 AddFile ..\build\files\overlay.hir $9800
108 AddDefine LOADER_OVERLAY_SIZE {FileSize}
109
110 ;
111 ; Audio
112 ;
113 AddDefine LOADER_SAMPLE_BOOMTSCHACK {FileIndex}
114 AddFile ..\build\files\BoomTschak.raw $400 ; The kraftwerk music
115 AddDefine LOADER_SAMPLE_BOOMTSCHACK_SIZE {FileSize}
116
117 AddDefine LOADER_SAMPLE_DEFENCE {FileIndex}
118 AddFile ..\build\files\SampleDefence.raw $400 ; The defence sample
119 AddDefine LOADER_SAMPLE_DEFENCE_SIZE {FileSize}
120
121 AddDefine LOADER_SAMPLE_FORCE {FileIndex}
122 AddFile ..\build\files\SampleForce.raw $400 ; The force sample
123 AddDefine LOADER_SAMPLE_FORCE_SIZE {FileSize}
124
125 AddDefine LOADER_SAMPLE_HA {FileIndex}
126 AddFile ..\build\files\SampleHa.raw $400 ; The Ha sample
127 AddDefine LOADER_SAMPLE_HA_SIZE {FileSize}
128
129 AddDefine LOADER_SAMPLE_YEAH {FileIndex}
130 AddFile ..\build\files\SampleYeah.raw $400 ; The Yeah sample
131 AddDefine LOADER_SAMPLE_YEAH_SIZE {FileSize}
132
133 AddDefine LOADER_SAMPLE_CHIME_START {FileIndex}
134 AddFile ..\build\files\SampleChimeLoopStart.raw $400 ; The First part of the chime loop sample
135 AddDefine LOADER_SAMPLE_CHIME_START_SIZE {FileSize}
136
137 AddDefine LOADER_SAMPLE_CHIME_END {FileIndex}
138 AddFile ..\build\files\SampleChimeLoopEnd.raw $400 ; The End part of the chime loop sample
139 AddDefine LOADER_SAMPLE_CHIME_END_SIZE {FileSize}
140
141
142 AddDefine LOADER_SAMPLE_MUSIC_NON_STOP {FileIndex}
143 AddFile ..\build\files\SampleMusicNonStop.raw $400 ; Music Non Stop
144 AddDefine LOADER_SAMPLE_MUSIC_NON_STOP_SIZE {FileSize}
145
146 AddDefine LOADER_SAMPLE_TECHNO_POP {FileIndex}
147 AddFile ..\build\files\SampleTechnoPop.raw $400 ; Techno Pop
148 AddDefine LOADER_SAMPLE_TECHNO_POP_SIZE {FileSize}
149
150
151
152 ;
153 ; YM Music
154 ;
155 AddDefine LOADER_INTRO_MUSIC {FileIndex}
156 AddFile ..\build\files\ThalionIntro.mym $400 ; The Thalion music intro
157 AddDefine LOADER_INTRO_MUSIC_SIZE {FileSize}

  ViewVC Help
Powered by ViewVC 1.1.26