diff options
Diffstat (limited to 'emulators/m2000/files')
-rw-r--r-- | emulators/m2000/files/m2000.sh.in | 41 | ||||
-rw-r--r-- | emulators/m2000/files/patch-Makefile.X | 39 | ||||
-rw-r--r-- | emulators/m2000/files/patch-X.c | 11 |
3 files changed, 0 insertions, 91 deletions
diff --git a/emulators/m2000/files/m2000.sh.in b/emulators/m2000/files/m2000.sh.in deleted file mode 100644 index b1f0cc1d8f84..000000000000 --- a/emulators/m2000/files/m2000.sh.in +++ /dev/null @@ -1,41 +0,0 @@ -#!/bin/sh - -# -# m2000 doesn't seem to like tapes which are not writable. -# Therefor the tapes are installed to ${HOME}/.m2000 and need to -# be started from there -# - -if [ -z "$1" ]; then - echo "Usage: $0 [tape] [options...]" - cd %%PREFIX%%/share/m2000 - ./m2000 - exit -fi - -if [ "`echo $1 | cut -c 1`" = "-" ]; then - cd %%PREFIX%%/share/m2000 - ./m2000 $* - exit -fi - -tape=$1 -shift - -if [ "`dirname ${tape}`" = "." ]; then - tape=${HOME}/.m2000/${tape} -fi -if [ ! -f ${tape} ]; then - tape=${tape}.cas -fi -if [ ! -f ${tape} ]; then - echo "m2000-wrapper: ${tape} not found." - exit -fi -if [ ! -w ${tape} ]; then - echo "m2000-wrapper: ${tape} not writable." - exit -fi - -cd %%PREFIX%%/share/m2000 -./m2000 -tape ${tape} $* diff --git a/emulators/m2000/files/patch-Makefile.X b/emulators/m2000/files/patch-Makefile.X deleted file mode 100644 index b962f88f4ff3..000000000000 --- a/emulators/m2000/files/patch-Makefile.X +++ /dev/null @@ -1,39 +0,0 @@ ---- Makefile.X.orig 1997-02-13 17:53:43 UTC -+++ Makefile.X -@@ -18,14 +18,14 @@ - # aware though, screen refresh is much slower when shared - # memory is not used - --CC = gcc # C compiler used --LD = gcc # Linker used -+CC ?= gcc # C compiler used -+LD ?= gcc # Linker used - --CFLAGS = -Wall -fomit-frame-pointer -O2 -I/usr/X11/include \ -+CFLAGS += -Wall -fomit-frame-pointer -O2 -I${LOCALBASE}/include \ - -DLSB_FIRST -DHAVE_FTRUNCATE -DHAVE_CLOCK -DUNIX_X \ - -DSOUND -DMITSHM - --LFLAGS = -s -L/usr/X11/lib -+LFLAGS += -L${LOCALBASE}/lib - - OBJECTS = M2000.o P2000.o Z80.o Z80Debug.o \ - Unix.o X.o -@@ -33,13 +33,13 @@ OBJECTS = M2000.o P2000.o Z80.o Z80Debug - all: m2000 fontc splitape z80dasm - - m2000: $(OBJECTS) -- $(LD) $(LFLAGS) -o m2000 $(OBJECTS) -lXext -lX11 -+ $(CC) $(LFLAGS) -o m2000 $(OBJECTS) -lXext -lX11 - fontc: fontc.o -- $(LD) $(LFLAGS) -o fontc fontc.o -+ $(CC) $(LFLAGS) -o fontc fontc.o - splitape: splitape.o -- $(LD) $(LFLAGS) -o splitape splitape.o -+ $(CC) $(LFLAGS) -o splitape splitape.o - z80dasm: Z80Dasm.o -- $(LD) $(LFLAGS) -o z80dasm Z80Dasm.o -+ $(CC) $(LFLAGS) -o z80dasm Z80Dasm.o - - M2000.o: M2000.c P2000.h Z80.h Help.h Z80IO.h - P2000.o: P2000.c P2000.h Z80.h Z80IO.h diff --git a/emulators/m2000/files/patch-X.c b/emulators/m2000/files/patch-X.c deleted file mode 100644 index 578d96bc690a..000000000000 --- a/emulators/m2000/files/patch-X.c +++ /dev/null @@ -1,11 +0,0 @@ ---- X.c.orig 1997-02-13 17:53:43 UTC -+++ X.c -@@ -290,7 +290,7 @@ int InitMachine(void) - DefaultGC=DefaultGCOfScreen (Scr); - DefaultCMap=DefaultColormapOfScreen (Scr); - bpp=DefaultDepthOfScreen (Scr); -- if (bpp!=8 && bpp!=16 && bpp!=32) -+ if (bpp!=8 && bpp!=16 && bpp!=24 && bpp!=32) - { - printf ("FAILED - Only 8,16 and 32 bpp displays are supported\n"); - return 0; |