b1a9c85ccb295b1b46a1182b5eb233906376aa37
4 void output(unsigned short * data
){
7 unsigned char first_word
=020;
9 for (c
=0; c
<100; c
++) write (1,&zero
,1);
10 write (1,&first_word
,1); // Anfangsadresse ausgeben
13 unsigned char lower
=data
[c
] & 0xff;
14 unsigned char upper
=(data
[c
] >> 8) & 0xff;
16 write (2,"Locat geschrieben\n",18);
20 for (c
=0; c
<100; c
++) write (1,&zero
,1); // Abspann
23 void prepare_1(unsigned short * mem
){
24 mem
[020]=0002010; // Loop back to read boot-strap (must be here!)
25 mem
[021]=0004026; // Load A with dancy pattern
26 mem
[022]=0024027; // Increment and skip if zero 027
27 mem
[023]=0002022; // Loop
28 mem
[024]=0040677; // Right rotate a
29 mem
[025]=0002022; // Loop back
30 mem
[026]=0052000; // Bit pattern to move around
34 unsigned short memory
[0100];