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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1035 - (show annotations)
Sun Dec 15 15:35:39 2013 UTC (5 years, 11 months ago) by dbug
File MIME type: text/plain
File size: 3678 byte(s)
FloppyBuilder 0.9
- Added the 'SetCompressionMode' command. Possible parameters are 'None' (default value) and 'FilePack'
The lzpack.cpp file moved out from FilePack and is now in Common, this means it will be usable in other projects (Like PictConv)
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\SlideShow.dsk
23
24 AddDefine LOADER_SHOW_DEBUGINFO 1
25
26 ;SetCompressionMode FilePack ; So far only two modes: 'None' and 'FilePack'
27
28 ;
29 ; This defines the bootsectors to use for the various operating systems
30 ; - Jasmin loads the sector 1 of track zero in $400 and then runs it.
31 ; - Microdisc loads the sector 2 of track zero, the address is different on Atmos and Telestrat
32 ; - The system requires a third sector containing valid data
33 ;
34 ; Since we do not yet have a valid Jasmin reading code, all this bootsector will do is to
35 ; write a message saying that this floppy needs to be booted on a Microdisc compatible system.
36 ;
37 SetPosition 0 1
38 WriteSector ..\build\files\sector_1-jasmin.o ; Sector 1
39 WriteSector ..\build\files\sector_2-microdisc.o ; Sector 2
40 WriteSector ..\build\files\sector_3.o ; Sector 3
41
42 ;
43 ; Now here is the loader code, that one is Microdisc only
44 ;
45 SetPosition 0 4
46 AddFile ..\build\files\loader.o $fc00 ; Sector 4
47
48 ;
49 ; Then the files used in the demo
50 ;
51 SetPosition 1 1
52 AddDefine LOADER_SLIDESHOW {FileIndex}
53 AddFile ..\build\files\slideshow.o $400
54
55 AddDefine LOADER_FIRST_PICTURE {FileIndex}
56 AddFile ..\build\files\damsel.hir $a000
57 AddFile ..\build\files\dbug_windows95.hir $a000
58 AddFile ..\build\files\dbug_yessagician.hir $a000
59 AddFile ..\build\files\diamond_2.hir $a000
60 AddFile ..\build\files\exocet_blueface.hir $a000
61 AddFile ..\build\files\exocet_fists.hir $a000
62 AddFile ..\build\files\exocet_moonguy.hir $a000
63 AddFile ..\build\files\karate.hir $a000
64 AddFile ..\build\files\karate_2.hir $a000
65 AddFile ..\build\files\krillys.hir $a000
66 AddFile ..\build\files\mooz_barbitoric.hir $a000
67 AddFile ..\build\files\mooz_oric.hir $a000
68 AddFile ..\build\files\mooz_santa.hir $a000
69 AddFile ..\build\files\mooz_supertomato.hir $a000
70 AddFile ..\build\files\prez_story.hir $a000
71 AddFile ..\build\files\tomb_1.hir $a000
72 AddFile ..\build\files\trois_mats.hir $a000
73 AddFile ..\build\files\twilighte_beast.hir $a000
74 AddFile ..\build\files\twilighte_dragons.hir $a000
75 AddFile ..\build\files\twilighte_pegasus.hir $a000
76 AddFile ..\build\files\twilighte_sonix.hir $a000
77 AddDefine LOADER_LAST_PICTURE {FileIndex}
78
79 AddDefine LOADER_FONT_24x20 {FileIndex}
80 AddFile ..\build\files\font_24x20.hir $a000
81
82 AddDefine LOADER_FIRST_MUSIC {FileIndex}
83 ;AddFile ..\build\files\test.ym $c000
84 AddFile ..\build\files\music_cuddly.ym $c000
85 AddFile ..\build\files\northtar.ym $c000
86 AddFile ..\build\files\music_no_second_prize.ym $c000
87 AddFile ..\build\files\music_leaving_terramis.ym $c000
88 AddDefine LOADER_LAST_MUSIC {FileIndex}
89
90
91

  ViewVC Help
Powered by ViewVC 1.1.26