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

  ViewVC Help
Powered by ViewVC 1.1.26