QUASI88のビルド

Visual Studio 2010 Expressでやってみました。

http://www.microsoft.com/ja-jp/dev/express/default.aspx

以下をダウンロードして解凍する。

http://www.117.ne.jp/~show/pc8801/pc88emu.html

quasi88-0.6.3.zip

http://www.libsdl.org/download-1.2.php

SDL-devel-1.2.15-VC.zip

基本的にはQUASI88に含まれる、BUILD-WIN.TXTの通りなのですが、Visual C++ 6.0を想定していて、プロジェクトファイルが古いため、自作する必要がありました。

QUASI88.vcxproj

<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="">http://schemas.microsoft.com/developer/msbuild/2003">
  <ItemGroup Label="ProjectConfigurations">
    <ProjectConfiguration Include="Debug|Win32">
      <Configuration>Debug</Configuration>
      <Platform>Win32</Platform>
    </ProjectConfiguration>
    <ProjectConfiguration Include="Release|Win32">
      <Configuration>Release</Configuration>
      <Platform>Win32</Platform>
    </ProjectConfiguration>
  </ItemGroup>
  <PropertyGroup Label="Globals">
    <ProjectGuid>{3A507E27-C358-4342-900C-2E87CA079BE0}</ProjectGuid>
    <Keyword>Win32Proj</Keyword>
    <RootNamespace>QUASI88</RootNamespace>
  </PropertyGroup>
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
    <ConfigurationType>Application</ConfigurationType>
    <UseDebugLibraries>true</UseDebugLibraries>
    <CharacterSet>Unicode</CharacterSet>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
    <ConfigurationType>Application</ConfigurationType>
    <UseDebugLibraries>false</UseDebugLibraries>
    <WholeProgramOptimization>true</WholeProgramOptimization>
    <CharacterSet>Unicode</CharacterSet>
  </PropertyGroup>
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
  <ImportGroup Label="ExtensionSettings">
  </ImportGroup>
  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  </ImportGroup>
  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  </ImportGroup>
  <PropertyGroup Label="UserMacros" />
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
    <LinkIncremental>true</LinkIncremental>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
    <LinkIncremental>false</LinkIncremental>
  </PropertyGroup>
  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
    <ClCompile>
      <PrecompiledHeader>
      </PrecompiledHeader>
      <WarningLevel>Level3</WarningLevel>
      <Optimization>Disabled</Optimization>
      <PreprocessorDefinitions>USE_SOUND;USE_FMGEN;%(PreprocessorDefinitions)</PreprocessorDefinitions>
      <AdditionalIncludeDirectories>src\snddrv\src\sound;src\snddrv\quasi88;src\snddrv\src;src\FWIN;src\SDL;src\fmgen;SDL-devel\include;src;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
    </ClCompile>
    <Link>
      <SubSystem>Windows</SubSystem>
      <GenerateDebugInformation>true</GenerateDebugInformation>
      <AdditionalLibraryDirectories>SDL-devel\lib\x86</AdditionalLibraryDirectories>
      <AdditionalDependencies>SDL.lib;SDLmain.lib;%(AdditionalDependencies)</AdditionalDependencies>
      <IgnoreSpecificDefaultLibraries>msvcrt.lib</IgnoreSpecificDefaultLibraries>
      <OutputFile>$(TargetName)$(TargetExt)</OutputFile>
    </Link>
  </ItemDefinitionGroup>
  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
    <ClCompile>
      <WarningLevel>Level3</WarningLevel>
      <PrecompiledHeader>
      </PrecompiledHeader>
      <Optimization>MaxSpeed</Optimization>
      <FunctionLevelLinking>true</FunctionLevelLinking>
      <IntrinsicFunctions>true</IntrinsicFunctions>
      <PreprocessorDefinitions>USE_SOUND;USE_FMGEN;%(PreprocessorDefinitions)</PreprocessorDefinitions>
      <AdditionalIncludeDirectories>src\snddrv\src\sound;src\snddrv\quasi88;src\snddrv\src;src\FWIN;src\SDL;src\fmgen;SDL-devel\include;src;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
    </ClCompile>
    <Link>
      <SubSystem>Windows</SubSystem>
      <GenerateDebugInformation>true</GenerateDebugInformation>
      <AdditionalLibraryDirectories>SDL-devel\lib\x86</AdditionalLibraryDirectories>
      <AdditionalDependencies>SDL.lib;SDLmain.lib;%(AdditionalDependencies)</AdditionalDependencies>
      <EnableCOMDATFolding>true</EnableCOMDATFolding>
      <OptimizeReferences>true</OptimizeReferences>
    </Link>
  </ItemDefinitionGroup>
  <ItemGroup>
    <ClCompile Include="src\fmgen\2203fmgen.cpp" />
    <ClCompile Include="src\screen-snapshot.c" />
    <ClCompile Include="src\snddrv\src\sound\2203intf.c" />
    <ClCompile Include="src\fmgen\2608fmgen.cpp" />
    <ClCompile Include="src\snddrv\src\sound\2608intf.c" />
    <ClCompile Include="src\snddrv\src\sound\ay8910.c" />
    <ClCompile Include="src\basic.c" />
    <ClCompile Include="src\snddrv\quasi88\beep.c" />
    <ClCompile Include="src\snddrv\quasi88\beepintf.c" />
    <ClCompile Include="src\crtcdmac.c" />
    <ClCompile Include="src\emu.c" />
    <ClCompile Include="src\SDL\event.c" />
    <ClCompile Include="src\fdc.c" />
    <ClCompile Include="src\FWIN\file-op.c" />
    <ClCompile Include="src\snddrv\src\sound\filter.c" />
    <ClCompile Include="src\snddrv\src\sound\fm.c" />
    <ClCompile Include="src\fmgen\fmgen.cpp" />
    <ClCompile Include="src\fmgen\fmtimer.cpp" />
    <ClCompile Include="src\SDL\getconf.c" />
    <ClCompile Include="src\SDL\graph.c" />
    <ClCompile Include="src\image.c" />
    <ClCompile Include="src\intr.c" />
    <ClCompile Include="src\keyboard.c" />
    <ClCompile Include="src\SDL\main.c" />
    <ClCompile Include="src\snddrv\quasi88\mame-quasi88.c" />
    <ClCompile Include="src\memory.c" />
    <ClCompile Include="src\menu-screen.c" />
    <ClCompile Include="src\menu.c" />
    <ClCompile Include="src\snddrv\src\sound\mixer.c" />
    <ClCompile Include="src\monitor.c" />
    <ClCompile Include="src\fmgen\opna.cpp" />
    <ClCompile Include="src\pause.c" />
    <ClCompile Include="src\pc88main.c" />
    <ClCompile Include="src\pc88sub.c" />
    <ClCompile Include="src\pio.c" />
    <ClCompile Include="src\fmgen\psg.cpp" />
    <ClCompile Include="src\q8tk-glib.c" />
    <ClCompile Include="src\q8tk.c" />
    <ClCompile Include="src\quasi88.c" />
    <ClCompile Include="src\romaji.c" />
    <ClCompile Include="src\screen-16bpp.c" />
    <ClCompile Include="src\screen-32bpp.c" />
    <ClCompile Include="src\screen-8bpp.c" />
    <ClCompile Include="src\screen.c" />
    <ClCompile Include="src\snddrv\quasi88-SDL\sdl.c" />
    <ClCompile Include="src\snapshot.c" />
    <ClCompile Include="src\snddrv\quasi88-SDL\snddrv-SDL.c" />
    <ClCompile Include="src\snddrv\src\sndintrf.c" />
    <ClCompile Include="src\soundbd.c" />
    <ClCompile Include="src\status.c" />
    <ClCompile Include="src\snddrv\src\sound\streams.c" />
    <ClCompile Include="src\suspend.c" />
    <ClCompile Include="src\SDL\wait.c" />
    <ClCompile Include="src\snddrv\src\sound\ymdeltat.c" />
    <ClCompile Include="src\z80-debug.c" />
    <ClCompile Include="src\z80.c" />
  </ItemGroup>
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
  <ImportGroup Label="ExtensionTargets">
  </ImportGroup>
</Project>