/[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 1024 - (show annotations)
Sun Dec 15 09:42:42 2013 UTC (5 years, 9 months ago) by dbug
File MIME type: text/plain
File size: 3541 byte(s)
Generic clean-up of the loader code, moved the vectors at the end of the file so they get auto-magically setup when the loader is installed in memory.
Fixed a bug in the bootsector which did not actually know the actual length of the loader.
First transition effect (simple top/bottom copy), makes the whole thing feel smoother.
New LoaderAPI command: _SetLoadAddress, can be used to override the location of where files get loaded.
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 ;
27 ; This defines the bootsectors to use for the various operating systems
28 ; - Jasmin loads the sector 1 of track zero in $400 and then runs it.
29 ; - Microdisc loads the sector 2 of track zero, the address is different on Atmos and Telestrat
30 ; - The system requires a third sector containing valid data
31 ;
32 ; Since we do not yet have a valid Jasmin reading code, all this bootsector will do is to
33 ; write a message saying that this floppy needs to be booted on a Microdisc compatible system.
34 ;
35 SetPosition 0 1
36 WriteSector ..\build\files\sector_1-jasmin.o
37 WriteSector ..\build\files\sector_2-microdisc.o
38 WriteSector ..\build\files\sector_3.o
39
40 ;
41 ; Now here is the loader code, that one is Microdisc only
42 ;
43 SetPosition 0 5
44 AddFile ..\build\files\loader.o $fc00
45
46 ;
47 ; Then the files used in the demo
48 ;
49 SetPosition 1 13
50 AddDefine LOADER_SLIDESHOW {FileIndex}
51 AddFile ..\build\files\slideshow.o $400
52
53 AddDefine LOADER_FIRST_PICTURE {FileIndex}
54 AddFile ..\build\files\damsel.hir $a000
55 AddFile ..\build\files\dbug_windows95.hir $a000
56 AddFile ..\build\files\dbug_yessagician.hir $a000
57 AddFile ..\build\files\diamond_2.hir $a000
58 AddFile ..\build\files\exocet_blueface.hir $a000
59 AddFile ..\build\files\exocet_fists.hir $a000
60 AddFile ..\build\files\exocet_moonguy.hir $a000
61 AddFile ..\build\files\karate.hir $a000
62 AddFile ..\build\files\karate_2.hir $a000
63 AddFile ..\build\files\krillys.hir $a000
64 AddFile ..\build\files\mooz_barbitoric.hir $a000
65 AddFile ..\build\files\mooz_oric.hir $a000
66 AddFile ..\build\files\mooz_santa.hir $a000
67 AddFile ..\build\files\mooz_supertomato.hir $a000
68 AddFile ..\build\files\prez_story.hir $a000
69 AddFile ..\build\files\tomb_1.hir $a000
70 AddFile ..\build\files\trois_mats.hir $a000
71 AddFile ..\build\files\twilighte_beast.hir $a000
72 AddFile ..\build\files\twilighte_dragons.hir $a000
73 AddFile ..\build\files\twilighte_pegasus.hir $a000
74 AddFile ..\build\files\twilighte_sonix.hir $a000
75 AddDefine LOADER_LAST_PICTURE {FileIndex}
76
77 AddDefine LOADER_FONT_24x20 {FileIndex}
78 AddFile ..\build\files\font_24x20.hir $a000
79
80 AddDefine LOADER_FIRST_MUSIC {FileIndex}
81 ;AddFile ..\build\files\test.ym $c000
82 AddFile ..\build\files\music_cuddly.ym $c000
83 AddFile ..\build\files\northtar.ym $c000
84 AddFile ..\build\files\music_no_second_prize.ym $c000
85 AddFile ..\build\files\music_leaving_terramis.ym $c000
86 AddDefine LOADER_LAST_MUSIC {FileIndex}
87
88
89

  ViewVC Help
Powered by ViewVC 1.1.26