forked from Lainports/freebsd-ports
P2000 Emulator
- P2000T or P2000M model (P2000M emulation is buggy)
- Support for 1 ROM cartridge
- User-definable amount of RAM
- One tape drive
- Sound through PC Speaker or SoundBlaster (MS-DOS version), or
USS(/Lite) /dev/dsp (Linux/SVGALib and Unix/X versions)
- SAA5050 character rounding emulated in high resolution mode
The tape files should be writable, otherwise the emulator won't load them.
WWW: http://www.komkon.org/~dekogel/m2000.html
PR: ports/85263
Submitted by: Edwin Groothuis <edwin@mavetju.org>
11 lines
377 B
C
11 lines
377 B
C
--- X.c.orig Wed Aug 24 15:59:59 2005
|
|
+++ X.c Wed Aug 24 16:00:08 2005
|
|
@@ -290,7 +290,7 @@
|
|
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;
|