diff options
author | Thomas Gellekum <tg@FreeBSD.org> | 1997-10-29 09:07:09 +0000 |
---|---|---|
committer | Thomas Gellekum <tg@FreeBSD.org> | 1997-10-29 09:07:09 +0000 |
commit | d88cedc838256c93e2f02a1ce7435d826425bcdf (patch) | |
tree | aa6480ca793198e69035277c0dfc7b1b4b6cab2f /emulators/atari800/files | |
parent | 4ba37079d07fdd7aa0e48acceb83ee73fa8cb3b0 (diff) |
Notes
Diffstat (limited to 'emulators/atari800/files')
-rw-r--r-- | emulators/atari800/files/atari800.cfg | 20 | ||||
-rw-r--r-- | emulators/atari800/files/config.h | 19 | ||||
-rw-r--r-- | emulators/atari800/files/patch-aa | 94 | ||||
-rw-r--r-- | emulators/atari800/files/patch-ab | 19 | ||||
-rw-r--r-- | emulators/atari800/files/patch-ac | 53 | ||||
-rw-r--r-- | emulators/atari800/files/patch-ad | 19 | ||||
-rw-r--r-- | emulators/atari800/files/patch-ae | 59 |
7 files changed, 283 insertions, 0 deletions
diff --git a/emulators/atari800/files/atari800.cfg b/emulators/atari800/files/atari800.cfg new file mode 100644 index 000000000000..fb85692e7271 --- /dev/null +++ b/emulators/atari800/files/atari800.cfg @@ -0,0 +1,20 @@ +Atari 800 Emulator, Version 0.8.0 +OS/A_ROM= +OS/B_ROM=GUMBY/atariosb.rom +XL/XE_ROM=GUMBY/atarixl.rom +BASIC_ROM=GUMBY/ataribas.rom +5200_ROM= +DISK_DIR=GUMBY/ +ROM_DIR=GUMBY/ +H1_DIR= +H2_DIR= +H3_DIR= +H4_DIR= +PRINT_COMMAND=lpr %s +SCREEN_REFRESH_RATIO=1 +DEFAULT_SYSTEM=Atari XL +DEFAULT_TV_MODE=PAL +HOLD_OPTION=0 +ENABLE_C000_RAM=0 +ENABLE_SIO_PATCH=1 +ENABLE_XCOLPF1=0 diff --git a/emulators/atari800/files/config.h b/emulators/atari800/files/config.h new file mode 100644 index 000000000000..65625dc40f97 --- /dev/null +++ b/emulators/atari800/files/config.h @@ -0,0 +1,19 @@ +/* + FreeBSD ports collection version of config.h + by Joel Sutton 22nd April 1997 + + This file has been created to simplify installation of the Atari + Emulator. Voxware does work and if you wish to install it + uncomment the #define line below. Other options are not yet + supported. + + */ + +#ifndef __CONFIG__ +#define __CONFIG__ +/* #define LINUX_JOYSTICK */ +/* #define DIRECT_VIDEO */ +/* #define JOYMOUSE */ +/* #define VOXWARE */ +#define UNALIGNED_LONG_OK +#endif diff --git a/emulators/atari800/files/patch-aa b/emulators/atari800/files/patch-aa new file mode 100644 index 000000000000..297c96a19043 --- /dev/null +++ b/emulators/atari800/files/patch-aa @@ -0,0 +1,94 @@ +*** Makefile.orig Sat Apr 19 07:41:29 1997 +--- Makefile Tue Apr 22 22:02:13 1997 +*************** +*** 3,8 **** +--- 3,11 ---- + # -lnsl which is required for the Sun versions. Remove them + # if they cause a problem on your system. + # ++ # Patched by Joel Sutton Tue Apr 22, 1997 ++ # Fixed install target. Added hooks for config file paths. ++ # Disabled configure. + + CC = gcc + CPPFLAGS = $(OTHER) +*************** +*** 16,21 **** +--- 19,31 ---- + LIB_PATH = ${PREFIX}/lib + MAN_PATH = ${PREFIX}/man + ++ INSTALL = install -c -o bin -g bin ++ INSTALL_DATA = ${INSTALL} -m 644 ++ INSTALL_PROGRAM = ${INSTALL} -m 555 ++ INSTALL_MAN = ${INSTALL} -m 444 ++ ++ CONFIG =${PREFIX}/lib/atari/atari800.cfg ++ + default : + @echo "To build the Atari 800 Emulator, type:" + @echo "make <version>" +*************** +*** 248,254 **** + platform.h + + config config.h : configure +! ./configure + + configure : configure.o prompts.o + $(LD) $(LDFLAGS) configure.o prompts.o $(LDLIBS) -o configure +--- 258,264 ---- + platform.h + + config config.h : configure +! # ./configure + + configure : configure.o prompts.o + $(LD) $(LDFLAGS) configure.o prompts.o $(LDLIBS) -o configure +*************** +*** 331,337 **** + $(CC) $(CPPFLAGS) $(CFLAGS) prompts.c + + rt-config.o : rt-config.c $(INCLUDES) +! $(CC) $(CPPFLAGS) $(CFLAGS) rt-config.c + + sound.o : sound.c $(INCLUDES) + $(CC) $(CPPFLAGS) $(CFLAGS) sound.c +--- 341,347 ---- + $(CC) $(CPPFLAGS) $(CFLAGS) prompts.c + + rt-config.o : rt-config.c $(INCLUDES) +! $(CC) $(CPPFLAGS) $(CFLAGS) -DATARI_CONFIG=\"${CONFIG}\" rt-config.c + + sound.o : sound.c $(INCLUDES) + $(CC) $(CPPFLAGS) $(CFLAGS) sound.c +*************** +*** 341,347 **** + + clean : + rm -f configure +! rm -f config.h + rm -f core + rm -f *.o + +--- 351,357 ---- + + clean : + rm -f configure +! # rm -f config.h + rm -f core + rm -f *.o + +*************** +*** 350,354 **** + chmod 4755 ${BIN_PATH}/atari800 + + install : +! cp atari800 ${BIN_PATH}/atari800 +! cp atari800.man ${MAN_PATH}/man1/atari800.1 +--- 360,364 ---- + chmod 4755 ${BIN_PATH}/atari800 + + install : +! ${INSTALL_PROGRAM} atari800 ${BIN_PATH}/atari800 +! ${INSTALL_MAN} atari800.man ${MAN_PATH}/man1/atari800.1 diff --git a/emulators/atari800/files/patch-ab b/emulators/atari800/files/patch-ab new file mode 100644 index 000000000000..15c13272debe --- /dev/null +++ b/emulators/atari800/files/patch-ab @@ -0,0 +1,19 @@ +*** sound.c.orig Sun Apr 20 23:19:13 1997 +--- sound.c Sun Apr 20 23:19:28 1997 +*************** +*** 3,9 **** + #ifdef VOXWARE + #include <fcntl.h> + #include <sys/ioctl.h> +! #include <sys/soundcard.h> + + #include "pokey11.h" + +--- 3,9 ---- + #ifdef VOXWARE + #include <fcntl.h> + #include <sys/ioctl.h> +! #include <machine/soundcard.h> + + #include "pokey11.h" + diff --git a/emulators/atari800/files/patch-ac b/emulators/atari800/files/patch-ac new file mode 100644 index 000000000000..9e4e58feea4a --- /dev/null +++ b/emulators/atari800/files/patch-ac @@ -0,0 +1,53 @@ +*** prompts.c.orig Sun Apr 20 23:32:27 1997 +--- prompts.c Sun Apr 20 23:34:30 1997 +*************** +*** 10,16 **** + char gash[128]; + + printf (message, string); +! gets (gash); + if (strlen(gash) > 0) + strcpy (string, gash); + } +--- 10,16 ---- + char gash[128]; + + printf (message, string); +! fgets (gash,128,stdin); + if (strlen(gash) > 0) + strcpy (string, gash); + } +*************** +*** 20,26 **** + char gash[128]; + + printf (message, *num); +! gets (gash); + if (strlen(gash) > 0) + sscanf (gash,"\n%d", num); + } +--- 20,26 ---- + char gash[128]; + + printf (message, *num); +! fgets (gash,128,stdin); + if (strlen(gash) > 0) + sscanf (gash,"\n%d", num); + } +*************** +*** 33,39 **** + do + { + printf (message, *yn); +! gets (gash); + + if (strlen(gash) > 0) + t_yn = gash[0]; +--- 33,39 ---- + do + { + printf (message, *yn); +! fgets (gash,128,stdin); + + if (strlen(gash) > 0) + t_yn = gash[0]; diff --git a/emulators/atari800/files/patch-ad b/emulators/atari800/files/patch-ad new file mode 100644 index 000000000000..7b586ec4aa06 --- /dev/null +++ b/emulators/atari800/files/patch-ad @@ -0,0 +1,19 @@ +*** rt-config.c.orig Sun Apr 20 23:38:04 1997 +--- rt-config.c Sun Apr 20 23:39:04 1997 +*************** +*** 32,38 **** + int enable_xcolpf1; + + static char *rtconfig_filename1 = "atari800.cfg"; +! static char *rtconfig_filename2 = "/etc/atari800.cfg"; + + int RtConfigLoad (char *rtconfig_filename) + { +--- 32,38 ---- + int enable_xcolpf1; + + static char *rtconfig_filename1 = "atari800.cfg"; +! static char *rtconfig_filename2 = ATARI_CONFIG ; + + int RtConfigLoad (char *rtconfig_filename) + { diff --git a/emulators/atari800/files/patch-ae b/emulators/atari800/files/patch-ae new file mode 100644 index 000000000000..fd52e55c419b --- /dev/null +++ b/emulators/atari800/files/patch-ae @@ -0,0 +1,59 @@ +*** monitor.c.orig Tue Apr 22 20:58:59 1997 +--- monitor.c Tue Apr 22 21:13:57 1997 +*************** +*** 1,3 **** +--- 1,8 ---- ++ /* ++ Patched by Joel Sutton 22nd April, 1997 ++ Replaced gets with fgets. Added a newline chop feature. ++ */ ++ + #include <stdio.h> + #include <ctype.h> + #include <unistd.h> +*************** +*** 95,106 **** + + printf ("> "); + fflush(stdout); +! if (gets (s) == NULL) + { + printf("\n> CONT\n"); + strcpy(s, "CONT"); + } + + for (p=0;s[p]!=0;p++) + if (islower(s[p])) + s[p] = toupper(s[p]); +--- 100,113 ---- + + printf ("> "); + fflush(stdout); +! if (fgets (s,256,stdin) == NULL) + { + printf("\n> CONT\n"); + strcpy(s, "CONT"); + } + ++ s[strlen(s)-1]='\0'; /* fgets provision */ ++ + for (p=0;s[p]!=0;p++) + if (islower(s[p])) + s[p] = toupper(s[p]); +*************** +*** 186,192 **** + char gash[4]; + + printf ("Press return to continue: "); +! gets (gash); + nlines = 0; + } + } +--- 193,199 ---- + char gash[4]; + + printf ("Press return to continue: "); +! fgets (gash,256,stdin); + nlines = 0; + } + } |