Annotation of uae/amiga/source/transrom.c, revision 1.1.1.2

1.1.1.2 ! root        1: /*
        !             2:  * Transrom V4.1
        !             3:  * Copyright 1995,1996 Bernd Schmidt, Marcus Sundberg, Stefan Ropke,
        !             4:  *                     Rodney Hester
        !             5:  *
        !             6:  * Use DICE and 2.0 includes or above to compile
        !             7:  */
1.1       root        8: 
                      9: #include <stdio.h>
                     10: 
                     11: int main(int argc, char **argv)
                     12: {
1.1.1.2 ! root       13:     int l;
        !            14: 
        !            15:     if (l=OpenLibrary("exec.library",35L)) /* Not sure about V35 */
        !            16:     {        
        !            17:        fprintf(stderr,"Writing 512K Kickstart image...\n");
        !            18:        fflush(stderr);
        !            19:        fwrite((char *)0xF80000,sizeof(char),0x80000,stdout);
        !            20:        CloseLibrary(l);
        !            21:     }
        !            22:     else
        !            23:     {
        !            24:        fprintf(stderr,"Writing 256K Kickstart image...\n");
        !            25:        fflush(stderr);
        !            26:        fwrite((char *)0xF80000,sizeof(char),0x40000,stdout);
        !            27:     }
1.1       root       28:     return 0;
                     29: }

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.