diff --git a/README.md b/README.md index 9912f6b..3612208 100644 --- a/README.md +++ b/README.md @@ -3,9 +3,9 @@ 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 manipulation of OS9 RBF disk image content from MS-DOS, allowing to directly read,write OS9 files etc. +The toolshed utility allows direct manipulation of OS9 RBF disk image content from MS-DOS, allowing to directly read,write OS9 files etc. , distributed at https://sourceforge.net/projects/toolshed/ -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. +With the "toolshed" and "os9_conv" tools combination it is now possible to transfer files back and forth to the Apple ][ Stellation Two "The Mill" OS9 implementation. USE @@ -19,7 +19,8 @@ where options are: 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: +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 @@ -29,7 +30,8 @@ To extract the ECHO executable binary file from OS9BASICRBF.dsk using the toolsh 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. +The ECHO binary file will be created under MS-DOS. +See toolshed documentation for a list of the available commands. EXAMPLE 2 @@ -44,18 +46,21 @@ To write the MYBINARY file to OS9BASICRBF.dsk disk using the toolshed OS9 tool t 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. +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 floppy written with a tool such as ADT. +The resulting image can be fed in an APPLE ][ emulator (mame can emulate an APPLE ][ with a Stellation Two "The Mill" card) or a real floppy written with a tool such as ADT. NOTE -Due to the a not completely standard implementation of the RBF file system in the APPLE ][ Stellation Two "The MILL" OS9 disk structure, to maintain disk integrity, any operation is ALWAYS started from an APPLE ][ OS9 DSK disk image. +Due to the non-standard implementation of the RBF file system in the APPLE ][ Stellation Two "The MILL" OS9 disk structure, to maintain disk integrity, any operation is ALWAYS started from an APPLE ][ OS9 DSK disk image. +A copy of an Apple II OS9 blank The Mill disk is provided to play with along with the os9_conv.exe tool. + LICENSE Apple ][ "The Mill" OS9 DSK image to OS9 RBF format converter os9_conv is released under the terms of the MIT License. @@ -67,8 +72,3 @@ Permission is hereby granted, free of charge, to any person obtaining a copy of The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON INFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE - - - - - diff --git a/os9_conv/.settings/org.eclipse.cdt.managedbuilder.core.prefs b/os9_conv/.settings/org.eclipse.cdt.managedbuilder.core.prefs index d110eba..9507cc0 100644 --- a/os9_conv/.settings/org.eclipse.cdt.managedbuilder.core.prefs +++ b/os9_conv/.settings/org.eclipse.cdt.managedbuilder.core.prefs @@ -13,6 +13,14 @@ environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.mingw.exe.debug. 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.1305768780/CPATH/delimiter=; +environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.mingw.exe.release.1305768780/CPATH/operation=remove +environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.mingw.exe.release.1305768780/CPLUS_INCLUDE_PATH/delimiter=; +environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.mingw.exe.release.1305768780/CPLUS_INCLUDE_PATH/operation=remove +environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.mingw.exe.release.1305768780/C_INCLUDE_PATH/delimiter=; +environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.mingw.exe.release.1305768780/C_INCLUDE_PATH/operation=remove +environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.mingw.exe.release.1305768780/append=true +environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.mingw.exe.release.1305768780/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=; @@ -27,6 +35,10 @@ environment/buildEnvironmentLibrary/cdt.managedbuild.config.gnu.mingw.exe.debug. 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.1305768780/LIBRARY_PATH/delimiter=; +environment/buildEnvironmentLibrary/cdt.managedbuild.config.gnu.mingw.exe.release.1305768780/LIBRARY_PATH/operation=remove +environment/buildEnvironmentLibrary/cdt.managedbuild.config.gnu.mingw.exe.release.1305768780/append=true +environment/buildEnvironmentLibrary/cdt.managedbuild.config.gnu.mingw.exe.release.1305768780/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 diff --git a/os9_conv/Debug/os9_conv.exe b/os9_conv/Debug/os9_conv.exe index edde0bc..9a88d45 100644 Binary files a/os9_conv/Debug/os9_conv.exe and b/os9_conv/Debug/os9_conv.exe differ diff --git a/os9_conv/Debug/src/os9_conv.o b/os9_conv/Debug/src/os9_conv.o index 9cd5d92..d64297a 100644 Binary files a/os9_conv/Debug/src/os9_conv.o and b/os9_conv/Debug/src/os9_conv.o differ diff --git a/os9_conv/Release/README.TXT b/os9_conv/Release/README.TXT index 73b7a50..a0f974a 100644 --- a/os9_conv/Release/README.TXT +++ b/os9_conv/Release/README.TXT @@ -3,9 +3,9 @@ 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 manipulation of OS9 RBF disk image content from MS-DOS, allowing to directly read,write OS9 files etc. +The toolshed utility allows direct manipulation of OS9 RBF disk image content from MS-DOS, allowing to directly read,write OS9 files etc. , distributed at https://sourceforge.net/projects/toolshed/ -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. +With the "toolshed" and "os9_conv" tools combination it is now possible to transfer files back and forth to the Apple ][ Stellation Two "The Mill" OS9 implementation. USE @@ -19,7 +19,8 @@ where options are: 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: +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 @@ -29,7 +30,8 @@ To extract the ECHO executable binary file from OS9BASICRBF.dsk using the toolsh 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. +The ECHO binary file will be created under MS-DOS. +See toolshed documentation for a list of the available commands. EXAMPLE 2 @@ -44,18 +46,21 @@ To write the MYBINARY file to OS9BASICRBF.dsk disk using the toolshed OS9 tool t 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. +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 floppy written with a tool such as ADT. +The resulting image can be fed in an APPLE ][ emulator (mame can emulate an APPLE ][ with a Stellation Two "The Mill" card) or a real floppy written with a tool such as ADT. NOTE -Due to the a not completely standard implementation of the RBF file system in the APPLE ][ Stellation Two "The MILL" OS9 disk structure, to maintain disk integrity, any operation is ALWAYS started from an APPLE ][ OS9 DSK disk image. +Due to the non-standard implementation of the RBF file system in the APPLE ][ Stellation Two "The MILL" OS9 disk structure, to maintain disk integrity, any operation is ALWAYS started from an APPLE ][ OS9 DSK disk image. +A copy of an Apple II OS9 blank The Mill disk is provided to play with along with the os9_conv.exe tool. + LICENSE Apple ][ "The Mill" OS9 DSK image to OS9 RBF format converter os9_conv is released under the terms of the MIT License. diff --git a/os9_conv/Release/mill_os9_blank.dsk b/os9_conv/Release/mill_os9_blank.dsk new file mode 100644 index 0000000..3eb9280 Binary files /dev/null and b/os9_conv/Release/mill_os9_blank.dsk differ diff --git a/os9_conv/Release/os9_conv.exe b/os9_conv/Release/os9_conv.exe index 4b0af67..cf3cd0a 100644 Binary files a/os9_conv/Release/os9_conv.exe and b/os9_conv/Release/os9_conv.exe differ diff --git a/os9_conv/Release/src/os9_conv.o b/os9_conv/Release/src/os9_conv.o index 4c9b68c..78c09b0 100644 Binary files a/os9_conv/Release/src/os9_conv.o and b/os9_conv/Release/src/os9_conv.o differ diff --git a/os9_conv/src/os9_conv.c b/os9_conv/src/os9_conv.c index a9817fb..447d003 100644 --- a/os9_conv/src/os9_conv.c +++ b/os9_conv/src/os9_conv.c @@ -33,7 +33,7 @@ int main(int argc, char *argv[]) char source_buffer[TRACKS][SECTORS][BYTES_SECTOR]; char destination_buffer[TRACKS][SECTORS][BYTES_SECTOR]; - /* The Apple ][ "The Mill" disk sector interleave ransleation table*/ + /* The Apple ][ "The Mill" disk sector interleave translation table*/ int apple_interleave[SECTORS] = {0x00,0x0C,0x02,0x07,0x04,0x09,0x0E,0x0B, 0x01,0x06,0x03,0x08,0x0D,0x0A,0x05,0x0F} ;