Home » Archimedes archive » Acorn User » AU 1997-01 B.adf » Regulars » Rambles/SplitS/Source/acorn_h

Rambles/SplitS/Source/acorn_h

This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.

Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.

Tape/disk: Home » Archimedes archive » Acorn User » AU 1997-01 B.adf » Regulars
Filename: Rambles/SplitS/Source/acorn_h
Read OK:
File size: 0503 bytes
Load address: 0000
Exec address: 0000
File contents
/********************************************************************************/
/*                                                                              */
/* Config header file for Acorn systems                                         */
/* Part of Splitf and Joinf distribution                                        */
/* version 1.13, � 1993-1995 Adam Hamilton                                      */
/* See the README file for copyright information                                */
/*                                                                              */
/********************************************************************************/


/**********************************/
/* Platform dependant definitions */

#define         ACORN
#include        "kernel.h"
#define         SPLIT_FILETYPE  0xb8c
#define         SWI_OS_File     0x000008

/* Uncomment the following to restrict the filename lengh */
/*#define         LEAFNAME_MAX    10                      */


/* FILE_SEPARATOR - ACORN = '.', UNIX = '/', VAX = '\0', PC = '\\' */

#define FILE_SEPARATOR '.'


/* SEPARATOR_SEARCH - ACORN = '.', UNIX = '/', VAX = ']', PC = '\\' */

#define SEPARATOR_SEARCH '.'


/* COLON - ACORN = False, UNIX = False, VAX = True, PC = True */

