/[projet1]/public/oric/demos/OricTech/code/buffers.s
Defence Force logotype

Contents of /public/oric/demos/OricTech/code/buffers.s

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 size: 2850 byte(s)
Updated the OricTech project to use the new version of the FloppyBuilder
1
2 #define ASSEMBLER
3 #include "floppy_description.h"
4 #include "defines.h"
5
6 .text
7
8 #ifdef OSDKNAME_techtech
9
10 _RastersPaper
11 .byt 0,0,0,0,0,0,0,0
12 .byt 0,0,0,0,0,0,0,0
13 .byt 0,0,0,0,0,0,0,0
14 .byt 0,0,0,0,0,0,0,0
15 .byt 0,0,0,0,0,0,0,0
16 .byt 0,0,0,0,0,0,0,0
17 .byt 0,0,0,0,0,0,0,0
18 .byt 0,0,0,0,0,0,0,0
19 .byt 0,0,0,0,0,0,0,0
20 .byt 0,0,0,0,0,0,0,0
21 .byt 0,0,0,0,0,0,0,0
22 .byt 0,0,0,0,0,0,0,0
23 .byt 0,0,0,0,0,0,0,0
24 .byt 0,0,0,0,0,0,0,0
25 .byt 0,0,0,0,0,0,0,0
26 .byt 4,4,6,7,6,4,4,0 ; Raster bar over the text scroller
27
28 _RastersInk
29 .byt 4,4,4,6,4,4,6,4
30 .byt 6,6,4,6,6,6,6,6
31 .byt 6,6,6,7,6,6,7,6
32 .byt 7,7,6,7,7,7,7,7
33 .byt 7,7,7,3,7,7,3,7
34 .byt 3,3,7,3,3,3,3,3
35 .byt 3,3,3,1,3,3,1,3
36 .byt 1,1,3,1,1,1,1,1
37 .byt 1,1,1,5,1,1,5,1
38 .byt 5,5,1,5,5,5,5,5
39 .byt 5,5,5,2,5,5,2,5
40 .byt 2,2,5,2,2,2,2,2
41 .byt 2,2,2,6,2,2,6,2
42 .byt 6,6,2,6,6,6,6,6
43 .byt 6,6,6,4,6,6,4,4
44 .byt 4,4,6,7,6,4,4,0 ; Raster bar over the text scroller
45
46 #endif
47
48
49 #ifdef OSDKNAME_intro
50
51 _GradientRainbow
52 .byt 1,1,1,5,1,5,5,5
53 .byt 3,5,5,3,3,5,3,3
54 .byt 2,3,3,2,2,3,2,2
55 .byt 3,1,3,3,1,1,3,1
56
57 _GradientVip
58 .byt 0,4,0,0,0,0,4,0
59 .byt 4,4,4,4,4,4,4,4
60 .byt 4,4,4,4,4,4,4,4
61 .byt 4,4,4,4,4,4,4,4
62
63 _SoundWarningPicture .dsb LOADER_SOUND_WARNING_SIZE
64
65 #endif
66
67 #ifdef OSDKNAME_techtech
68 .dsb 256-(*&255)
69
70 _BufferCharset .dsb CHARMAP_SIZE ; LOADER_VIP_SCROLL_SIZE (the end part is going to be overwritten)
71 _BufferCharset30x40 .dsb BIGFONT_SIZE ;LOADER_FONT_30x40_SIZE ; BIGFONT_SIZE ; LOADER_FONT_30x40_SIZE (the end part is going to be overwritten)
72 _BufferInverseVideo .dsb LOADER_OVERLAY_SIZE ; INVERSE_SIZE ;LOADER_OVERLAY_SIZE
73 #endif
74
75 _EndDemoData
76
77 #echo Remaining space in the demo code:
78 #print ($fd00 - _EndDemoData)
79
80
81 .bss
82
83 #ifdef OSDKNAME_intro
84 ;
85 ; VIP intro sequence with MYM music player
86 ;
87 *=$400
88
89 _PlayerBuffer .dsb 256*14 ; About 3.5 kilobytes somewhere in memory, we put the music file in overlay memory
90 _PlayerBufferEnd
91
92 _MusicData .dsb LOADER_INTRO_MUSIC_SIZE
93 _CloudPicture .dsb LOADER_CLOUD_SIZE
94 _RainDropPicture .dsb LOADER_RAINDROP_SIZE
95 _VipLogoPicture .dsb LOADER_VIP_LOGO_SIZE
96 _LongScrollerPicture .dsb LOADER_LONG_SCROLLER_SIZE
97 _EndNormalData
98
99 #endif
100
101 #ifdef OSDKNAME_techtech
102 ;
103 ; TechTech effect data
104 ;
105 *=$400
106
107 _SampleSound .dsb LOADER_SAMPLE_BOOMTSCHACK_SIZE
108 _SampleSoundDefence .dsb LOADER_SAMPLE_DEFENCE_SIZE
109 _SampleSoundForce .dsb LOADER_SAMPLE_FORCE_SIZE
110 _SampleSoundChimeStart .dsb LOADER_SAMPLE_CHIME_START_SIZE
111 _SampleSoundChimeEnd .dsb LOADER_SAMPLE_CHIME_END_SIZE
112 _SampleSoundMusicNonStop .dsb LOADER_SAMPLE_MUSIC_NON_STOP_SIZE
113 _SampleSoundTechnoPop .dsb LOADER_SAMPLE_TECHNO_POP_SIZE
114
115 _SampleSoundEnd
116 #endif
117
118
119 *=$9800+256
120
121 _StdCharset
122
123 ; *=$fc00
124 ;_Loader
125

  ViewVC Help
Powered by ViewVC 1.1.26