Annotation of hatari/src/faketosData.c, revision 1.1

1.1     ! root        1: /*
        !             2:  * Hatari - fakeTosData.c
        !             3:  *
        !             4:  * This file is distributed under the GNU General Public License, version 2
        !             5:  * or at your option any later version. Read the file gpl.txt for details.
        !             6:  *
        !             7:  * NOTE: This file is included by tos.c - do not compile and link this file
        !             8:  * separately!
        !             9:  */
        !            10: const char FakeTosData_fileid[] = "Hatari fakeTosData.c : " __DATE__ " " __TIME__;
        !            11: 
        !            12: /*
        !            13:  * This is the assembled code from fakeTos.s, our ROM TOS replacement for
        !            14:  * testing. NOTE: Remove first 0x1c (PRG_HEADER_SIZE) bytes from the assembled
        !            15:  * program file or use an assembler like TurboAss or vasm that can generate
        !            16:  * absolute binary images.
        !            17:  *
        !            18:  * Convert the assembled binary with:
        !            19:  *
        !            20:  *  hexdump -v -e ' 16/1 "0x%02x," "\n" ' fakeTos.bin > fakeTos.txt
        !            21:  *
        !            22:  * Then replace the data below in FakeTos_data[] with the contents of
        !            23:  * fakeTos.txt (edit the last line to remove empty "0x,")
        !            24:  */
        !            25: const Uint8 FakeTos_data[] =
        !            26: {
        !            27: 0x60,0x2e,0x00,0x01,0x00,0xe0,0x00,0x30,0x00,0xe0,0x00,0x00,0x00,0x00,0x10,0x00,
        !            28: 0x00,0xe0,0x00,0x30,0x00,0x00,0x00,0x00,0x03,0x03,0x20,0x18,0x00,0x01,0x4c,0x63,
        !            29: 0x00,0x00,0x08,0x80,0x00,0x00,0x08,0x70,0x00,0x00,0x08,0x00,0x00,0x00,0x00,0x00,
        !            30: 0x46,0xfc,0x27,0x00,0x4e,0x70,0x11,0xfc,0x00,0x05,0x80,0x01,0x4f,0xf9,0x00,0x02,
        !            31: 0x00,0x00,0x41,0xf9,0x00,0xfa,0x00,0x00,0x0c,0x90,0xab,0xcd,0xef,0x42,0x66,0x12,
        !            32: 0x43,0xfa,0x00,0x5a,0x30,0x7c,0x00,0x08,0x20,0xc9,0xb0,0xfc,0x01,0xc0,0x6f,0xf8,
        !            33: 0x00,0x0a,0x43,0xfa,0x00,0x5e,0x23,0xc9,0x00,0x00,0x00,0x68,0x23,0xc9,0x00,0x00,
        !            34: 0x00,0x72,0x70,0x00,0x20,0x40,0x22,0x40,0x46,0xfc,0x07,0x00,0x4f,0xf9,0x00,0x01,
        !            35: 0x80,0x00,0x48,0x78,0x10,0x00,0x48,0x7a,0xff,0x78,0x4e,0xf8,0x11,0x00,0x45,0x52,
        !            36: 0x52,0x4f,0x52,0x3a,0x20,0x55,0x6e,0x68,0x61,0x6e,0x64,0x6c,0x65,0x64,0x20,0x65,
        !            37: 0x78,0x63,0x65,0x70,0x74,0x69,0x6f,0x6e,0x21,0x0d,0x0a,0x00,0x48,0x7a,0xff,0xe0,
        !            38: 0x3f,0x3c,0x00,0x09,0x4e,0x41,0x5c,0x8f,0x3f,0x3c,0x00,0x01,0x3f,0x3c,0x00,0x4c,
        !            39: 0x4e,0x41,0x4e,0x73
        !            40: };

unix.superglobalmegacorp.com

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