#define COLON False
00000000  2f 2a 2a 2a 2a 2a 2a 2a  2a 2a 2a 2a 2a 2a 2a 2a  |/***************|
00000010  2a 2a 2a 2a 2a 2a 2a 2a  2a 2a 2a 2a 2a 2a 2a 2a  |****************|
*
00000050  2a 2f 0a 2f 2a 20 20 20  20 20 20 20 20 20 20 20  |*/./*           |
00000060  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
*
000000a0  20 20 20 2a 2f 0a 2f 2a  20 43 6f 6e 66 69 67 20  |   */./* Config |
000000b0  68 65 61 64 65 72 20 66  69 6c 65 20 66 6f 72 20  |header file for |
000000c0  41 63 6f 72 6e 20 73 79  73 74 65 6d 73 20 20 20  |Acorn systems   |
000000d0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
*
000000f0  20 20 20 20 20 20 2a 2f  0a 2f 2a 20 50 61 72 74  |      */./* Part|
00000100  20 6f 66 20 53 70 6c 69  74 66 20 61 6e 64 20 4a  | of Splitf and J|
00000110  6f 69 6e 66 20 64 69 73  74 72 69 62 75 74 69 6f  |oinf distributio|
00000120  6e 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |n               |
00000130  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000140  20 20 20 20 20 20 20 20  20 2a 2f 0a 2f 2a 20 76  |         */./* v|
00000150  65 72 73 69 6f 6e 20 31  2e 31 33 2c 20 a9 20 31  |ersion 1.13, . 1|
00000160  39 39 33 2d 31 39 39 35  20 41 64 61 6d 20 48 61  |993-1995 Adam Ha|
00000170  6d 69 6c 74 6f 6e 20 20  20 20 20 20 20 20 20 20  |milton          |
00000180  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000190  20 20 20 20 20 20 20 20  20 20 20 20 2a 2f 0a 2f  |            */./|
000001a0  2a 20 53 65 65 20 74 68  65 20 52 45 41 44 4d 45  |* See the README|
000001b0  20 66 69 6c 65 20 66 6f  72 20 63 6f 70 79 72 69  | file for copyri|
000001c0  67 68 74 20 69 6e 66 6f  72 6d 61 74 69 6f 6e 20  |ght information |
000001d0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
000001e0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 2a  |               *|
000001f0  2f 0a 2f 2a 20 20 20 20  20 20 20 20 20 20 20 20  |/./*            |
00000200  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
*
00000240  20 20 2a 2f 0a 2f 2a 2a  2a 2a 2a 2a 2a 2a 2a 2a  |  */./**********|
00000250  2a 2a 2a 2a 2a 2a 2a 2a  2a 2a 2a 2a 2a 2a 2a 2a  |****************|
*
00000290  2a 2a 2a 2a 2a 2a 2f 0a  0a 0a 2f 2a 2a 2a 2a 2a  |******/.../*****|
000002a0  2a 2a 2a 2a 2a 2a 2a 2a  2a 2a 2a 2a 2a 2a 2a 2a  |****************|
000002b0  2a 2a 2a 2a 2a 2a 2a 2a  2a 2a 2a 2a 2a 2f 0a 2f  |*************/./|
000002c0  2a 20 50 6c 61 74 66 6f  72 6d 20 64 65 70 65 6e  |* Platform depen|
000002d0  64 61 6e 74 20 64 65 66  69 6e 69 74 69 6f 6e 73  |dant definitions|
000002e0  20 2a 2f 0a 0a 23 64 65  66 69 6e 65 20 20 20 20  | */..#define    |
000002f0  20 20 20 20 20 41 43 4f  52 4e 0a 23 69 6e 63 6c  |     ACORN.#incl|
00000300  75 64 65 20 20 20 20 20  20 20 20 22 6b 65 72 6e  |ude        "kern|
00000310  65 6c 2e 68 22 0a 23 64  65 66 69 6e 65 20 20 20  |el.h".#define   |
00000320  20 20 20 20 20 20 53 50  4c 49 54 5f 46 49 4c 45  |      SPLIT_FILE|
00000330  54 59 50 45 20 20 30 78  62 38 63 0a 23 64 65 66  |TYPE  0xb8c.#def|
00000340  69 6e 65 20 20 20 20 20  20 20 20 20 53 57 49 5f  |ine         SWI_|
00000350  4f 53 5f 46 69 6c 65 20  20 20 20 20 30 78 30 30  |OS_File     0x00|
00000360  30 30 30 38 0a 0a 2f 2a  20 55 6e 63 6f 6d 6d 65  |0008../* Uncomme|
00000370  6e 74 20 74 68 65 20 66  6f 6c 6c 6f 77 69 6e 67  |nt the following|
00000380  20 74 6f 20 72 65 73 74  72 69 63 74 20 74 68 65  | to restrict the|
00000390  20 66 69 6c 65 6e 61 6d  65 20 6c 65 6e 67 68 20  | filename lengh |
000003a0  2a 2f 0a 2f 2a 23 64 65  66 69 6e 65 20 20 20 20  |*/./*#define    |
000003b0  20 20 20 20 20 4c 45 41  46 4e 41 4d 45 5f 4d 41  |     LEAFNAME_MA|
000003c0  58 20 20 20 20 31 30 20  20 20 20 20 20 20 20 20  |X    10         |
000003d0  20 20 20 20 20 20 20 20  20 20 20 20 20 2a 2f 0a  |             */.|
000003e0  0a 0a 2f 2a 20 46 49 4c  45 5f 53 45 50 41 52 41  |../* FILE_SEPARA|
000003f0  54 4f 52 20 2d 20 41 43  4f 52 4e 20 3d 20 27 2e  |TOR - ACORN = '.|
00000400  27 2c 20 55 4e 49 58 20  3d 20 27 2f 27 2c 20 56  |', UNIX = '/', V|
00000410  41 58 20 3d 20 27 5c 30  27 2c 20 50 43 20 3d 20  |AX = '\0', PC = |
00000420  27 5c 5c 27 20 2a 2f 0a  0a 23 64 65 66 69 6e 65  |'\\' */..#define|
00000430  20 46 49 4c 45 5f 53 45  50 41 52 41 54 4f 52 20  | FILE_SEPARATOR |
00000440  27 2e 27 0a 0a 0a 2f 2a  20 53 45 50 41 52 41 54  |'.'.../* SEPARAT|
00000450  4f 52 5f 53 45 41 52 43  48 20 2d 20 41 43 4f 52  |OR_SEARCH - ACOR|
00000460  4e 20 3d 20 27 2e 27 2c  20 55 4e 49 58 20 3d 20  |N = '.', UNIX = |
00000470  27 2f 27 2c 20 56 41 58  20 3d 20 27 5d 27 2c 20  |'/', VAX = ']', |
00000480  50 43 20 3d 20 27 5c 5c  27 20 2a 2f 0a 0a 23 64  |PC = '\\' */..#d|
00000490  65 66 69 6e 65 20 53 45  50 41 52 41 54 4f 52 5f  |efine SEPARATOR_|
000004a0  53 45 41 52 43 48 20 27  2e 27 0a 0a 0a 2f 2a 20  |SEARCH '.'.../* |
000004b0  43 4f 4c 4f 4e 20 2d 20  41 43 4f 52 4e 20 3d 20  |COLON - ACORN = |
000004c0  46 61 6c 73 65 2c 20 55  4e 49 58 20 3d 20 46 61  |False, UNIX = Fa|
000004d0  6c 73 65 2c 20 56 41 58  20 3d 20 54 72 75 65 2c  |lse, VAX = True,|
000004e0  20 50 43 20 3d 20 54 72  75 65 20 2a 2f 0a 0a 23  | PC = True */..#|
000004f0  64 65 66 69 6e 65 20 43  4f 4c 4f 4e 20 46 61 6c  |define COLON Fal|
00000500  73 65 0a                                          |se.|
00000503