mirror of
https://github.com/lucaridarelli/Os9_Conv_Tool.git
synced 2025-02-08 22:30:39 +00:00
First Commit for os9_conv Project
This commit is contained in:
commit
13342da976
118
os9_conv/.cproject
Normal file
118
os9_conv/.cproject
Normal file
@ -0,0 +1,118 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<?fileVersion 4.0.0?><cproject storage_type_id="org.eclipse.cdt.core.XmlProjectDescriptionStorage">
|
||||
<storageModule moduleId="org.eclipse.cdt.core.settings">
|
||||
<cconfiguration id="cdt.managedbuild.config.gnu.mingw.exe.debug.1269704257">
|
||||
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="cdt.managedbuild.config.gnu.mingw.exe.debug.1269704257" moduleId="org.eclipse.cdt.core.settings" name="Debug">
|
||||
<externalSettings/>
|
||||
<extensions>
|
||||
<extension id="org.eclipse.cdt.core.PE" point="org.eclipse.cdt.core.BinaryParser"/>
|
||||
<extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="org.eclipse.cdt.core.GLDErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
</extensions>
|
||||
</storageModule>
|
||||
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
|
||||
<configuration artifactName="${ProjName}" buildArtefactType="org.eclipse.cdt.build.core.buildArtefactType.exe" buildProperties="org.eclipse.cdt.build.core.buildArtefactType=org.eclipse.cdt.build.core.buildArtefactType.exe,org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.debug" cleanCommand="rm -rf" description="" id="cdt.managedbuild.config.gnu.mingw.exe.debug.1269704257" name="Debug" parent="cdt.managedbuild.config.gnu.mingw.exe.debug">
|
||||
<folderInfo id="cdt.managedbuild.config.gnu.mingw.exe.debug.1269704257." name="/" resourcePath="">
|
||||
<toolChain id="cdt.managedbuild.toolchain.gnu.mingw.exe.debug.669797651" name="MinGW GCC" superClass="cdt.managedbuild.toolchain.gnu.mingw.exe.debug">
|
||||
<targetPlatform id="cdt.managedbuild.target.gnu.platform.mingw.exe.debug.1983233228" name="Debug Platform" superClass="cdt.managedbuild.target.gnu.platform.mingw.exe.debug"/>
|
||||
<builder buildPath="${workspace_loc:/os9_conv}/Debug" id="cdt.managedbuild.tool.gnu.builder.mingw.base.249713390" managedBuildOn="true" name="CDT Internal Builder.Debug" superClass="cdt.managedbuild.tool.gnu.builder.mingw.base"/>
|
||||
<tool id="cdt.managedbuild.tool.gnu.assembler.mingw.exe.debug.37214927" name="GCC Assembler" superClass="cdt.managedbuild.tool.gnu.assembler.mingw.exe.debug">
|
||||
<inputType id="cdt.managedbuild.tool.gnu.assembler.input.521427574" superClass="cdt.managedbuild.tool.gnu.assembler.input"/>
|
||||
</tool>
|
||||
<tool id="cdt.managedbuild.tool.gnu.archiver.mingw.base.1192552617" name="GCC Archiver" superClass="cdt.managedbuild.tool.gnu.archiver.mingw.base"/>
|
||||
<tool id="cdt.managedbuild.tool.gnu.cpp.compiler.mingw.exe.debug.660891480" name="GCC C++ Compiler" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.mingw.exe.debug">
|
||||
<option id="gnu.cpp.compiler.mingw.exe.debug.option.optimization.level.105348836" superClass="gnu.cpp.compiler.mingw.exe.debug.option.optimization.level" value="gnu.cpp.compiler.optimization.level.none" valueType="enumerated"/>
|
||||
<option id="gnu.cpp.compiler.mingw.exe.debug.option.debugging.level.641382321" superClass="gnu.cpp.compiler.mingw.exe.debug.option.debugging.level" value="gnu.cpp.compiler.debugging.level.max" valueType="enumerated"/>
|
||||
<inputType id="cdt.managedbuild.tool.gnu.cpp.compiler.input.2041672052" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.input"/>
|
||||
</tool>
|
||||
<tool id="cdt.managedbuild.tool.gnu.c.compiler.mingw.exe.debug.2036903716" name="GCC C Compiler" superClass="cdt.managedbuild.tool.gnu.c.compiler.mingw.exe.debug">
|
||||
<option defaultValue="gnu.c.optimization.level.none" id="gnu.c.compiler.mingw.exe.debug.option.optimization.level.1627168041" superClass="gnu.c.compiler.mingw.exe.debug.option.optimization.level" valueType="enumerated"/>
|
||||
<option id="gnu.c.compiler.mingw.exe.debug.option.debugging.level.1199221698" superClass="gnu.c.compiler.mingw.exe.debug.option.debugging.level" value="gnu.c.debugging.level.max" valueType="enumerated"/>
|
||||
<inputType id="cdt.managedbuild.tool.gnu.c.compiler.input.976107006" superClass="cdt.managedbuild.tool.gnu.c.compiler.input"/>
|
||||
</tool>
|
||||
<tool id="cdt.managedbuild.tool.gnu.c.linker.mingw.exe.debug.1071730317" name="MinGW C Linker" superClass="cdt.managedbuild.tool.gnu.c.linker.mingw.exe.debug"/>
|
||||
<tool id="cdt.managedbuild.tool.gnu.cpp.linker.mingw.exe.debug.552023446" name="MinGW C++ Linker" superClass="cdt.managedbuild.tool.gnu.cpp.linker.mingw.exe.debug">
|
||||
<inputType id="cdt.managedbuild.tool.gnu.cpp.linker.input.235279620" superClass="cdt.managedbuild.tool.gnu.cpp.linker.input">
|
||||
<additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/>
|
||||
<additionalInput kind="additionalinput" paths="$(LIBS)"/>
|
||||
</inputType>
|
||||
</tool>
|
||||
</toolChain>
|
||||
</folderInfo>
|
||||
</configuration>
|
||||
</storageModule>
|
||||
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
|
||||
</cconfiguration>
|
||||
<cconfiguration id="cdt.managedbuild.config.gnu.mingw.exe.release.1305768780">
|
||||
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="cdt.managedbuild.config.gnu.mingw.exe.release.1305768780" moduleId="org.eclipse.cdt.core.settings" name="Release">
|
||||
<externalSettings/>
|
||||
<extensions>
|
||||
<extension id="org.eclipse.cdt.core.PE" point="org.eclipse.cdt.core.BinaryParser"/>
|
||||
<extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="org.eclipse.cdt.core.GLDErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
</extensions>
|
||||
</storageModule>
|
||||
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
|
||||
<configuration artifactName="${ProjName}" buildArtefactType="org.eclipse.cdt.build.core.buildArtefactType.exe" buildProperties="org.eclipse.cdt.build.core.buildArtefactType=org.eclipse.cdt.build.core.buildArtefactType.exe,org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.release" cleanCommand="rm -rf" description="" id="cdt.managedbuild.config.gnu.mingw.exe.release.1305768780" name="Release" parent="cdt.managedbuild.config.gnu.mingw.exe.release">
|
||||
<folderInfo id="cdt.managedbuild.config.gnu.mingw.exe.release.1305768780." name="/" resourcePath="">
|
||||
<toolChain id="cdt.managedbuild.toolchain.gnu.mingw.exe.release.723435377" name="MinGW GCC" superClass="cdt.managedbuild.toolchain.gnu.mingw.exe.release">
|
||||
<targetPlatform id="cdt.managedbuild.target.gnu.platform.mingw.exe.release.840465988" name="Debug Platform" superClass="cdt.managedbuild.target.gnu.platform.mingw.exe.release"/>
|
||||
<builder buildPath="${workspace_loc:/os9_conv}/Release" id="cdt.managedbuild.tool.gnu.builder.mingw.base.1427786185" managedBuildOn="true" name="CDT Internal Builder.Release" superClass="cdt.managedbuild.tool.gnu.builder.mingw.base"/>
|
||||
<tool id="cdt.managedbuild.tool.gnu.assembler.mingw.exe.release.1938704363" name="GCC Assembler" superClass="cdt.managedbuild.tool.gnu.assembler.mingw.exe.release">
|
||||
<inputType id="cdt.managedbuild.tool.gnu.assembler.input.1576510565" superClass="cdt.managedbuild.tool.gnu.assembler.input"/>
|
||||
</tool>
|
||||
<tool id="cdt.managedbuild.tool.gnu.archiver.mingw.base.534563097" name="GCC Archiver" superClass="cdt.managedbuild.tool.gnu.archiver.mingw.base"/>
|
||||
<tool id="cdt.managedbuild.tool.gnu.cpp.compiler.mingw.exe.release.441817184" name="GCC C++ Compiler" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.mingw.exe.release">
|
||||
<option id="gnu.cpp.compiler.mingw.exe.release.option.optimization.level.167822177" superClass="gnu.cpp.compiler.mingw.exe.release.option.optimization.level" value="gnu.cpp.compiler.optimization.level.most" valueType="enumerated"/>
|
||||
<option id="gnu.cpp.compiler.mingw.exe.release.option.debugging.level.975493637" superClass="gnu.cpp.compiler.mingw.exe.release.option.debugging.level" value="gnu.cpp.compiler.debugging.level.none" valueType="enumerated"/>
|
||||
<inputType id="cdt.managedbuild.tool.gnu.cpp.compiler.input.1055986997" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.input"/>
|
||||
</tool>
|
||||
<tool id="cdt.managedbuild.tool.gnu.c.compiler.mingw.exe.release.247481161" name="GCC C Compiler" superClass="cdt.managedbuild.tool.gnu.c.compiler.mingw.exe.release">
|
||||
<option defaultValue="gnu.c.optimization.level.most" id="gnu.c.compiler.mingw.exe.release.option.optimization.level.902109272" superClass="gnu.c.compiler.mingw.exe.release.option.optimization.level" valueType="enumerated"/>
|
||||
<option id="gnu.c.compiler.mingw.exe.release.option.debugging.level.1278879094" superClass="gnu.c.compiler.mingw.exe.release.option.debugging.level" value="gnu.c.debugging.level.none" valueType="enumerated"/>
|
||||
<inputType id="cdt.managedbuild.tool.gnu.c.compiler.input.725970328" superClass="cdt.managedbuild.tool.gnu.c.compiler.input"/>
|
||||
</tool>
|
||||
<tool id="cdt.managedbuild.tool.gnu.c.linker.mingw.exe.release.1257885662" name="MinGW C Linker" superClass="cdt.managedbuild.tool.gnu.c.linker.mingw.exe.release"/>
|
||||
<tool id="cdt.managedbuild.tool.gnu.cpp.linker.mingw.exe.release.1787887986" name="MinGW C++ Linker" superClass="cdt.managedbuild.tool.gnu.cpp.linker.mingw.exe.release">
|
||||
<inputType id="cdt.managedbuild.tool.gnu.cpp.linker.input.844431503" superClass="cdt.managedbuild.tool.gnu.cpp.linker.input">
|
||||
<additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/>
|
||||
<additionalInput kind="additionalinput" paths="$(LIBS)"/>
|
||||
</inputType>
|
||||
</tool>
|
||||
</toolChain>
|
||||
</folderInfo>
|
||||
</configuration>
|
||||
</storageModule>
|
||||
</cconfiguration>
|
||||
</storageModule>
|
||||
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
|
||||
<project id="os9_conv.cdt.managedbuild.target.gnu.mingw.exe.1565622170" name="Executable" projectType="cdt.managedbuild.target.gnu.mingw.exe"/>
|
||||
</storageModule>
|
||||
<storageModule moduleId="scannerConfiguration">
|
||||
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>
|
||||
<scannerConfigBuildInfo instanceId="cdt.managedbuild.config.gnu.mingw.exe.release.498209587;cdt.managedbuild.config.gnu.mingw.exe.release.498209587.;cdt.managedbuild.tool.gnu.c.compiler.mingw.exe.release.677419678;cdt.managedbuild.tool.gnu.c.compiler.input.318017307">
|
||||
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>
|
||||
</scannerConfigBuildInfo>
|
||||
<scannerConfigBuildInfo instanceId="cdt.managedbuild.config.gnu.mingw.exe.debug.1269704257;cdt.managedbuild.config.gnu.mingw.exe.debug.1269704257.;cdt.managedbuild.tool.gnu.c.compiler.mingw.exe.debug.2036903716;cdt.managedbuild.tool.gnu.c.compiler.input.976107006">
|
||||
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>
|
||||
</scannerConfigBuildInfo>
|
||||
<scannerConfigBuildInfo instanceId="cdt.managedbuild.config.gnu.mingw.exe.release.1305768780;cdt.managedbuild.config.gnu.mingw.exe.release.1305768780.;cdt.managedbuild.tool.gnu.c.compiler.mingw.exe.release.247481161;cdt.managedbuild.tool.gnu.c.compiler.input.725970328">
|
||||
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>
|
||||
</scannerConfigBuildInfo>
|
||||
<scannerConfigBuildInfo instanceId="cdt.managedbuild.config.gnu.mingw.exe.debug.1596506516;cdt.managedbuild.config.gnu.mingw.exe.debug.1596506516.;cdt.managedbuild.tool.gnu.c.compiler.mingw.exe.debug.1337081924;cdt.managedbuild.tool.gnu.c.compiler.input.1410609925">
|
||||
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>
|
||||
</scannerConfigBuildInfo>
|
||||
<scannerConfigBuildInfo instanceId="0.1288856791">
|
||||
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>
|
||||
</scannerConfigBuildInfo>
|
||||
<scannerConfigBuildInfo instanceId="cdt.managedbuild.config.gnu.mingw.exe.release.1305768780;cdt.managedbuild.config.gnu.mingw.exe.release.1305768780.;cdt.managedbuild.tool.gnu.cpp.compiler.mingw.exe.release.441817184;cdt.managedbuild.tool.gnu.cpp.compiler.input.1055986997">
|
||||
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>
|
||||
</scannerConfigBuildInfo>
|
||||
<scannerConfigBuildInfo instanceId="cdt.managedbuild.config.gnu.mingw.exe.debug.1269704257;cdt.managedbuild.config.gnu.mingw.exe.debug.1269704257.;cdt.managedbuild.tool.gnu.cpp.compiler.mingw.exe.debug.660891480;cdt.managedbuild.tool.gnu.cpp.compiler.input.2041672052">
|
||||
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>
|
||||
</scannerConfigBuildInfo>
|
||||
</storageModule>
|
||||
<storageModule moduleId="org.eclipse.cdt.core.LanguageSettingsProviders"/>
|
||||
</cproject>
|
27
os9_conv/.project
Normal file
27
os9_conv/.project
Normal file
@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<projectDescription>
|
||||
<name>os9_conv</name>
|
||||
<comment></comment>
|
||||
<projects>
|
||||
</projects>
|
||||
<buildSpec>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name>
|
||||
<triggers>clean,full,incremental,</triggers>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder</name>
|
||||
<triggers>full,incremental,</triggers>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
</buildSpec>
|
||||
<natures>
|
||||
<nature>org.eclipse.cdt.core.cnature</nature>
|
||||
<nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature>
|
||||
<nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature>
|
||||
<nature>org.eclipse.cdt.core.ccnature</nature>
|
||||
</natures>
|
||||
</projectDescription>
|
25
os9_conv/.settings/language.settings.xml
Normal file
25
os9_conv/.settings/language.settings.xml
Normal file
@ -0,0 +1,25 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<project>
|
||||
<configuration id="cdt.managedbuild.config.gnu.mingw.exe.debug.1269704257" name="Debug">
|
||||
<extension point="org.eclipse.cdt.core.LanguageSettingsProvider">
|
||||
<provider copy-of="extension" id="org.eclipse.cdt.ui.UserLanguageSettingsProvider"/>
|
||||
<provider-reference id="org.eclipse.cdt.core.ReferencedProjectsLanguageSettingsProvider" ref="shared-provider"/>
|
||||
<provider-reference id="org.eclipse.cdt.managedbuilder.core.MBSLanguageSettingsProvider" ref="shared-provider"/>
|
||||
<provider class="org.eclipse.cdt.managedbuilder.internal.language.settings.providers.GCCBuiltinSpecsDetectorMinGW" console="false" env-hash="1359327117013955626" id="org.eclipse.cdt.managedbuilder.core.GCCBuiltinSpecsDetectorMinGW" keep-relative-paths="false" name="CDT GCC Built-in Compiler Settings MinGW" parameter="${COMMAND} ${FLAGS} -E -P -v -dD "${INPUTS}"" prefer-non-shared="true">
|
||||
<language-scope id="org.eclipse.cdt.core.gcc"/>
|
||||
<language-scope id="org.eclipse.cdt.core.g++"/>
|
||||
</provider>
|
||||
</extension>
|
||||
</configuration>
|
||||
<configuration id="cdt.managedbuild.config.gnu.mingw.exe.release.1305768780" name="Release">
|
||||
<extension point="org.eclipse.cdt.core.LanguageSettingsProvider">
|
||||
<provider copy-of="extension" id="org.eclipse.cdt.ui.UserLanguageSettingsProvider"/>
|
||||
<provider-reference id="org.eclipse.cdt.core.ReferencedProjectsLanguageSettingsProvider" ref="shared-provider"/>
|
||||
<provider-reference id="org.eclipse.cdt.managedbuilder.core.MBSLanguageSettingsProvider" ref="shared-provider"/>
|
||||
<provider class="org.eclipse.cdt.managedbuilder.internal.language.settings.providers.GCCBuiltinSpecsDetectorMinGW" console="false" env-hash="1359327117013955626" id="org.eclipse.cdt.managedbuilder.core.GCCBuiltinSpecsDetectorMinGW" keep-relative-paths="false" name="CDT GCC Built-in Compiler Settings MinGW" parameter="${COMMAND} ${FLAGS} -E -P -v -dD "${INPUTS}"" prefer-non-shared="true">
|
||||
<language-scope id="org.eclipse.cdt.core.gcc"/>
|
||||
<language-scope id="org.eclipse.cdt.core.g++"/>
|
||||
</provider>
|
||||
</extension>
|
||||
</configuration>
|
||||
</project>
|
33
os9_conv/.settings/org.eclipse.cdt.managedbuilder.core.prefs
Normal file
33
os9_conv/.settings/org.eclipse.cdt.managedbuilder.core.prefs
Normal file
@ -0,0 +1,33 @@
|
||||
eclipse.preferences.version=1
|
||||
environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.mingw.exe.debug.1269704257/CPATH/delimiter=;
|
||||
environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.mingw.exe.debug.1269704257/CPATH/operation=remove
|
||||
environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.mingw.exe.debug.1269704257/CPLUS_INCLUDE_PATH/delimiter=;
|
||||
environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.mingw.exe.debug.1269704257/CPLUS_INCLUDE_PATH/operation=remove
|
||||
environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.mingw.exe.debug.1269704257/C_INCLUDE_PATH/delimiter=;
|
||||
environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.mingw.exe.debug.1269704257/C_INCLUDE_PATH/operation=remove
|
||||
environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.mingw.exe.debug.1269704257/append=true
|
||||
environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.mingw.exe.debug.1269704257/appendContributed=true
|
||||
environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.mingw.exe.debug.1596506516/CPATH/delimiter=;
|
||||
environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.mingw.exe.debug.1596506516/CPATH/operation=remove
|
||||
environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.mingw.exe.debug.1596506516/C_INCLUDE_PATH/delimiter=;
|
||||
environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.mingw.exe.debug.1596506516/C_INCLUDE_PATH/operation=remove
|
||||
environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.mingw.exe.debug.1596506516/append=true
|
||||
environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.mingw.exe.debug.1596506516/appendContributed=true
|
||||
environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.mingw.exe.release.498209587/CPATH/delimiter=;
|
||||
environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.mingw.exe.release.498209587/CPATH/operation=remove
|
||||
environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.mingw.exe.release.498209587/C_INCLUDE_PATH/delimiter=;
|
||||
environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.mingw.exe.release.498209587/C_INCLUDE_PATH/operation=remove
|
||||
environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.mingw.exe.release.498209587/append=true
|
||||
environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.mingw.exe.release.498209587/appendContributed=true
|
||||
environment/buildEnvironmentLibrary/cdt.managedbuild.config.gnu.mingw.exe.debug.1269704257/LIBRARY_PATH/delimiter=;
|
||||
environment/buildEnvironmentLibrary/cdt.managedbuild.config.gnu.mingw.exe.debug.1269704257/LIBRARY_PATH/operation=remove
|
||||
environment/buildEnvironmentLibrary/cdt.managedbuild.config.gnu.mingw.exe.debug.1269704257/append=true
|
||||
environment/buildEnvironmentLibrary/cdt.managedbuild.config.gnu.mingw.exe.debug.1269704257/appendContributed=true
|
||||
environment/buildEnvironmentLibrary/cdt.managedbuild.config.gnu.mingw.exe.debug.1596506516/LIBRARY_PATH/delimiter=;
|
||||
environment/buildEnvironmentLibrary/cdt.managedbuild.config.gnu.mingw.exe.debug.1596506516/LIBRARY_PATH/operation=remove
|
||||
environment/buildEnvironmentLibrary/cdt.managedbuild.config.gnu.mingw.exe.debug.1596506516/append=true
|
||||
environment/buildEnvironmentLibrary/cdt.managedbuild.config.gnu.mingw.exe.debug.1596506516/appendContributed=true
|
||||
environment/buildEnvironmentLibrary/cdt.managedbuild.config.gnu.mingw.exe.release.498209587/LIBRARY_PATH/delimiter=;
|
||||
environment/buildEnvironmentLibrary/cdt.managedbuild.config.gnu.mingw.exe.release.498209587/LIBRARY_PATH/operation=remove
|
||||
environment/buildEnvironmentLibrary/cdt.managedbuild.config.gnu.mingw.exe.release.498209587/append=true
|
||||
environment/buildEnvironmentLibrary/cdt.managedbuild.config.gnu.mingw.exe.release.498209587/appendContributed=true
|
BIN
os9_conv/Debug/os9_conv.exe
Normal file
BIN
os9_conv/Debug/os9_conv.exe
Normal file
Binary file not shown.
BIN
os9_conv/Debug/src/os9_conv.o
Normal file
BIN
os9_conv/Debug/src/os9_conv.o
Normal file
Binary file not shown.
BIN
os9_conv/Release/os9_conv.exe
Normal file
BIN
os9_conv/Release/os9_conv.exe
Normal file
Binary file not shown.
BIN
os9_conv/Release/src/os9_conv.o
Normal file
BIN
os9_conv/Release/src/os9_conv.o
Normal file
Binary file not shown.
40
os9_conv/src/.cproject
Normal file
40
os9_conv/src/.cproject
Normal file
@ -0,0 +1,40 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<?fileVersion 4.0.0?><cproject storage_type_id="org.eclipse.cdt.core.XmlProjectDescriptionStorage">
|
||||
<storageModule moduleId="org.eclipse.cdt.core.settings">
|
||||
<cconfiguration id="cdt.managedbuild.toolchain.gnu.mingw.base.32303358">
|
||||
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="cdt.managedbuild.toolchain.gnu.mingw.base.32303358" moduleId="org.eclipse.cdt.core.settings" name="Default">
|
||||
<externalSettings/>
|
||||
<extensions>
|
||||
<extension id="org.eclipse.cdt.core.PE" point="org.eclipse.cdt.core.BinaryParser"/>
|
||||
<extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="org.eclipse.cdt.core.GLDErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
</extensions>
|
||||
</storageModule>
|
||||
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
|
||||
<configuration buildProperties="" id="cdt.managedbuild.toolchain.gnu.mingw.base.32303358" name="Default" parent="org.eclipse.cdt.build.core.emptycfg">
|
||||
<folderInfo id="cdt.managedbuild.toolchain.gnu.mingw.base.32303358.773627156" name="/" resourcePath="">
|
||||
<toolChain id="cdt.managedbuild.toolchain.gnu.mingw.base.1836263658" name="MinGW GCC" superClass="cdt.managedbuild.toolchain.gnu.mingw.base">
|
||||
<targetPlatform archList="all" binaryParser="org.eclipse.cdt.core.PE" id="cdt.managedbuild.target.gnu.platform.mingw.base.269092175" name="Debug Platform" osList="win32" superClass="cdt.managedbuild.target.gnu.platform.mingw.base"/>
|
||||
<builder buildPath="${workspace_loc:/os9_conv}/Default" id="cdt.managedbuild.tool.gnu.builder.mingw.base.677748880" managedBuildOn="false" name="CDT Internal Builder.Default" superClass="cdt.managedbuild.tool.gnu.builder.mingw.base"/>
|
||||
<tool id="cdt.managedbuild.tool.gnu.assembler.mingw.base.689859461" name="GCC Assembler" superClass="cdt.managedbuild.tool.gnu.assembler.mingw.base"/>
|
||||
<tool id="cdt.managedbuild.tool.gnu.archiver.mingw.base.1313435511" name="GCC Archiver" superClass="cdt.managedbuild.tool.gnu.archiver.mingw.base"/>
|
||||
<tool id="cdt.managedbuild.tool.gnu.cpp.compiler.mingw.base.209572600" name="GCC C++ Compiler" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.mingw.base"/>
|
||||
<tool id="cdt.managedbuild.tool.gnu.c.compiler.mingw.base.415339441" name="GCC C Compiler" superClass="cdt.managedbuild.tool.gnu.c.compiler.mingw.base"/>
|
||||
<tool id="cdt.managedbuild.tool.gnu.c.linker.mingw.base.2019544820" name="MinGW C Linker" superClass="cdt.managedbuild.tool.gnu.c.linker.mingw.base"/>
|
||||
<tool id="cdt.managedbuild.tool.gnu.cpp.linker.mingw.base.808883770" name="MinGW C++ Linker" superClass="cdt.managedbuild.tool.gnu.cpp.linker.mingw.base"/>
|
||||
</toolChain>
|
||||
</folderInfo>
|
||||
</configuration>
|
||||
</storageModule>
|
||||
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
|
||||
</cconfiguration>
|
||||
</storageModule>
|
||||
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
|
||||
<project id="os9_conv.null.1123521369" name="os9_conv"/>
|
||||
</storageModule>
|
||||
<storageModule moduleId="scannerConfiguration">
|
||||
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>
|
||||
</storageModule>
|
||||
<storageModule moduleId="org.eclipse.cdt.core.LanguageSettingsProviders"/>
|
||||
</cproject>
|
27
os9_conv/src/.project
Normal file
27
os9_conv/src/.project
Normal file
@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<projectDescription>
|
||||
<name>os9_conv</name>
|
||||
<comment></comment>
|
||||
<projects>
|
||||
</projects>
|
||||
<buildSpec>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name>
|
||||
<triggers>clean,full,incremental,</triggers>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder</name>
|
||||
<triggers>full,incremental,</triggers>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
</buildSpec>
|
||||
<natures>
|
||||
<nature>org.eclipse.cdt.core.cnature</nature>
|
||||
<nature>org.eclipse.cdt.core.ccnature</nature>
|
||||
<nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature>
|
||||
<nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature>
|
||||
</natures>
|
||||
</projectDescription>
|
15
os9_conv/src/.settings/language.settings.xml
Normal file
15
os9_conv/src/.settings/language.settings.xml
Normal file
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<project>
|
||||
<configuration id="cdt.managedbuild.toolchain.gnu.mingw.base.32303358" name="Default">
|
||||
<extension point="org.eclipse.cdt.core.LanguageSettingsProvider">
|
||||
<provider copy-of="extension" id="org.eclipse.cdt.ui.UserLanguageSettingsProvider"/>
|
||||
<provider-reference id="org.eclipse.cdt.core.ReferencedProjectsLanguageSettingsProvider" ref="shared-provider"/>
|
||||
<provider copy-of="extension" id="org.eclipse.cdt.managedbuilder.core.GCCBuildCommandParser"/>
|
||||
<provider class="org.eclipse.cdt.managedbuilder.internal.language.settings.providers.GCCBuiltinSpecsDetectorMinGW" console="false" env-hash="1359327117013955626" id="org.eclipse.cdt.managedbuilder.core.GCCBuiltinSpecsDetectorMinGW" keep-relative-paths="false" name="CDT GCC Built-in Compiler Settings MinGW" parameter="${COMMAND} ${FLAGS} -E -P -v -dD "${INPUTS}"" prefer-non-shared="true">
|
||||
<language-scope id="org.eclipse.cdt.core.gcc"/>
|
||||
<language-scope id="org.eclipse.cdt.core.g++"/>
|
||||
</provider>
|
||||
<provider-reference id="org.eclipse.cdt.managedbuilder.core.MBSLanguageSettingsProvider" ref="shared-provider"/>
|
||||
</extension>
|
||||
</configuration>
|
||||
</project>
|
81
os9_conv/src/README.TXT
Normal file
81
os9_conv/src/README.TXT
Normal file
@ -0,0 +1,81 @@
|
||||
ABOUT
|
||||
|
||||
os9_conv is a small tool used to convert APPLE ][ OS9 Stellation Two "The Mill" DSK image disks (created using ADT tool) to
|
||||
standard RBF OS9 DSK image disks, such as, for example, those used by the TRS-80 Color Computer, and back.
|
||||
|
||||
The aim of this utility is to create an OS9 RBF floppy disk image compatible with the "toolshed" TRS-80 Color Computer utility.
|
||||
The toolshed utility allows direct manupulation of OS9 RBF disk image content from MS-DOS, allowing to directly read,write OS9 files
|
||||
etc.
|
||||
|
||||
With the toolshed and os9_conv tools combination is now possible to transfer files back and forth to the Apple ][ Stellation Two
|
||||
"The Mill" OS9 implementation.
|
||||
|
||||
USE
|
||||
|
||||
os9_conv syntax is:
|
||||
|
||||
os9_conv <source file> <destination file> <option>
|
||||
|
||||
where options are:
|
||||
-a (convert OS9 dsk image to Apple ][ \"The Mill\" format)
|
||||
-o (convert Apple ][ \"The Mill\" OS9 DSK image to OS9 format)
|
||||
|
||||
EXAMPLE 1
|
||||
|
||||
Let's say that we want to extract the ECHO executable binary file from the APPLE ][ OS9 o.s. system disk image
|
||||
(for example OS9BASIC.dsk); we first proceed converting the APPLE ][ OS9 DSK disk image to OS9 RBF standard with the command:
|
||||
|
||||
OS9_conv OS9BASIC.dsk OS9BASICRBF.dsk -o
|
||||
|
||||
OS9_conv will convert the source file OS9BASIC.dsk to OS9 RBF format (-o option) and write it to the destination file OS9BASICRBF.dsk
|
||||
(or whatever filename you choose) .
|
||||
|
||||
To exctract the ECHO executable binary file from OS9BASICRBF.dsk using the toolshed OS9 tool the command would be:
|
||||
|
||||
OS9 copy OS9BASICRBF.dsk,CMDS/ECHO ECHO
|
||||
|
||||
The ECHO binary file will be created under MS-DOS. See toolshed documentation for a list of the available commands.
|
||||
|
||||
EXAMPLE 2
|
||||
|
||||
Lets' say that we want to make the reverse operation of EXAMPLE 1 by writing a binary file (examlple MYBINARY file )to the
|
||||
APPLE ][ OS9 OS9BASIC.dsk disk .
|
||||
We first proceed converting the APPLE ][ OS9 DSK disk image to OS9 RBF standard with the command:
|
||||
|
||||
OS9_conv OS9BASIC.dsk OS9BASICRBF.dsk -o
|
||||
|
||||
OS9_conv will convert the source file OS9BASIC.dsk to OS9 RBF format (-o option) and write it to the destination file OS9BASICRBF.dsk
|
||||
(or whatever filename you choose) .
|
||||
|
||||
To write the MYBINARY file to OS9BASICRBF.dsk disk using the toolshed OS9 tool the command would be:
|
||||
|
||||
OS9 copy MYBINARY OS9BASICRBF.dsk,MYBINARY
|
||||
|
||||
The MYBINARY binary file will be written in the root directory of OS9BASICRBF.dsk disk. See toolshed documentation for a list
|
||||
of the available commands.
|
||||
|
||||
Finally we revert OS9BASICRBF.dsk back to APPLE ][ Stellation Two "The MILL" OS9 disk format with the command:
|
||||
|
||||
OS9_conv OS9BASICRBF.dsk OS9BASIC.dsk -a
|
||||
|
||||
The resulting image can be fed in an APPLE ][ emulator (mame can emulate an APPLE ][ with a Stellation Two "The Mill" card,
|
||||
or an real flippy written with a tool such as ADT.
|
||||
|
||||
NOTE
|
||||
|
||||
Due to the a not competely standard implementation of the RBF file system in the APPLE ][ Stellation Two "The MILL" OS9 disk
|
||||
structure, to mantain disk integrity, any operation is ALWAYS started from an APPLE ][ OS9 DSK disk image.
|
||||
|
||||
LICENCE
|
||||
|
||||
Apple ][ "The Mill" OS9 DSK image to OS9 RBF format converter os9_conv is released under the terms of the GNU
|
||||
General Public License version 3 as published by the Free Software Foundation.
|
||||
You can redistribute it and/or modify it.
|
||||
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY.
|
||||
See the GNU General Public License for more details.
|
||||
|
||||
CREDITS
|
||||
|
||||
2017 - Luca Ridarelli
|
||||
|
||||
|
213
os9_conv/src/os9_conv.c
Normal file
213
os9_conv/src/os9_conv.c
Normal file
@ -0,0 +1,213 @@
|
||||
/*
|
||||
* os9_conv.c
|
||||
*
|
||||
* Apple ][ "The Mill" OS9 DSK image to OS9 RBF format (and back) converter
|
||||
*
|
||||
* Created on: 07 gen 2017
|
||||
* Author: Luca Ridarelli
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#define TRACKS 35 /* There are 35 tracks in an Apple ][ standard floppy disk */
|
||||
#define SECTORS 16 /* 16 sectors per track */
|
||||
#define BYTES_SECTOR 256 /* 256 bytes per sector */
|
||||
#define TOTAL_BYTES TRACKS*SECTORS*BYTES_SECTOR /* counting a total of 14560 bytes */
|
||||
|
||||
|
||||
/* Functions prototypes */
|
||||
|
||||
void convert_to_OS9( char source[TRACKS][SECTORS][BYTES_SECTOR],char dest[TRACKS][SECTORS][BYTES_SECTOR], int interleave[SECTORS]);
|
||||
|
||||
void convert_to_apple( char source[TRACKS][SECTORS][BYTES_SECTOR],char dest[TRACKS][SECTORS][BYTES_SECTOR], int interleave[SECTORS]);
|
||||
|
||||
void show_help();
|
||||
|
||||
/* Main entry point */
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
/* Buffers to hold the source and destination dsk images */
|
||||
char source_buffer[TRACKS][SECTORS][BYTES_SECTOR];
|
||||
char destination_buffer[TRACKS][SECTORS][BYTES_SECTOR];
|
||||
|
||||
/* The Apple ][ "The Mill" disk sector interleave ransleation table*/
|
||||
|
||||
int apple_interleave[SECTORS] = {0x00,0x0C,0x02,0x07,0x04,0x09,0x0E,0x0B,
|
||||
0x01,0x06,0x03,0x08,0x0D,0x0A,0x05,0x0F} ;
|
||||
|
||||
/* Variables to hold the user provided arguments */
|
||||
char* source_file_name;
|
||||
char* destination_file_name;
|
||||
char* option ;
|
||||
|
||||
/* The actions to perform */
|
||||
enum action {toNone, toMILL, toOS9};
|
||||
enum action convert = toNone;
|
||||
|
||||
/* Input and output standard file structures */
|
||||
FILE *source_file;
|
||||
FILE *destination_file;
|
||||
|
||||
|
||||
/* Check the number of arguments and grab them */
|
||||
if (argc==4)
|
||||
{
|
||||
source_file_name=argv[1];
|
||||
destination_file_name=argv[2];
|
||||
option=argv[3];
|
||||
}
|
||||
else
|
||||
{ if (argc==1)
|
||||
{
|
||||
printf("\nApple ][ \"The Mill\" <-> OS9 RBF DSK converter V 1.0 - 2017 Luca Ridarelli\n\n"
|
||||
"DSK disk images must origin from Apple ][ \"The Mill\" OS9\n\n");
|
||||
}
|
||||
show_help();
|
||||
return(EXIT_FAILURE);
|
||||
}
|
||||
|
||||
/* check the <option> argument and choose an action */
|
||||
if (strcmp(option,"-a")==0)
|
||||
{
|
||||
convert=toMILL;
|
||||
}
|
||||
else
|
||||
if (strcmp(option,"-o")==0)
|
||||
{
|
||||
convert=toOS9;
|
||||
}
|
||||
else
|
||||
{
|
||||
printf("\nERROR! Wrong Option. \n\n");
|
||||
show_help();
|
||||
return(EXIT_FAILURE);
|
||||
}
|
||||
|
||||
|
||||
/* Try to open the source file */
|
||||
if ((source_file=fopen(source_file_name,"rb"))==NULL)
|
||||
{
|
||||
printf("\nERROR! Unable to Open Source File.\n");
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
|
||||
/* Try to read the whole file in memory */
|
||||
if (fread(source_buffer,TOTAL_BYTES,1,source_file) != 1)
|
||||
{
|
||||
printf("\nERROR! Unable to read Source File.\n");
|
||||
exit(EXIT_FAILURE);
|
||||
|
||||
}
|
||||
|
||||
/* execute the requested action */
|
||||
switch(convert)
|
||||
{
|
||||
case toOS9: convert_to_OS9(source_buffer,destination_buffer,apple_interleave);
|
||||
break;
|
||||
|
||||
case toMILL: convert_to_apple(source_buffer,destination_buffer,apple_interleave);
|
||||
break;
|
||||
|
||||
default : printf("\nERROR! Wrong Option.\n\n");
|
||||
show_help();
|
||||
return(EXIT_FAILURE);
|
||||
|
||||
}
|
||||
|
||||
/* Try to open the destination file */
|
||||
if ((destination_file=fopen(destination_file_name,"wb"))==NULL)
|
||||
{
|
||||
printf("\nERROR! Unable to Open Destination File.\n");
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
|
||||
/* Try to write the whole buffer to the destination file */
|
||||
if (fwrite(destination_buffer,TOTAL_BYTES,1,destination_file) != 1)
|
||||
{
|
||||
printf("\nERROR! Unable to Write Destination File Write.\n");
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
|
||||
/* Success! Close all files and exit */
|
||||
fclose(source_file);
|
||||
fclose(destination_file);
|
||||
return(EXIT_SUCCESS);
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* Convert_to_OS9
|
||||
*
|
||||
* Creates a copy, in OS9 RBF format, of the Apple ][ The mill DSK image suppressing the sector interleave and
|
||||
* exchanges track 0 sectors 0 and 0x0f since , in the Apple Os9 "The Mill" disk, sector 0
|
||||
* holds 6502 boot code and sector 0x0f the OS9 "identification sector" that , instead , should
|
||||
* be located at OS9 LSN0 (track 0 sector 0 in our case).
|
||||
*/
|
||||
|
||||
void convert_to_OS9( char source[TRACKS][SECTORS][BYTES_SECTOR],char dest[TRACKS][SECTORS][BYTES_SECTOR], int interleave[SECTORS])
|
||||
{
|
||||
for(int track=0;track<TRACKS;track++)
|
||||
{
|
||||
for(int sector=0;sector<SECTORS;sector++)
|
||||
{
|
||||
for(int byte=0;byte<BYTES_SECTOR;byte++)
|
||||
{
|
||||
dest[track][sector][byte]=source[track][interleave[sector]][byte];
|
||||
}
|
||||
}
|
||||
}
|
||||
for(int byte=0;byte<BYTES_SECTOR;byte++)
|
||||
{
|
||||
dest[0][0][byte]=source[0][SECTORS-1][byte];
|
||||
dest[0][SECTORS-1][byte]=source[0][0][byte];
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
/*
|
||||
* Convert_to_apple
|
||||
*
|
||||
* Creates the Apple ][ The mill DSK image resuming the sector interleave and
|
||||
* exchanging track 0 sectors 0 and 0x0f (see Convert_to_OS9).
|
||||
* Note that onvert_to_apple assumes that the source file is in OS9 format BUT always
|
||||
* originated from an Apple ][ OS9 "The Mill" image. In other words, to obtain a regular
|
||||
* Apple ][ OS9 "The Mill" image, track 0 sector 0xF should always contain the 6502 boot code.
|
||||
*
|
||||
*/
|
||||
|
||||
void convert_to_apple( char source[TRACKS][SECTORS][BYTES_SECTOR],char dest[TRACKS][SECTORS][BYTES_SECTOR], int interleave[SECTORS])
|
||||
{
|
||||
for(int track=0;track<TRACKS;track++)
|
||||
{
|
||||
for(int sector=0;sector<SECTORS;sector++)
|
||||
{
|
||||
for(int byte=0;byte<BYTES_SECTOR;byte++)
|
||||
{
|
||||
dest[track][interleave[sector]][byte]=source[track][sector][byte];
|
||||
}
|
||||
}
|
||||
}
|
||||
for(int byte=0;byte<BYTES_SECTOR;byte++)
|
||||
{
|
||||
dest[0][0][byte]=source[0][SECTORS-1][byte];
|
||||
dest[0][SECTORS-1][byte]=source[0][0][byte];
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
/*
|
||||
* show_help
|
||||
*
|
||||
* shows the help message
|
||||
*/
|
||||
void show_help()
|
||||
{
|
||||
printf("Syntax : os9_conv <source file> <destination file> <option>\n\n"
|
||||
"Options: -a (convert OS9 dsk image to Apple ][ \"The Mill\" format)\n"
|
||||
" -o (convert Apple ][ \"The Mill\" OS9 DSK image to OS9 format)\n");
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user