Newer
Older
uBix-Retro / dump / oa-2.0.9 / arch / gecko / config.i65
/****************************************************************************
   
    OS/A65 Version 1.4.0
    Multitasking Operating System for 6502 Computers

    Copyright (C) 1989-1997 Andre Fachat 

    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 2 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

****************************************************************************/


#ifndef   ANZSTR

#include "gecko.i65"

/************************ Daten f�r Computer ohne MMU *********************/

/*        StreamData                    */

#define   ANZSTRM   8

/*        SemaphoreData                 */

#define   ANZSEM    8         /* multiple of 8 */
#define   SYSSEM    8         /* multiple of 8, sem-no from -SYSSEM to -1 */

/*        DeviceData                    */

#define   MAXDEV    16

/*        EnvData                       */

#ifndef STACKCOPY
#define   MAXNTHREADS    5    /* (Stackpage-56)/40          */
#define   MAXNTASKS      5
#define   STACKSIZE      40   /* (TH_SLEN * 5) */
#else
#define   MAXNTHREADS    8    /* (up to 16 is possible, if enough memory) */
#define   MAXNTASKS      8
#define   STACKSIZE      64   /* (TH_SLEN * 8) */
#endif
#define   ANZXENV   5         /* number of redirectable task IDs */

/*        TaskData                      */

#define   IRQCNT    3

/*        FileManager                   */

#define   MAXFS     4

/*	  Memory handling 		*/

#undef MAP_ZERO
#undef MAP_STACK
#undef MAP_MEM
#define	NOMMU

#endif