mirror of https://github.com/stella-emu/stella.git
Mac-related files/folders are now using 'macOS' naming scheme.
This commit is contained in:
parent
6a17467e99
commit
933c4d7d3c
|
@ -9,7 +9,7 @@
|
|||
SSSS ttt eeeee llll llll aaaaa
|
||||
|
||||
===========================================================================
|
||||
Release 6.0 for Linux, MacOSX and Windows
|
||||
Release 6.0 for Linux, macOS and Windows
|
||||
===========================================================================
|
||||
|
||||
The Atari 2600 Video Computer System (VCS), introduced in 1977, was the
|
||||
|
@ -21,7 +21,7 @@ all of your favourite Atari 2600 games again! Stella was originally
|
|||
developed for Linux by Bradford W. Mott, however, it has been ported to a
|
||||
number of other platforms and is currently maintained by Stephen Anthony.
|
||||
|
||||
This is the 6.0 release of Stella for Linux, Mac OSX and Windows. The
|
||||
This is the 6.0 release of Stella for Linux, macOS and Windows. The
|
||||
distributions currently available are:
|
||||
|
||||
* Binaries for Windows XP_SP3(*)/Vista/7/8/10 :
|
||||
|
@ -32,8 +32,8 @@ distributions currently available are:
|
|||
(*) Note: Support for Windows XP is problematic on some systems,
|
||||
and will probably be discontinued in a future release.
|
||||
|
||||
* Binary distribution for MacOS X 10.7 and above :
|
||||
Stella-6.0-macosx.dmg (64-bit Intel)
|
||||
* Binary distribution for macOS 10.7 and above :
|
||||
Stella-6.0-macos.dmg (64-bit Intel)
|
||||
|
||||
* Binary distribution in 32-bit & 64-bit Ubuntu DEB format :
|
||||
stella_6.0-1_i386.deb
|
||||
|
|
|
@ -131,6 +131,9 @@
|
|||
* The UNIX builds now use the system-installed PNG and ZLIB libraries
|
||||
by default.
|
||||
|
||||
* The Macintosh builds are now named 'macOS' throughout the codebase to
|
||||
reflect the new naming from Apple.
|
||||
|
||||
* For better compatibility, the Windows 32-bit version does not require
|
||||
SSE2 anymore.
|
||||
|
||||
|
|
|
@ -716,7 +716,7 @@ case $_host_os in
|
|||
INCLUDES="$INCLUDES -I$SRC/unix"
|
||||
;;
|
||||
darwin)
|
||||
DEFINES="$DEFINES -DBSPF_UNIX -DOSX_KEYS"
|
||||
DEFINES="$DEFINES -DBSPF_UNIX -DMACOS_KEYS"
|
||||
MODULES="$MODULES $SRC/unix"
|
||||
INCLUDES="$INCLUDES -I$SRC/unix"
|
||||
;;
|
||||
|
@ -823,7 +823,7 @@ rm -f stella-conf*
|
|||
if test "$_host_os" = darwin; then
|
||||
cat <<EOI
|
||||
|
||||
WARNING: plain UNIX-style builds on OSX without XCode have degraded functionality
|
||||
WARNING: plain UNIX-style builds on macOS without XCode have degraded functionality
|
||||
and are unsupported. Continue on your own risk...
|
||||
EOI
|
||||
fi
|
||||
|
|
|
@ -358,7 +358,7 @@
|
|||
<p>The Mac version of Stella is designed to work on an Apple Macintosh with
|
||||
the following:</p>
|
||||
<ul>
|
||||
<li>MacOSX 10.7 (Lion) or above</li>
|
||||
<li>macOS 10.7 or above</li>
|
||||
<li>64-bit Intel processor</li>
|
||||
<li>OpenGL capable video card</li>
|
||||
<li>Xcode 8.0 is required to compile the Stella source code</li>
|
||||
|
@ -382,7 +382,7 @@
|
|||
<h3><b><u>Other</u></b></h3>
|
||||
|
||||
<p>Stella is extremely portable, and in its lifetime has been ported to almost every
|
||||
platform where the SDL library exists. It is 32/64-bit and endian clean in Linux/Unix, MacOSX
|
||||
platform where the SDL library exists. It is 32/64-bit and endian clean in Linux/Unix, macOS
|
||||
and Windows. The Stella Team is interested in hearing about any problems you may
|
||||
encounter with diverse operating systems and CPU types.</p>
|
||||
</blockquote>
|
||||
|
@ -423,7 +423,7 @@
|
|||
<p>
|
||||
<h3><b><u>Macintosh</u></b></h3>
|
||||
<ul>
|
||||
<li><b>Binary DMG file</b> (Stella-<i>release</i>-macosx.dmg)
|
||||
<li><b>Binary DMG file</b> (Stella-<i>release</i>-macos.dmg)
|
||||
<ul>
|
||||
<li>Double-click the disk image, open the 'Stella' folder, then copy the
|
||||
<b>Stella.app</b> package to your 'Applications' folder.</li>
|
||||
|
@ -632,7 +632,7 @@
|
|||
<tr>
|
||||
<th>Function</th>
|
||||
<th>Key (Standard)</th>
|
||||
<th>Key (MacOSX)</th>
|
||||
<th>Key (macOS)</th>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
|
@ -1262,7 +1262,7 @@
|
|||
<tr>
|
||||
<th>Function</th>
|
||||
<th>Key (Standard)</th>
|
||||
<th>Key (MacOSX)</th>
|
||||
<th>Key (macOS)</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Disable TV effects</td>
|
||||
|
@ -1347,7 +1347,7 @@
|
|||
<tr>
|
||||
<th>Function</th>
|
||||
<th>Key (Standard)</th>
|
||||
<th>Key (MacOSX)</th>
|
||||
<th>Key (macOS)</th>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
|
@ -1483,7 +1483,7 @@
|
|||
<tr>
|
||||
<th>Function</th>
|
||||
<th>Key (Standard)</th>
|
||||
<th>Key (MacOSX)</th>
|
||||
<th>Key (macOS)</th>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
|
@ -3072,8 +3072,8 @@
|
|||
|
||||
<p>Note that you must use the entire name of the port as specified by
|
||||
your operating system. For example, in Windows this would be COM1,
|
||||
COM2, etc.; Linux and MacOSX tend to use names similar to '/dev/xxxxxx'.
|
||||
For now, only Linux/UNIX, MacOSX, and Windows are supported.</p>
|
||||
COM2, etc.; Linux and macOS tend to use names similar to '/dev/xxxxxx'.
|
||||
For now, only Linux/UNIX, macOS, and Windows are supported.</p>
|
||||
|
||||
<p>Support for the EEPROM portion of the AtariVox and SaveKey is currently
|
||||
emulated. That is, a file will be created on your computer simulating the
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
#define FSNODE_FACTORY_HXX
|
||||
|
||||
class AbstractFSNode;
|
||||
#if defined(BSPF_UNIX) || defined(BSPF_MAC_OSX)
|
||||
#if defined(BSPF_UNIX) || defined(BSPF_MACOS)
|
||||
#include "FSNodePOSIX.hxx"
|
||||
#elif defined(BSPF_WINDOWS)
|
||||
#include "FSNodeWINDOWS.hxx"
|
||||
|
@ -45,7 +45,7 @@ class FilesystemNodeFactory
|
|||
switch(type)
|
||||
{
|
||||
case SYSTEM:
|
||||
#if defined(BSPF_UNIX) || defined(BSPF_MAC_OSX)
|
||||
#if defined(BSPF_UNIX) || defined(BSPF_MACOS)
|
||||
return make_unique<FilesystemNodePOSIX>(path);
|
||||
#elif defined(BSPF_WINDOWS)
|
||||
return make_unique<FilesystemNodeWINDOWS>(path);
|
||||
|
|
|
@ -189,12 +189,12 @@ bool FrameBufferSDL2::setVideoMode(const string& title, const VideoMode& mode)
|
|||
: SDL_WINDOWPOS_UNDEFINED_DISPLAY(displayIndex);
|
||||
uInt32 flags = mode.fsIndex != -1 ? SDL_WINDOW_FULLSCREEN_DESKTOP : 0;
|
||||
|
||||
// OSX seems to have issues with destroying the window, and wants to keep
|
||||
// the same handle
|
||||
// macOS seems to have issues with destroying the window, and wants to
|
||||
// keep the same handle
|
||||
// Problem is, doing so on other platforms results in flickering when
|
||||
// toggling fullscreen windowed mode
|
||||
// So we have a special case for OSX
|
||||
#ifndef BSPF_MAC_OSX
|
||||
// So we have a special case for macOS
|
||||
#ifndef BSPF_MACOS
|
||||
// Don't re-create the window if its size hasn't changed, as it's not
|
||||
// necessary, and causes flashing in fullscreen mode
|
||||
if(myWindow)
|
||||
|
@ -213,7 +213,7 @@ bool FrameBufferSDL2::setVideoMode(const string& title, const VideoMode& mode)
|
|||
SDL_SetWindowTitle(myWindow, title.c_str());
|
||||
}
|
||||
#else
|
||||
// OSX wants to *never* re-create the window
|
||||
// macOS wants to *never* re-create the window
|
||||
// This sometimes results in the window being resized *after* it's displayed,
|
||||
// but at least the code works and doesn't crash
|
||||
if(myWindow)
|
||||
|
@ -346,7 +346,7 @@ void FrameBufferSDL2::setWindowIcon()
|
|||
{
|
||||
ASSERT_MAIN_THREAD;
|
||||
|
||||
#ifndef BSPF_MAC_OSX // Currently not needed for OSX
|
||||
#ifndef BSPF_MACOS // Currently not needed for macOS
|
||||
#include "stella_icon.hxx" // The Stella icon
|
||||
|
||||
SDL_Surface* surface = SDL_CreateRGBSurfaceFrom(stella_icon, 32, 32, 32,
|
||||
|
|
|
@ -32,10 +32,10 @@
|
|||
#include "SerialPortWINDOWS.hxx"
|
||||
#include "SettingsWINDOWS.hxx"
|
||||
#include "OSystemWINDOWS.hxx"
|
||||
#elif defined(BSPF_MAC_OSX)
|
||||
#include "SerialPortMACOSX.hxx"
|
||||
#include "SettingsMACOSX.hxx"
|
||||
#include "OSystemMACOSX.hxx"
|
||||
#elif defined(BSPF_MACOS)
|
||||
#include "SerialPortMACOS.hxx"
|
||||
#include "SettingsMACOS.hxx"
|
||||
#include "OSystemMACOS.hxx"
|
||||
extern "C" {
|
||||
int stellaMain(int argc, char* argv[]);
|
||||
}
|
||||
|
@ -73,8 +73,8 @@ class MediaFactory
|
|||
return make_unique<OSystemUNIX>();
|
||||
#elif defined(BSPF_WINDOWS)
|
||||
return make_unique<OSystemWINDOWS>();
|
||||
#elif defined(BSPF_MAC_OSX)
|
||||
return make_unique<OSystemMACOSX>();
|
||||
#elif defined(BSPF_MACOS)
|
||||
return make_unique<OSystemMACOS>();
|
||||
#else
|
||||
#error Unsupported platform for OSystem!
|
||||
#endif
|
||||
|
@ -86,8 +86,8 @@ class MediaFactory
|
|||
return make_unique<SettingsUNIX>(osystem);
|
||||
#elif defined(BSPF_WINDOWS)
|
||||
return make_unique<SettingsWINDOWS>(osystem);
|
||||
#elif defined(BSPF_MAC_OSX)
|
||||
return make_unique<SettingsMACOSX>(osystem);
|
||||
#elif defined(BSPF_MACOS)
|
||||
return make_unique<SettingsMACOS>(osystem);
|
||||
#else
|
||||
#error Unsupported platform for Settings!
|
||||
#endif
|
||||
|
@ -99,8 +99,8 @@ class MediaFactory
|
|||
return make_unique<SerialPortUNIX>();
|
||||
#elif defined(BSPF_WINDOWS)
|
||||
return make_unique<SerialPortWINDOWS>();
|
||||
#elif defined(BSPF_MAC_OSX)
|
||||
return make_unique<SerialPortMACOSX>();
|
||||
#elif defined(BSPF_MACOS)
|
||||
return make_unique<SerialPortMACOS>();
|
||||
#else
|
||||
return make_unique<SerialPort>();
|
||||
#endif
|
||||
|
|
|
@ -259,7 +259,7 @@ void PhysicalKeyboardHandler::handleEvent(StellaKey key, StellaMod mod, bool sta
|
|||
// Control or Alt/Cmd combos first
|
||||
if(StellaModTest::isAlt(mod) && state)
|
||||
{
|
||||
#ifdef BSPF_MAC_OSX
|
||||
#ifdef BSPF_MACOS
|
||||
// These keys work in all states
|
||||
if(key == KBDK_Q)
|
||||
{
|
||||
|
|
|
@ -417,7 +417,7 @@ namespace StellaModTest
|
|||
{
|
||||
inline bool isAlt(int mod)
|
||||
{
|
||||
#if defined(BSPF_MAC_OSX) || defined(OSX_KEYS)
|
||||
#if defined(BSPF_MACOS) || defined(MACOS_KEYS)
|
||||
return (mod & KBDM_GUI);
|
||||
#else
|
||||
return (mod & KBDM_ALT);
|
||||
|
|
|
@ -90,7 +90,7 @@ static const string EmptyString("");
|
|||
namespace BSPF
|
||||
{
|
||||
// Defines to help with path handling
|
||||
#if defined(BSPF_UNIX) || defined(BSPF_MAC_OSX)
|
||||
#if defined(BSPF_UNIX) || defined(BSPF_MACOS)
|
||||
static const string PATH_SEPARATOR = "/";
|
||||
#define ATTRIBUTE_FMT_PRINTF __attribute__((__format__ (__printf__, 2, 0)))
|
||||
#elif defined(BSPF_WINDOWS)
|
||||
|
|
|
@ -44,7 +44,7 @@
|
|||
|
||||
|
||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
#if defined(BSPF_MAC_OSX)
|
||||
#if defined(BSPF_MACOS)
|
||||
int stellaMain(int argc, char* argv[])
|
||||
#else
|
||||
int main(int argc, char* argv[])
|
||||
|
|
|
@ -700,7 +700,7 @@ void EventHandler::setActionMappings(EventMode mode)
|
|||
// There are some keys which are hardcoded. These should be represented too.
|
||||
string prepend = "";
|
||||
if(event == Event::Quit)
|
||||
#ifndef BSPF_MAC_OSX
|
||||
#ifndef BSPF_MACOS
|
||||
prepend = "Ctrl Q";
|
||||
#else
|
||||
prepend = "Cmd Q";
|
||||
|
|
|
@ -67,7 +67,7 @@ Serializer::Serializer()
|
|||
{
|
||||
myStream = make_unique<stringstream>(ios::in | ios::out | ios::binary);
|
||||
|
||||
// For some reason, Windows and possibly OSX needs to store something in
|
||||
// For some reason, Windows and possibly macOS needs to store something in
|
||||
// the stream before it is used for the first time
|
||||
if(myStream)
|
||||
{
|
||||
|
|
|
@ -118,7 +118,7 @@ void AboutDialog::updateStrings(int page, int lines, string& title)
|
|||
title = "The Stella Team";
|
||||
ADD_ATEXT("\\L\\c0""Stephen Anthony");
|
||||
ADD_ATEXT("\\L\\c2"" Lead developer, current maintainer for the");
|
||||
ADD_ATEXT("\\L\\c2"" Linux/OSX and Windows ports ");
|
||||
ADD_ATEXT("\\L\\c2"" Linux, macOS and Windows ports ");
|
||||
ADD_ATEXT("\\L\\c0""Christian Speckner");
|
||||
ADD_ATEXT("\\L\\c2"" Emulation core development, TIA core");
|
||||
ADD_ATEXT("\\L\\c0""Eckhard Stolberg");
|
||||
|
|
|
@ -82,7 +82,7 @@ BrowserDialog::BrowserDialog(GuiObject* boss, const GUI::Font& font,
|
|||
buttonWidth, buttonHeight, "Base Dir", kBaseDirCmd);
|
||||
addFocusWidget(_basedirButton);
|
||||
|
||||
#ifndef BSPF_MAC_OSX
|
||||
#ifndef BSPF_MACOS
|
||||
b = new ButtonWidget(this, font, _w - 2 * (buttonWidth + 7), _h - buttonHeight - 10,
|
||||
buttonWidth, buttonHeight, "Choose", kChooseCmd);
|
||||
addFocusWidget(b);
|
||||
|
|
|
@ -727,7 +727,7 @@ void Dialog::addOKCancelBGroup(WidgetArray& wid, const GUI::Font& font,
|
|||
|
||||
_w = std::max(HBORDER * 2 + buttonWidth * 2 + BUTTON_GAP, _w);
|
||||
|
||||
#ifndef BSPF_MAC_OSX
|
||||
#ifndef BSPF_MACOS
|
||||
addOKWidget(new ButtonWidget(this, font, _w - 2 * buttonWidth - HBORDER - BUTTON_GAP,
|
||||
_h - buttonHeight - VBORDER, buttonWidth, buttonHeight, okText, GuiObject::kOKCmd));
|
||||
addCancelWidget(new ButtonWidget(this, font, _w - (buttonWidth + HBORDER),
|
||||
|
|
|
@ -84,7 +84,7 @@ HelpDialog::HelpDialog(OSystem& osystem, DialogContainer& parent,
|
|||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
void HelpDialog::updateStrings(uInt8 page, uInt8 lines, string& title)
|
||||
{
|
||||
#ifdef BSPF_MAC_OSX
|
||||
#ifdef BSPF_MACOS
|
||||
#define ALT_ "Cmd"
|
||||
#else
|
||||
#define ALT_ "Alt"
|
||||
|
@ -102,7 +102,7 @@ void HelpDialog::updateStrings(uInt8 page, uInt8 lines, string& title)
|
|||
{
|
||||
case 1:
|
||||
title = "Common commands";
|
||||
#ifndef BSPF_MAC_OSX
|
||||
#ifndef BSPF_MACOS
|
||||
ADD_BIND("Ctrl Q", "Quit emulation");
|
||||
#else
|
||||
ADD_BIND("Cmd Q", "Quit emulation");
|
||||
|
|
|
@ -131,7 +131,7 @@ LauncherDialog::LauncherDialog(OSystem& osystem, DialogContainer& parent,
|
|||
|
||||
// Add four buttons at the bottom
|
||||
xpos = 10; ypos += myDir->getHeight() + 8;
|
||||
#ifndef BSPF_MAC_OSX
|
||||
#ifndef BSPF_MACOS
|
||||
myStartButton = new ButtonWidget(this, font, xpos, ypos, (bwidth + 0) / 4, bheight,
|
||||
"Select", kLoadROMCmd);
|
||||
wid.push_back(myStartButton);
|
||||
|
|
|
@ -18,8 +18,8 @@
|
|||
#import <Cocoa/Cocoa.h>
|
||||
|
||||
/**
|
||||
AboutBox window class and support functions for the Macintosh OS X
|
||||
SDL port of Stella.
|
||||
AboutBox window class and support functions for the macOS
|
||||
SDL2 port of Stella.
|
||||
|
||||
@author Mark Grebe <atarimac@cox.net>
|
||||
*/
|
|
@ -18,8 +18,8 @@
|
|||
#import <Cocoa/Cocoa.h>
|
||||
|
||||
/**
|
||||
AboutBoxTextView class and support functions for the Macintosh OS X
|
||||
SDL port of Stella.
|
||||
AboutBoxTextView class and support functions for the macOS
|
||||
SDL2 port of Stella.
|
||||
|
||||
@author Mark Grebe <atarimac@cox.net>
|
||||
*/
|
|
@ -4,7 +4,7 @@
|
|||
# usage:
|
||||
# Create_build.sh <version>
|
||||
#
|
||||
# The result will be a file called ~/Desktop/Stella-<ver>-macosx.dmg
|
||||
# The result will be a file called ~/Desktop/Stella-<ver>-macos.dmg
|
||||
|
||||
if [ $# != 1 ]; then
|
||||
echo "usage: Create_build.sh version"
|
||||
|
@ -12,7 +12,7 @@ if [ $# != 1 ]; then
|
|||
fi
|
||||
|
||||
VER="$1"
|
||||
DMG="Stella-${VER}-macosx.dmg"
|
||||
DMG="Stella-${VER}-macos.dmg"
|
||||
DISK="/Volumes/Stella"
|
||||
DEST=~/Desktop/${DMG}
|
||||
|
|
@ -13,7 +13,7 @@ Copyright © 1995-2018 The Stella Team<br>
|
|||
Stella is now DonationWare!<br>
|
||||
<a href="https://stella-emu.github.io/donations.html">https://stella-emu.github.io/donations.html</a><br>
|
||||
<br>
|
||||
Macintosh OS X version:<br>
|
||||
macOS version:<br>
|
||||
Copyright © 2007-2018 Stephen Anthony<br>
|
||||
Copyright © 2005-2006 Mark Grebe<br>
|
||||
<br></big>
|
|
@ -0,0 +1,8 @@
|
|||
/* Localized versions of Info.plist keys */
|
||||
|
||||
CFBundleName = "Stella";
|
||||
CFBundleShortVersionString = "Stella version 6.0";
|
||||
CFBundleGetInfoString = "Stella version 6.0";
|
||||
NSHumanReadableCopyright = "Stella macOS version by Stephen Anthony and Mark Grebe.";
|
||||
|
||||
"Atari 2600 Cartridge File" = "Atari 2600 Cartridge File";
|
|
@ -16,7 +16,7 @@
|
|||
//============================================================================
|
||||
|
||||
#include "FSNode.hxx"
|
||||
#include "OSystemMACOSX.hxx"
|
||||
#include "OSystemMACOS.hxx"
|
||||
|
||||
/**
|
||||
Each derived class is responsible for calling the following methods
|
||||
|
@ -29,24 +29,24 @@
|
|||
*/
|
||||
|
||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
OSystemMACOSX::OSystemMACOSX()
|
||||
OSystemMACOS::OSystemMACOS()
|
||||
: OSystem()
|
||||
{
|
||||
setBaseDir("~/Library/Application Support/Stella/");
|
||||
|
||||
// This will be overridden, as OSX uses plist files for settings
|
||||
// This will be overridden, as macOS uses plist files for settings
|
||||
setConfigFile("~/Library/Application Support/Stella/stellarc");
|
||||
}
|
||||
|
||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
string OSystemMACOSX::defaultSaveDir() const
|
||||
string OSystemMACOS::defaultSaveDir() const
|
||||
{
|
||||
FilesystemNode desktop("~/Desktop/");
|
||||
return desktop.isDirectory() ? desktop.getShortPath() : "~/";
|
||||
}
|
||||
|
||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
string OSystemMACOSX::defaultLoadDir() const
|
||||
string OSystemMACOS::defaultLoadDir() const
|
||||
{
|
||||
return defaultSaveDir();
|
||||
}
|
|
@ -15,24 +15,24 @@
|
|||
// this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||
//============================================================================
|
||||
|
||||
#ifndef OSYSTEM_MACOSX_HXX
|
||||
#define OSYSTEM_MACOSX_HXX
|
||||
#ifndef OSYSTEM_MACOS_HXX
|
||||
#define OSYSTEM_MACOS_HXX
|
||||
|
||||
#include "OSystem.hxx"
|
||||
|
||||
/**
|
||||
This class defines UNIX-like OS's (MacOS X) system specific settings.
|
||||
This class defines UNIX-like OS's (macOS) system-specific settings.
|
||||
|
||||
@author Mark Grebe
|
||||
@author Mark Grebe, Stephen Anthony
|
||||
*/
|
||||
class OSystemMACOSX : public OSystem
|
||||
class OSystemMACOS : public OSystem
|
||||
{
|
||||
public:
|
||||
/**
|
||||
Create a new MACOSX-specific operating system object
|
||||
Create a new macOS-specific operating system object
|
||||
*/
|
||||
OSystemMACOSX();
|
||||
virtual ~OSystemMACOSX() = default;
|
||||
OSystemMACOS();
|
||||
virtual ~OSystemMACOS() = default;
|
||||
|
||||
/**
|
||||
Returns the default paths for loading/saving files.
|
||||
|
@ -42,10 +42,10 @@ class OSystemMACOSX : public OSystem
|
|||
|
||||
private:
|
||||
// Following constructors and assignment operators not supported
|
||||
OSystemMACOSX(const OSystemMACOSX&) = delete;
|
||||
OSystemMACOSX(OSystemMACOSX&&) = delete;
|
||||
OSystemMACOSX& operator=(const OSystemMACOSX&) = delete;
|
||||
OSystemMACOSX& operator=(OSystemMACOSX&&) = delete;
|
||||
OSystemMACOS(const OSystemMACOS&) = delete;
|
||||
OSystemMACOS(OSystemMACOS&&) = delete;
|
||||
OSystemMACOS& operator=(const OSystemMACOS&) = delete;
|
||||
OSystemMACOS& operator=(OSystemMACOS&&) = delete;
|
||||
};
|
||||
|
||||
#endif
|
|
@ -18,8 +18,8 @@
|
|||
#import <Cocoa/Cocoa.h>
|
||||
|
||||
/**
|
||||
Preferences class and support functions for the Macintosh OS X
|
||||
SDL port of Stella.
|
||||
Preferences class and support functions for the macOS
|
||||
SDL2 port of Stella.
|
||||
|
||||
@author Mark Grebe <atarimac@cox.net>
|
||||
*/
|
|
@ -25,23 +25,23 @@
|
|||
#include <sys/filio.h>
|
||||
#include <sys/ioctl.h>
|
||||
|
||||
#include "SerialPortMACOSX.hxx"
|
||||
#include "SerialPortMACOS.hxx"
|
||||
|
||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
SerialPortMACOSX::SerialPortMACOSX()
|
||||
SerialPortMACOS::SerialPortMACOS()
|
||||
: SerialPort(),
|
||||
myHandle(0)
|
||||
{
|
||||
}
|
||||
|
||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
SerialPortMACOSX::~SerialPortMACOSX()
|
||||
SerialPortMACOS::~SerialPortMACOS()
|
||||
{
|
||||
closePort();
|
||||
}
|
||||
|
||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
bool SerialPortMACOSX::openPort(const string& device)
|
||||
bool SerialPortMACOS::openPort(const string& device)
|
||||
{
|
||||
myHandle = open(device.c_str(), O_RDWR | O_NOCTTY | O_NONBLOCK);
|
||||
if(myHandle <= 0)
|
||||
|
@ -61,7 +61,7 @@ bool SerialPortMACOSX::openPort(const string& device)
|
|||
}
|
||||
|
||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
void SerialPortMACOSX::closePort()
|
||||
void SerialPortMACOS::closePort()
|
||||
{
|
||||
if(myHandle)
|
||||
{
|
||||
|
@ -71,11 +71,11 @@ void SerialPortMACOSX::closePort()
|
|||
}
|
||||
|
||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
bool SerialPortMACOSX::writeByte(const uInt8* data)
|
||||
bool SerialPortMACOS::writeByte(const uInt8* data)
|
||||
{
|
||||
if(myHandle)
|
||||
{
|
||||
// cerr << "SerialPortMACOSX::writeByte " << (int)(*data) << endl;
|
||||
// cerr << "SerialPortMACOS::writeByte " << (int)(*data) << endl;
|
||||
return write(myHandle, data, 1) == 1;
|
||||
}
|
||||
return false;
|
|
@ -15,22 +15,22 @@
|
|||
// this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||
//============================================================================
|
||||
|
||||
#ifndef SERIALPORT_UNIX_HXX
|
||||
#define SERIALPORT_UNIX_HXX
|
||||
#ifndef SERIALPORT_MACOS_HXX
|
||||
#define SERIALPORT_MACOS_HXX
|
||||
|
||||
#include "SerialPort.hxx"
|
||||
|
||||
/**
|
||||
Implement reading and writing from a serial port under OSX. For now,
|
||||
Implement reading and writing from a serial port under macOS. For now,
|
||||
reading isn't actually supported at all.
|
||||
|
||||
@author Stephen Anthony & D. Spice
|
||||
*/
|
||||
class SerialPortMACOSX : public SerialPort
|
||||
class SerialPortMACOS : public SerialPort
|
||||
{
|
||||
public:
|
||||
SerialPortMACOSX();
|
||||
virtual ~SerialPortMACOSX();
|
||||
SerialPortMACOS();
|
||||
virtual ~SerialPortMACOS();
|
||||
|
||||
/**
|
||||
Open the given serial port with the specified attributes.
|
||||
|
@ -59,10 +59,10 @@ class SerialPortMACOSX : public SerialPort
|
|||
|
||||
private:
|
||||
// Following constructors and assignment operators not supported
|
||||
SerialPortMACOSX(const SerialPortMACOSX&) = delete;
|
||||
SerialPortMACOSX(SerialPortMACOSX&&) = delete;
|
||||
SerialPortMACOSX& operator=(const SerialPortMACOSX&) = delete;
|
||||
SerialPortMACOSX& operator=(SerialPortMACOSX&&) = delete;
|
||||
SerialPortMACOS(const SerialPortMACOS&) = delete;
|
||||
SerialPortMACOS(SerialPortMACOS&&) = delete;
|
||||
SerialPortMACOS& operator=(const SerialPortMACOS&) = delete;
|
||||
SerialPortMACOS& operator=(SerialPortMACOS&&) = delete;
|
||||
};
|
||||
|
||||
#endif
|
|
@ -15,7 +15,7 @@
|
|||
// this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||
//============================================================================
|
||||
|
||||
#include "SettingsMACOSX.hxx"
|
||||
#include "SettingsMACOS.hxx"
|
||||
|
||||
extern "C" {
|
||||
void prefsSetString(const char* key, const char* value);
|
||||
|
@ -24,13 +24,13 @@ extern "C" {
|
|||
}
|
||||
|
||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
SettingsMACOSX::SettingsMACOSX(OSystem& osystem)
|
||||
SettingsMACOS::SettingsMACOS(OSystem& osystem)
|
||||
: Settings(osystem)
|
||||
{
|
||||
}
|
||||
|
||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
void SettingsMACOSX::loadConfig()
|
||||
void SettingsMACOS::loadConfig()
|
||||
{
|
||||
string key, value;
|
||||
char cvalue[4096];
|
||||
|
@ -46,7 +46,7 @@ void SettingsMACOSX::loadConfig()
|
|||
}
|
||||
|
||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
void SettingsMACOSX::saveConfig()
|
||||
void SettingsMACOS::saveConfig()
|
||||
{
|
||||
// Write out each of the key and value pairs
|
||||
for(const auto& s: getInternalSettings())
|
|
@ -15,26 +15,26 @@
|
|||
// this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||
//============================================================================
|
||||
|
||||
#ifndef SETTINGS_MAC_OSX_HXX
|
||||
#define SETTINGS_MAC_OSX_HXX
|
||||
#ifndef SETTINGS_MACOS_HXX
|
||||
#define SETTINGS_MACOS_HXX
|
||||
|
||||
class OSystem;
|
||||
|
||||
#include "Settings.hxx"
|
||||
|
||||
/**
|
||||
This class defines Macintosh OSX system specific settings.
|
||||
This class defines macOS system-specific settings.
|
||||
|
||||
@author Mark Grebe
|
||||
@author Mark Grebe, Stephen Anthony
|
||||
*/
|
||||
class SettingsMACOSX : public Settings
|
||||
class SettingsMACOS : public Settings
|
||||
{
|
||||
public:
|
||||
/**
|
||||
Create a new UNIX settings object
|
||||
*/
|
||||
explicit SettingsMACOSX(OSystem& osystem);
|
||||
virtual ~SettingsMACOSX() = default;
|
||||
explicit SettingsMACOS(OSystem& osystem);
|
||||
virtual ~SettingsMACOS() = default;
|
||||
|
||||
public:
|
||||
/**
|
||||
|
@ -51,11 +51,11 @@ class SettingsMACOSX : public Settings
|
|||
|
||||
private:
|
||||
// Following constructors and assignment operators not supported
|
||||
SettingsMACOSX() = delete;
|
||||
SettingsMACOSX(const SettingsMACOSX&) = delete;
|
||||
SettingsMACOSX(SettingsMACOSX&&) = delete;
|
||||
SettingsMACOSX& operator=(const SettingsMACOSX&) = delete;
|
||||
SettingsMACOSX& operator=(SettingsMACOSX&&) = delete;
|
||||
SettingsMACOS() = delete;
|
||||
SettingsMACOS(const SettingsMACOS&) = delete;
|
||||
SettingsMACOS(SettingsMACOS&&) = delete;
|
||||
SettingsMACOS& operator=(const SettingsMACOS&) = delete;
|
||||
SettingsMACOS& operator=(SettingsMACOS&&) = delete;
|
||||
};
|
||||
|
||||
#endif
|
|
@ -43,8 +43,6 @@
|
|||
2D9173F909BA90380026E9FF /* EventHandler.hxx in Headers */ = {isa = PBXBuildFile; fileRef = 2D733D6F062895B2006265D9 /* EventHandler.hxx */; };
|
||||
2D9173FA09BA90380026E9FF /* FrameBuffer.hxx in Headers */ = {isa = PBXBuildFile; fileRef = 2D733D71062895B2006265D9 /* FrameBuffer.hxx */; };
|
||||
2D9173FB09BA90380026E9FF /* Settings.hxx in Headers */ = {isa = PBXBuildFile; fileRef = 2D733D77062895F1006265D9 /* Settings.hxx */; };
|
||||
2D9173FC09BA90380026E9FF /* SettingsMACOSX.hxx in Headers */ = {isa = PBXBuildFile; fileRef = 2D94486C0629124700DD9879 /* SettingsMACOSX.hxx */; };
|
||||
2D9173FF09BA90380026E9FF /* OSystemMACOSX.hxx in Headers */ = {isa = PBXBuildFile; fileRef = 2DDBEA0F0845709700812C11 /* OSystemMACOSX.hxx */; };
|
||||
2D91740009BA90380026E9FF /* AboutDialog.hxx in Headers */ = {isa = PBXBuildFile; fileRef = 2DDBEAA4084578BF00812C11 /* AboutDialog.hxx */; };
|
||||
2D91740109BA90380026E9FF /* AudioDialog.hxx in Headers */ = {isa = PBXBuildFile; fileRef = 2DDBEAA7084578BF00812C11 /* AudioDialog.hxx */; };
|
||||
2D91740209BA90380026E9FF /* BrowserDialog.hxx in Headers */ = {isa = PBXBuildFile; fileRef = 2DDBEAA9084578BF00812C11 /* BrowserDialog.hxx */; };
|
||||
|
@ -145,9 +143,7 @@
|
|||
2D9174A109BA90380026E9FF /* EventHandler.cxx in Sources */ = {isa = PBXBuildFile; fileRef = 2D733D6E062895B2006265D9 /* EventHandler.cxx */; };
|
||||
2D9174A209BA90380026E9FF /* FrameBuffer.cxx in Sources */ = {isa = PBXBuildFile; fileRef = 2D733D70062895B2006265D9 /* FrameBuffer.cxx */; };
|
||||
2D9174A309BA90380026E9FF /* Settings.cxx in Sources */ = {isa = PBXBuildFile; fileRef = 2D944848062904E800DD9879 /* Settings.cxx */; };
|
||||
2D9174A409BA90380026E9FF /* SettingsMACOSX.cxx in Sources */ = {isa = PBXBuildFile; fileRef = 2D944866062911CD00DD9879 /* SettingsMACOSX.cxx */; };
|
||||
2D9174A809BA90380026E9FF /* FSNodePOSIX.cxx in Sources */ = {isa = PBXBuildFile; fileRef = 2DDBEA0C0845708800812C11 /* FSNodePOSIX.cxx */; };
|
||||
2D9174A909BA90380026E9FF /* OSystemMACOSX.cxx in Sources */ = {isa = PBXBuildFile; fileRef = 2DDBEA0E0845709700812C11 /* OSystemMACOSX.cxx */; };
|
||||
2D9174AA09BA90380026E9FF /* AboutDialog.cxx in Sources */ = {isa = PBXBuildFile; fileRef = 2DDBEAA3084578BF00812C11 /* AboutDialog.cxx */; };
|
||||
2D9174AB09BA90380026E9FF /* AudioDialog.cxx in Sources */ = {isa = PBXBuildFile; fileRef = 2DDBEAA6084578BF00812C11 /* AudioDialog.cxx */; };
|
||||
2D9174AC09BA90380026E9FF /* BrowserDialog.cxx in Sources */ = {isa = PBXBuildFile; fileRef = 2DDBEAA8084578BF00812C11 /* BrowserDialog.cxx */; };
|
||||
|
@ -235,8 +231,12 @@
|
|||
DC1B2EC81E50036100F62837 /* TrakBall.hxx in Headers */ = {isa = PBXBuildFile; fileRef = DC1B2EC21E50036100F62837 /* TrakBall.hxx */; };
|
||||
DC1BC6662066B4390076F74A /* PKeyboardHandler.cxx in Sources */ = {isa = PBXBuildFile; fileRef = DC1BC6642066B4390076F74A /* PKeyboardHandler.cxx */; };
|
||||
DC1BC6672066B4390076F74A /* PKeyboardHandler.hxx in Headers */ = {isa = PBXBuildFile; fileRef = DC1BC6652066B4390076F74A /* PKeyboardHandler.hxx */; };
|
||||
DC1FC18A0DB3B2C7009B3DF7 /* SerialPortMACOSX.cxx in Sources */ = {isa = PBXBuildFile; fileRef = DC1FC1880DB3B2C7009B3DF7 /* SerialPortMACOSX.cxx */; };
|
||||
DC1FC18B0DB3B2C7009B3DF7 /* SerialPortMACOSX.hxx in Headers */ = {isa = PBXBuildFile; fileRef = DC1FC1890DB3B2C7009B3DF7 /* SerialPortMACOSX.hxx */; };
|
||||
DC21E5BF21CA903E007D0E1A /* OSystemMACOS.cxx in Sources */ = {isa = PBXBuildFile; fileRef = DC21E5B921CA903E007D0E1A /* OSystemMACOS.cxx */; };
|
||||
DC21E5C021CA903E007D0E1A /* OSystemMACOS.hxx in Headers */ = {isa = PBXBuildFile; fileRef = DC21E5BA21CA903E007D0E1A /* OSystemMACOS.hxx */; };
|
||||
DC21E5C121CA903E007D0E1A /* SerialPortMACOS.cxx in Sources */ = {isa = PBXBuildFile; fileRef = DC21E5BB21CA903E007D0E1A /* SerialPortMACOS.cxx */; };
|
||||
DC21E5C221CA903E007D0E1A /* SerialPortMACOS.hxx in Headers */ = {isa = PBXBuildFile; fileRef = DC21E5BC21CA903E007D0E1A /* SerialPortMACOS.hxx */; };
|
||||
DC21E5C321CA903E007D0E1A /* SettingsMACOS.cxx in Sources */ = {isa = PBXBuildFile; fileRef = DC21E5BD21CA903E007D0E1A /* SettingsMACOS.cxx */; };
|
||||
DC21E5C421CA903E007D0E1A /* SettingsMACOS.hxx in Headers */ = {isa = PBXBuildFile; fileRef = DC21E5BE21CA903E007D0E1A /* SettingsMACOS.hxx */; };
|
||||
DC2874071F8F2278004BF21A /* TrapArray.hxx in Headers */ = {isa = PBXBuildFile; fileRef = DC2874061F8F2278004BF21A /* TrapArray.hxx */; };
|
||||
DC2AADAE194F389C0026C7A4 /* CartDASH.cxx in Sources */ = {isa = PBXBuildFile; fileRef = DC2AADAA194F389C0026C7A4 /* CartDASH.cxx */; };
|
||||
DC2AADAF194F389C0026C7A4 /* CartDASH.hxx in Headers */ = {isa = PBXBuildFile; fileRef = DC2AADAB194F389C0026C7A4 /* CartDASH.hxx */; };
|
||||
|
@ -785,15 +785,11 @@
|
|||
2D9217FB0857CC88001D664B /* Font.cxx */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = Font.cxx; sourceTree = "<group>"; };
|
||||
2D9217FC0857CC88001D664B /* Font.hxx */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.h; path = Font.hxx; sourceTree = "<group>"; };
|
||||
2D944848062904E800DD9879 /* Settings.cxx */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = Settings.cxx; sourceTree = "<group>"; };
|
||||
2D944866062911CD00DD9879 /* SettingsMACOSX.cxx */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = SettingsMACOSX.cxx; sourceTree = "<group>"; };
|
||||
2D94486C0629124700DD9879 /* SettingsMACOSX.hxx */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.h; path = SettingsMACOSX.hxx; sourceTree = "<group>"; };
|
||||
2D9555D90880E78000466554 /* Cart3E.cxx */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = Cart3E.cxx; sourceTree = "<group>"; };
|
||||
2D9555DA0880E78000466554 /* Cart3E.hxx */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.h; path = Cart3E.hxx; sourceTree = "<group>"; };
|
||||
2D9555DD0880E79600466554 /* CpuDebug.cxx */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = CpuDebug.cxx; sourceTree = "<group>"; };
|
||||
2D9555DE0880E79600466554 /* CpuDebug.hxx */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.h; path = CpuDebug.hxx; sourceTree = "<group>"; };
|
||||
2DDBEA0C0845708800812C11 /* FSNodePOSIX.cxx */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = FSNodePOSIX.cxx; sourceTree = "<group>"; };
|
||||
2DDBEA0E0845709700812C11 /* OSystemMACOSX.cxx */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = OSystemMACOSX.cxx; sourceTree = "<group>"; };
|
||||
2DDBEA0F0845709700812C11 /* OSystemMACOSX.hxx */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.h; path = OSystemMACOSX.hxx; sourceTree = "<group>"; };
|
||||
2DDBEAA3084578BF00812C11 /* AboutDialog.cxx */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = AboutDialog.cxx; sourceTree = "<group>"; };
|
||||
2DDBEAA4084578BF00812C11 /* AboutDialog.hxx */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.h; path = AboutDialog.hxx; sourceTree = "<group>"; };
|
||||
2DDBEAA6084578BF00812C11 /* AudioDialog.cxx */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = AudioDialog.cxx; sourceTree = "<group>"; };
|
||||
|
@ -938,8 +934,12 @@
|
|||
DC1B2EC21E50036100F62837 /* TrakBall.hxx */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = TrakBall.hxx; sourceTree = "<group>"; };
|
||||
DC1BC6642066B4390076F74A /* PKeyboardHandler.cxx */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = PKeyboardHandler.cxx; sourceTree = "<group>"; };
|
||||
DC1BC6652066B4390076F74A /* PKeyboardHandler.hxx */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = PKeyboardHandler.hxx; sourceTree = "<group>"; };
|
||||
DC1FC1880DB3B2C7009B3DF7 /* SerialPortMACOSX.cxx */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = SerialPortMACOSX.cxx; sourceTree = "<group>"; };
|
||||
DC1FC1890DB3B2C7009B3DF7 /* SerialPortMACOSX.hxx */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.h; path = SerialPortMACOSX.hxx; sourceTree = "<group>"; };
|
||||
DC21E5B921CA903E007D0E1A /* OSystemMACOS.cxx */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = OSystemMACOS.cxx; sourceTree = SOURCE_ROOT; };
|
||||
DC21E5BA21CA903E007D0E1A /* OSystemMACOS.hxx */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = OSystemMACOS.hxx; sourceTree = SOURCE_ROOT; };
|
||||
DC21E5BB21CA903E007D0E1A /* SerialPortMACOS.cxx */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = SerialPortMACOS.cxx; sourceTree = SOURCE_ROOT; };
|
||||
DC21E5BC21CA903E007D0E1A /* SerialPortMACOS.hxx */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = SerialPortMACOS.hxx; sourceTree = SOURCE_ROOT; };
|
||||
DC21E5BD21CA903E007D0E1A /* SettingsMACOS.cxx */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = SettingsMACOS.cxx; sourceTree = SOURCE_ROOT; };
|
||||
DC21E5BE21CA903E007D0E1A /* SettingsMACOS.hxx */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = SettingsMACOS.hxx; sourceTree = SOURCE_ROOT; };
|
||||
DC2874061F8F2278004BF21A /* TrapArray.hxx */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = TrapArray.hxx; sourceTree = "<group>"; };
|
||||
DC2AADAA194F389C0026C7A4 /* CartDASH.cxx */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = CartDASH.cxx; sourceTree = "<group>"; };
|
||||
DC2AADAB194F389C0026C7A4 /* CartDASH.hxx */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = CartDASH.hxx; sourceTree = "<group>"; };
|
||||
|
@ -1436,7 +1436,7 @@
|
|||
2D6050CC0898776500C6DE89 /* emucore */,
|
||||
2D6050FA0898786C00C6DE89 /* gui */,
|
||||
DCD6FC5A11C281A1005DA767 /* libpng */,
|
||||
2D6050C60898771C00C6DE89 /* macosx */,
|
||||
2D6050C60898771C00C6DE89 /* macos */,
|
||||
2D6050C90898774B00C6DE89 /* unix */,
|
||||
2D60513708987A5400C6DE89 /* yacc */,
|
||||
DC3EE83B1E2C0E4400905161 /* zlib */,
|
||||
|
@ -1696,16 +1696,17 @@
|
|||
path = common;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
2D6050C60898771C00C6DE89 /* macosx */ = {
|
||||
2D6050C60898771C00C6DE89 /* macos */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
2DDBEA0E0845709700812C11 /* OSystemMACOSX.cxx */,
|
||||
2DDBEA0F0845709700812C11 /* OSystemMACOSX.hxx */,
|
||||
DC1FC1880DB3B2C7009B3DF7 /* SerialPortMACOSX.cxx */,
|
||||
DC1FC1890DB3B2C7009B3DF7 /* SerialPortMACOSX.hxx */,
|
||||
2D944866062911CD00DD9879 /* SettingsMACOSX.cxx */,
|
||||
2D94486C0629124700DD9879 /* SettingsMACOSX.hxx */,
|
||||
DC21E5B921CA903E007D0E1A /* OSystemMACOS.cxx */,
|
||||
DC21E5BA21CA903E007D0E1A /* OSystemMACOS.hxx */,
|
||||
DC21E5BB21CA903E007D0E1A /* SerialPortMACOS.cxx */,
|
||||
DC21E5BC21CA903E007D0E1A /* SerialPortMACOS.hxx */,
|
||||
DC21E5BD21CA903E007D0E1A /* SettingsMACOS.cxx */,
|
||||
DC21E5BE21CA903E007D0E1A /* SettingsMACOS.hxx */,
|
||||
);
|
||||
name = macos;
|
||||
path = macosx;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
|
@ -2281,8 +2282,6 @@
|
|||
2D9173F909BA90380026E9FF /* EventHandler.hxx in Headers */,
|
||||
2D9173FA09BA90380026E9FF /* FrameBuffer.hxx in Headers */,
|
||||
2D9173FB09BA90380026E9FF /* Settings.hxx in Headers */,
|
||||
2D9173FC09BA90380026E9FF /* SettingsMACOSX.hxx in Headers */,
|
||||
2D9173FF09BA90380026E9FF /* OSystemMACOSX.hxx in Headers */,
|
||||
2D91740009BA90380026E9FF /* AboutDialog.hxx in Headers */,
|
||||
DCF3A6EE1DFC75E3008A8AF3 /* DelayQueueMember.hxx in Headers */,
|
||||
DC96162F1F817830008A2206 /* AtariMouseWidget.hxx in Headers */,
|
||||
|
@ -2363,6 +2362,7 @@
|
|||
DC2C5EDB1F8F2403007D2A09 /* smartmod.hxx in Headers */,
|
||||
DCE5CDE41BA10024005CD08A /* RiotRamWidget.hxx in Headers */,
|
||||
DCF3A6E81DFC75E3008A8AF3 /* Background.hxx in Headers */,
|
||||
DC21E5C021CA903E007D0E1A /* OSystemMACOS.hxx in Headers */,
|
||||
DCFB9FAC1ECA2609004FD69B /* DelayQueueIteratorImpl.hxx in Headers */,
|
||||
DCA078351F8C1B04008EFEE5 /* SDL_lib.hxx in Headers */,
|
||||
DCDA03B11A2009BB00711920 /* CartWD.hxx in Headers */,
|
||||
|
@ -2405,7 +2405,6 @@
|
|||
DC4613680D92C03600D8DAB9 /* RomAuditDialog.hxx in Headers */,
|
||||
DC487FB70DA5350900E12499 /* AtariVox.hxx in Headers */,
|
||||
DC11F78E0DB36933003B505E /* MT24LC256.hxx in Headers */,
|
||||
DC1FC18B0DB3B2C7009B3DF7 /* SerialPortMACOSX.hxx in Headers */,
|
||||
DCA00FF80DBABCAD00C3823D /* RiotDebug.hxx in Headers */,
|
||||
DC4AC6F00DC8DACB00CD3AD2 /* RiotWidget.hxx in Headers */,
|
||||
DC4AC6F40DC8DAEF00CD3AD2 /* SaveKey.hxx in Headers */,
|
||||
|
@ -2438,6 +2437,7 @@
|
|||
DC6F394E21B897F300897AD8 /* ThreadDebugging.hxx in Headers */,
|
||||
DCC527D310B9DA19005E1287 /* M6502.hxx in Headers */,
|
||||
DC3EE8661E2C0E6D00905161 /* inflate.h in Headers */,
|
||||
DC21E5C221CA903E007D0E1A /* SerialPortMACOS.hxx in Headers */,
|
||||
DCC527D510B9DA19005E1287 /* NullDev.hxx in Headers */,
|
||||
DCC527D710B9DA19005E1287 /* System.hxx in Headers */,
|
||||
CFE3F6161E84A9CE00A8204E /* CartCDF.hxx in Headers */,
|
||||
|
@ -2499,6 +2499,7 @@
|
|||
DCAAE5DC1715887B0080BB82 /* CartCVWidget.hxx in Headers */,
|
||||
DCAAE5DD1715887B0080BB82 /* CartDebugWidget.hxx in Headers */,
|
||||
DC6DC921205DB879004A5FC3 /* PJoystickHandler.hxx in Headers */,
|
||||
DC21E5C421CA903E007D0E1A /* SettingsMACOS.hxx in Headers */,
|
||||
DCAAE5DF1715887B0080BB82 /* CartEFSCWidget.hxx in Headers */,
|
||||
DCAAE5E11715887B0080BB82 /* CartEFWidget.hxx in Headers */,
|
||||
DCDFF08220B781B0001227C0 /* DispatchResult.hxx in Headers */,
|
||||
|
@ -2711,9 +2712,7 @@
|
|||
2D9174A109BA90380026E9FF /* EventHandler.cxx in Sources */,
|
||||
2D9174A209BA90380026E9FF /* FrameBuffer.cxx in Sources */,
|
||||
2D9174A309BA90380026E9FF /* Settings.cxx in Sources */,
|
||||
2D9174A409BA90380026E9FF /* SettingsMACOSX.cxx in Sources */,
|
||||
2D9174A809BA90380026E9FF /* FSNodePOSIX.cxx in Sources */,
|
||||
2D9174A909BA90380026E9FF /* OSystemMACOSX.cxx in Sources */,
|
||||
2D9174AA09BA90380026E9FF /* AboutDialog.cxx in Sources */,
|
||||
2D9174AB09BA90380026E9FF /* AudioDialog.cxx in Sources */,
|
||||
2D9174AC09BA90380026E9FF /* BrowserDialog.cxx in Sources */,
|
||||
|
@ -2778,6 +2777,7 @@
|
|||
DCDFF08120B781B0001227C0 /* DispatchResult.cxx in Sources */,
|
||||
2D9174FC09BA90380026E9FF /* RamWidget.cxx in Sources */,
|
||||
DC2AADAE194F389C0026C7A4 /* CartDASH.cxx in Sources */,
|
||||
DC21E5C121CA903E007D0E1A /* SerialPortMACOS.cxx in Sources */,
|
||||
E007231F210FBF5E002CF343 /* FpsMeter.cxx in Sources */,
|
||||
2D9174FD09BA90380026E9FF /* RomListWidget.cxx in Sources */,
|
||||
DCF3A6F81DFC75E3008A8AF3 /* PaddleReader.cxx in Sources */,
|
||||
|
@ -2823,7 +2823,6 @@
|
|||
DC4613670D92C03600D8DAB9 /* RomAuditDialog.cxx in Sources */,
|
||||
DC487FB60DA5350900E12499 /* AtariVox.cxx in Sources */,
|
||||
DC11F78D0DB36933003B505E /* MT24LC256.cxx in Sources */,
|
||||
DC1FC18A0DB3B2C7009B3DF7 /* SerialPortMACOSX.cxx in Sources */,
|
||||
DCA00FF70DBABCAD00C3823D /* RiotDebug.cxx in Sources */,
|
||||
DC047FEE1A4A6F3600348F0F /* JoystickDialog.cxx in Sources */,
|
||||
DC4AC6EF0DC8DACB00CD3AD2 /* RiotWidget.cxx in Sources */,
|
||||
|
@ -2848,6 +2847,7 @@
|
|||
DC6B2BA611037FF200F199A7 /* DiStella.cxx in Sources */,
|
||||
CFE3F6151E84A9CE00A8204E /* CartCDF.cxx in Sources */,
|
||||
DCA82C711FEB4E780059340F /* TimeMachine.cxx in Sources */,
|
||||
DC21E5C321CA903E007D0E1A /* SettingsMACOS.cxx in Sources */,
|
||||
DCD3F7C511340AAF00DBA3AE /* Genesis.cxx in Sources */,
|
||||
DCAD60A81152F8BD00BC4184 /* CartDPCPlus.cxx in Sources */,
|
||||
DC5ACB5B1FBFCE8E00A213FD /* DeveloperDialog.cxx in Sources */,
|
||||
|
@ -2905,6 +2905,7 @@
|
|||
DCAAE5D71715887B0080BB82 /* Cart4KWidget.cxx in Sources */,
|
||||
DCDA03B01A2009BB00711920 /* CartWD.cxx in Sources */,
|
||||
DCC6A4B220A2622500863C59 /* SimpleResampler.cxx in Sources */,
|
||||
DC21E5BF21CA903E007D0E1A /* OSystemMACOS.cxx in Sources */,
|
||||
DCAAE5D91715887B0080BB82 /* Cart0840Widget.cxx in Sources */,
|
||||
DCAAE5DB1715887B0080BB82 /* CartCVWidget.cxx in Sources */,
|
||||
DCAAE5DE1715887B0080BB82 /* CartEFSCWidget.cxx in Sources */,
|
||||
|
@ -2996,7 +2997,7 @@
|
|||
JOYSTICK_SUPPORT,
|
||||
SOUND_SUPPORT,
|
||||
WINDOWED_SUPPORT,
|
||||
BSPF_MAC_OSX,
|
||||
BSPF_MACOS,
|
||||
MAC_OSX,
|
||||
);
|
||||
HEADER_SEARCH_PATHS = (
|
||||
|
@ -3047,7 +3048,7 @@
|
|||
JOYSTICK_SUPPORT,
|
||||
SOUND_SUPPORT,
|
||||
WINDOWED_SUPPORT,
|
||||
BSPF_MAC_OSX,
|
||||
BSPF_MACOS,
|
||||
MAC_OSX,
|
||||
);
|
||||
HEADER_SEARCH_PATHS = (
|
|
@ -1,8 +0,0 @@
|
|||
/* Localized versions of Info.plist keys */
|
||||
|
||||
CFBundleName = "Stella";
|
||||
CFBundleShortVersionString = "Stella version 5.1";
|
||||
CFBundleGetInfoString = "Stella version 5.1";
|
||||
NSHumanReadableCopyright = "Stella MacOS X version by Stephen Anthony and Mark Grebe.";
|
||||
|
||||
"Atari 2600 Cartridge File" = "Atari 2600 Cartridge File";
|
|
@ -20,7 +20,7 @@
|
|||
|
||||
#include "FSNode.hxx"
|
||||
|
||||
#ifdef MACOSX
|
||||
#ifdef BSPF_MACOS
|
||||
#include <sys/types.h>
|
||||
#endif
|
||||
|
||||
|
@ -39,7 +39,7 @@
|
|||
#endif
|
||||
|
||||
/*
|
||||
* Implementation of the Stella file system API based on POSIX (for Linux and OSX)
|
||||
* Implementation of the Stella file system API based on POSIX (for Linux and macOS)
|
||||
*
|
||||
* Parts of this class are documented in the base interface class, AbstractFSNode.
|
||||
*/
|
||||
|
|
|
@ -8,8 +8,8 @@
|
|||
#ifndef ZCONF_H
|
||||
#define ZCONF_H
|
||||
|
||||
/* Added by SA: 2017-07-09 */
|
||||
#if defined(BSPF_UNIX) || defined(BSPF_MAC_OSX)
|
||||
/* Added by SA: 2018-12-18 */
|
||||
#if defined(BSPF_UNIX) || defined(BSPF_MACOS)
|
||||
#define HAVE_UNISTD_H
|
||||
#endif
|
||||
#define HAVE_STDARG_H
|
||||
|
|
Loading…
Reference in New Issue