/* config.h de atari800 para la pagina "Pruebalo en tu navegador" (tools/web/build_emu.sh).
   Reemplaza al que genera ./configure --target=libatari800: el emulador como biblioteca, sin interfaz, con
   AltirraOS y Altirra BASIC incorporados (no hace falta ninguna ROM de Atari) y sonido. Compilado con Emscripten.
   Copyright (C) 2026 MyComuApp. SPDX-License-Identifier: GPL-2.0-or-later (como atari800; ver COPYING). */
#ifndef XLO_ATARI800_CONFIG_H
#define XLO_ATARI800_CONFIG_H

#define PACKAGE_VERSION "7.2.1-xloffice-web"
#define DEFAULT_CFG_NAME ".atari800.cfg"
#define SYSTEM_WIDE_CFG_FILE "/etc/atari800.cfg"

/* destino: biblioteca */
#define LIBATARI800 1
#define NEW_CYCLE_EXACT 1
#define EMUOS_ALTIRRA 1            /* AltirraOS y Altirra BASIC: licencia libre de Avery Lee */

/* sonido (POKEY), sin grabar audio ni video */
#define SOUND 1
#define NONLINEAR_MIXING 1
#define INTERPOLATE_SOUND 1
#define CONSOLE_SOUND 1

/* biblioteca de C de Emscripten (musl): lo que existe */
#define STDC_HEADERS 1
#define HAVE_ERRNO_H 1
#define HAVE_FCNTL_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_STRINGS_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define HAVE_UNISTD_H 1
#define HAVE_DIRENT_H 1
#define HAVE_SIGNAL_H 1
#define HAVE_SETJMP 1
#define HAVE_ATEXIT 1
#define HAVE_CHMOD 1
#define HAVE_FDOPEN 1
#define HAVE_FFLUSH 1
#define HAVE_FLOOR 1
#define HAVE_FSTAT 1
#define HAVE_GETCWD 1
#define HAVE_GETTIMEOFDAY 1
#define HAVE_LOCALTIME 1
#define HAVE_MEMMOVE 1
#define HAVE_MEMSET 1
#define HAVE_MKDIR 1
#define HAVE_MKSTEMP 1
#define HAVE_MODF 1
#define HAVE_OPENDIR 1
#define HAVE_RENAME 1
#define HAVE_REWIND 1
#define HAVE_RMDIR 1
#define HAVE_ROUND 1
#define HAVE_SNPRINTF 1
#define HAVE_STAT 1
#define HAVE_STRCASECMP 1
#define HAVE_STRCHR 1
#define HAVE_STRDUP 1
#define HAVE_STRERROR 1
#define HAVE_STRNCPY 1
#define HAVE_STRRCHR 1
#define HAVE_STRSTR 1
#define HAVE_STRTOL 1
#define HAVE_TIME 1
#define HAVE_UNLINK 1
#define HAVE_SYSTEM 1               /* la impresora P: (system() lo reemplaza emu_glue.c: lo impreso queda en /printed.txt) */
#define HAVE_VPRINTF 1
#define HAVE_VSNPRINTF 1

#endif
