/[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 1015 - (show annotations)
Thu Dec 12 20:53:08 2013 UTC (5 years, 11 months ago) by dbug
File MIME type: text/plain
File size: 3363 byte(s)
Archived the latest version of the loader code.
It's still pretty much work in progress, but it would suck that my hard drive dies :p
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 OutputLayoutFile floppy_description.h
19 OutputFloppyFile ..\build\SlideShow.dsk
20
21 AddDefine LOADER_SHOW_DEBUGINFO 1
22
23 ;
24 ; This defines the bootsectors to use for the various operating systems
25 ; - Jasmin loads the sector 1 of track zero in $400 and then runs it.
26 ; - Microdisc loads the sector 2 of track zero, the address is different on Atmos and Telestrat
27 ; - The system requires a third sector containing valid data
28 ;
29 ; Since we do not yet have a valid Jasmin reading code, all this bootsector will do is to
30 ; write a message saying that this floppy needs to be booted on a Microdisc compatible system.
31 ;
32 SetPosition 0 1
33 WriteSector ..\build\files\sector_1-jasmin.o
34 WriteSector ..\build\files\sector_2-microdisc.o
35 WriteSector ..\build\files\sector_3.o
36
37 ;
38 ; Now here is the loader code, that one is Microdisc only
39 ;
40 SetPosition 0 5
41 AddFile ..\build\files\loader.o $fc00
42
43 ;
44 ; Then the files used in the demo
45 ;
46 SetPosition 1 13
47 AddDefine LOADER_SLIDESHOW {FileIndex}
48 AddFile ..\build\files\slideshow.o $400
49
50 AddDefine LOADER_FIRST_PICTURE {FileIndex}
51 AddFile ..\build\files\damsel.hir $a000
52 AddFile ..\build\files\dbug_windows95.hir $a000
53 AddFile ..\build\files\dbug_yessagician.hir $a000
54 AddFile ..\build\files\diamond_2.hir $a000
55 AddFile ..\build\files\exocet_blueface.hir $a000
56 AddFile ..\build\files\exocet_fists.hir $a000
57 AddFile ..\build\files\exocet_moonguy.hir $a000
58 AddFile ..\build\files\karate.hir $a000
59 AddFile ..\build\files\karate_2.hir $a000
60 AddFile ..\build\files\krillys.hir $a000
61 AddFile ..\build\files\mooz_barbitoric.hir $a000
62 AddFile ..\build\files\mooz_oric.hir $a000
63 AddFile ..\build\files\mooz_santa.hir $a000
64 AddFile ..\build\files\mooz_supertomato.hir $a000
65 AddFile ..\build\files\prez_story.hir $a000
66 AddFile ..\build\files\tomb_1.hir $a000
67 AddFile ..\build\files\trois_mats.hir $a000
68 AddFile ..\build\files\twilighte_beast.hir $a000
69 AddFile ..\build\files\twilighte_dragons.hir $a000
70 AddFile ..\build\files\twilighte_pegasus.hir $a000
71 AddFile ..\build\files\twilighte_sonix.hir $a000
72 AddDefine LOADER_LAST_PICTURE {FileIndex}
73
74
75 AddDefine LOADER_FIRST_MUSIC {FileIndex}
76 ;AddFile ..\build\files\test.ym $c000
77 AddFile ..\build\files\music_cuddly.ym $c000
78 AddFile ..\build\files\northtar.ym $c000
79 AddFile ..\build\files\music_no_second_prize.ym $c000
80 AddFile ..\build\files\music_leaving_terramis.ym $c000
81 AddDefine LOADER_LAST_MUSIC {FileIndex}
82
83
84

  ViewVC Help
Powered by ViewVC 1.1.26