X-Git-Url: http://gitweb.hachti.de/?a=blobdiff_plain;f=pc-tools%2Fboot-maker%2Fmain.c;h=0ac9f31dc5ea399b2e50c0d5709d145d4cf9213b;hb=HEAD;hp=2dc16e101ec263042597be4c670c6010ff0c9cf9;hpb=ba1e3143290b57ce32471179c817680a8e9f82cc;p=h316.git diff --git a/pc-tools/boot-maker/main.c b/pc-tools/boot-maker/main.c index 2dc16e1..0ac9f31 100644 --- a/pc-tools/boot-maker/main.c +++ b/pc-tools/boot-maker/main.c @@ -1,11 +1,10 @@ #include - +#include void output(unsigned short * data){ int c; char zero=0; unsigned char first_word=020; - unsigned short akt=0; for (c=0; c<100; c++) write (1,&zero,1); write (1,&first_word,1); // Anfangsadresse ausgeben c=020; @@ -54,7 +53,7 @@ void prepare_3(unsigned short * mem){ int main(){ unsigned short memory[0100]; - prepare_3(memory); + prepare_2(memory); output(memory); return 0; }