File:  [UNIX Amiga Emulator] / uae / amiga / source / transrom.c
Revision 1.1.1.2 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:38:48 2018 UTC (8 years, 3 months ago) by root
Branches: MAIN, BSchmidt
CVS tags: uae089, uae088, uae087, uae086, uae085, uae0829, uae0828, uae0827, uae0826, uae0825, uae0824, uae0823, uae0822, uae0821, uae0820, uae0819, uae0818, uae0817, uae0816, uae0815, uae0814, uae0813, uae0812, uae0811, uae0810, uae076, uae075, uae068, HEAD
uae-0.6.8

/*
 * Transrom V4.1
 * Copyright 1995,1996 Bernd Schmidt, Marcus Sundberg, Stefan Ropke,
 *                     Rodney Hester
 *
 * Use DICE and 2.0 includes or above to compile
 */

#include <stdio.h>

int main(int argc, char **argv)
{
    int l;

    if (l=OpenLibrary("exec.library",35L)) /* Not sure about V35 */
    {        
	fprintf(stderr,"Writing 512K Kickstart image...\n");
	fflush(stderr);
	fwrite((char *)0xF80000,sizeof(char),0x80000,stdout);
	CloseLibrary(l);
    }
    else
    {
	fprintf(stderr,"Writing 256K Kickstart image...\n");
	fflush(stderr);
	fwrite((char *)0xF80000,sizeof(char),0x40000,stdout);
    }
    return 0;
}

unix.superglobalmegacorp.com

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