apple1-videocard-lib/demos/demo/demo_amiga_hand.h

170 lines
3.4 KiB
C
Raw Normal View History

2021-12-08 11:53:13 +00:00
byte amiga_data[612] = {
107,35,130,35,
130,35,130,57,
130,57,185,57,
185,57,185,35,
185,35,197,35,
197,35,208,46,
208,46,208,118,
208,118,199,118,
199,118,199,80,
199,80,136,80,
136,80,134,78,
134,78,125,78,
125,78,124,80,
124,80,117,80,
117,80,117,89,
117,89,107,96,
107,96,107,35,
105,96,105,34,
105,34,198,34,
198,34,210,46,
210,46,210,119,
210,119,158,119,
158,119,158,124,
158,124,154,132,
154,132,150,137,
150,137,146,140,
146,140,140,149,
140,149,132,153,
132,153,132,164,
132,164,82,164,
82,164,82,133,
82,133,81,133,
81,133,81,105,
81,105,85,99,
85,99,92,93,
92,93,93,89,
93,89,97,82,
97,82,102,79,
102,79,105,78,
105,78,105,78,
105,78,102,80,
102,80,98,82,
98,82,94,89,
94,89,93,93,
93,93,86,99,
86,99,82,105,
82,105,82,132,
82,132,83,133,
83,133,83,163,
83,163,112,163,
112,163,112,142,
112,142,120,142,
120,142,124,138,
124,138,124,119,
124,119,122,116,
122,116,122,106,
122,106,137,93,
137,93,137,81,
137,81,134,79,
134,79,131,79,
131,79,134,82,
134,82,134,89,
134,89,133,90,
133,90,126,90,
126,90,123,87,
123,87,114,94,
114,94,102,100,
102,100,90,109,
90,109,90,108,
90,108,102,99,
102,99,98,98,
98,98,95,95,
95,95,98,97,
98,97,102,98,
102,98,105,96,
122,85,124,78,
124,78,132,79,
132,79,133,82,
133,82,133,89,
133,89,126,89,
126,89,122,85,
123,116,123,106,
123,106,138,93,
138,93,138,81,
138,81,197,81,
197,81,197,118,
197,118,124,118,
124,118,123,114,
132,35,183,35,
183,35,183,56,
183,56,132,56,
132,56,132,35,
168,38,179,38,
179,38,179,52,
179,52,168,52,
168,52,168,38,
170,39,177,39,
177,39,177,51,
177,51,170,51,
170,51,170,39,
119,81,122,81,
122,81,122,83,
122,83,119,87,
119,87,119,81,
113,163,113,143,
113,143,120,143,
120,143,125,138,
125,138,125,129,
125,129,129,131,
129,131,137,131,
137,131,137,133,
137,133,141,138,
141,138,145,138,
145,138,145,140,
145,140,139,149,
139,149,131,152,
131,152,131,163,
131,163,113,163,
125,119,125,124,
125,124,130,121,
130,121,125,119,
129,122,125,124,
125,124,125,119,
125,119,146,119,
146,119,136,129,
136,129,135,129,
135,129,137,127,
137,127,132,122,
132,122,129,122,
150,119,157,119,
157,119,157,124,
157,124,153,132,
153,132,150,136,
150,136,145,137,
145,137,142,137,
142,137,139,133,
139,133,139,130,
139,130,150,119,
140,130,140,133,
140,133,142,136,
142,136,144,136,
144,136,148,135,
148,135,149,132,
149,132,145,129,
145,129,140,130,
126,128,134,130,
134,130,136,127,
136,127,132,123,
132,123,129,123,
129,123,126,125,
126,125,126,128,
198,35,209,46,
209,46,209,118
};
void demo_amiga_hand() {
tms_init_regs(SCREEN2_TABLE);
screen2_init_bitmap(FG_BG(COLOR_BLACK,COLOR_WHITE));
2021-12-08 11:53:13 +00:00
2021-12-17 08:12:39 +00:00
screen2_puts("*** P-LAB VIDEO CARD SYSTEM ***", 0, 0, FG_BG(COLOR_BLACK,COLOR_WHITE));
screen2_puts("16K VRAM BYTES FREE" , 0, 2, FG_BG(COLOR_BLACK,COLOR_WHITE));
screen2_puts("READY." , 0, 4, FG_BG(COLOR_BLACK,COLOR_WHITE));
2021-12-08 11:53:13 +00:00
for(word p=0;p<612;p+=4) {
2021-12-16 17:33:56 +00:00
screen2_line(amiga_data[p],amiga_data[p+1],amiga_data[p+2],amiga_data[p+3]);
2021-12-08 11:53:13 +00:00
}
2021-12-17 08:12:39 +00:00
screen2_puts("APPLE1", 18, 12, FG_BG(COLOR_DARK_BLUE, COLOR_WHITE));
2021-12-08 11:53:13 +00:00
}