mac-tip/README.md

198 lines
8.1 KiB
Markdown
Raw Permalink Normal View History

2021-11-23 15:54:17 +00:00
![Trouble In Paradise for Macintosh][mac-screenshot1]
2021-11-20 04:24:24 +00:00
2021-11-23 15:54:17 +00:00
TIP for 68k and PowerPC Macintosh
=================================
2021-11-20 04:24:24 +00:00
2021-11-23 15:54:17 +00:00
This is the repository for a Macintosh port of [Gibson Research Corp]'s
[Trouble in Paradise], a diagnostic and repair tool for Iomega Zip and
2021-11-25 17:45:18 +00:00
Jaz Drives. A big thanks goes to Steve Gibson for the x86 source that
made this project possible!
2021-12-08 03:31:13 +00:00
[![Trouble in Paradise Demonstration](https://github.com/marciot/mac-tip/raw/main/images/youtube.png)](https://youtu.be/vtBlOaG2pNw)
2021-12-09 17:03:59 +00:00
:tv: See a demo on [YouTube]!
[![Mention in Steve Gibson's Security Now Podcast](https://github.com/marciot/mac-tip/raw/main/images/security-now.png)](https://twit.tv/shows/security-now/episodes/845)
:tv: Watch Steve Gibson react to my unusual request in the November 16th
episode of the "Security Now" podcast at the 1:05:10 mark.
2021-12-08 03:31:13 +00:00
2021-11-25 17:45:18 +00:00
Compatibility
-------------
2021-11-20 04:24:24 +00:00
2021-11-23 18:22:00 +00:00
This tool is meant for Macintosh computers with a SCSI port, which
2021-11-25 18:04:07 +00:00
range from the Macintosh Plus, released in 1986; through the "Beige"
2021-11-23 18:22:00 +00:00
Power Macintosh G3, released in 1997.
2021-11-25 18:04:07 +00:00
<details>
<summary>Click here to read what works and what doesn't</summary></br>
2021-11-25 17:45:18 +00:00
It has been tested in on the following environments:
2022-02-14 01:04:13 +00:00
| Computer | Memory | System | Drive | Firmware |
|------------------- |--------|--------|-------------------------------------|----------|
| Macintosh Plus | 4MB | 7.0.1 | Zip Plus 100 Ext. SCSI | J.66 |
| PowerBook 3400c | 144MB | 8.6 | Zip 100 Ext. SCSI | E.08 |
| PowerBook 3400c | 144MB | 8.6 | Jaz 2GB Ext. SCSI w/ 1GB media | E.17 |
| PowerBook 3400c | 144MB | 8.6 | Jaz 2GB Ext. SCSI w/ 2GB media | E.17 |
| Power Macintosh G3 | 256MB | 9.2.1 | Zip 100 Ext. SCSI | C.22 |
| Power Macintosh G3 | 256MB | 9.2.1 | Zip 100 Int. SCSI | J.03 |
2021-11-25 17:45:18 +00:00
2021-11-25 18:04:07 +00:00
What will not work or is missing:
2021-11-29 05:19:00 +00:00
* USB connected Zip drives have been reported to not work.
2021-12-09 17:03:59 +00:00
* The functionality for operating with password or write protected disks has not been ported.
2021-11-25 18:04:07 +00:00
* The partition recovery feature has been removed, since it is meant for PC disks.
</details>
2021-11-23 18:22:00 +00:00
Disclaimer
----------
**This software is provided on as "as is" basis and the user assumes
all risk of data loss. Although this software bears a similarity to
the original by GRC, I may have introduced errors during the conversion
process. Please do not reach out to GRC for support on this Macintosh
port.**
2021-11-25 17:45:18 +00:00
Where are the binaries?
-----------------------
2021-12-08 03:35:46 +00:00
Compiled binaries are available on the releases page for people who have signed up for
2021-11-27 01:24:39 +00:00
[beta testing in the discussion forum]
2021-11-25 17:45:18 +00:00
How can you help?
2021-11-25 05:45:22 +00:00
-----------------
You can help this project in one of the following ways:
2021-11-25 17:45:18 +00:00
* Star this project on GitHub to show your support!
2021-11-27 01:24:39 +00:00
* Sign up to [beta testing in the discussion forum]!
2021-12-08 03:31:13 +00:00
* Become a GitHub sponsor to help fund my various open-source projects!
2021-12-08 03:35:46 +00:00
Other Vintage Macintosh Stuff
2021-12-08 03:31:13 +00:00
-----------------------------
2022-03-07 00:41:39 +00:00
* [MiniVNC]: A remote desktop server for vintage Macintoshes!
2021-12-08 03:31:13 +00:00
* [ScreenChooser]: A dynamic background changer for vintage Macintoshes!
2021-12-08 03:35:46 +00:00
* [Retroweb Vintage Computer Museum]: A web-based museum of vintage computers, including the Macintosh!
2021-11-25 05:45:22 +00:00
2021-11-25 17:45:18 +00:00
Got work?
---------
2021-11-23 18:22:00 +00:00
2021-11-25 17:45:18 +00:00
I am open to paid consulting work related to retro-computing or software
for vintage Macs. If you have a project in mind, please hit me up via my
[GitHub account]!
2021-11-23 18:22:00 +00:00
2021-11-27 01:21:49 +00:00
Unmounting volumes
------------------
2021-11-23 19:36:03 +00:00
2021-12-01 15:39:51 +00:00
**To avoid data corruption, a cartridge must be unmounted prior to
2021-11-25 17:51:06 +00:00
starting a test with TIP!**
2021-11-23 19:36:03 +00:00
2021-12-01 15:39:51 +00:00
The best way to accomplish this is to start TIP without a disk in the drive you want to test.
Then, insert the cartridge at the testing screen which indicates "Awaiting media...". TIP
will recognize it if Mac OS mounts newly inserted cartridge and will give you the choice to
unmount it.
2021-11-27 01:21:49 +00:00
2021-12-09 17:03:59 +00:00
Alternatively, you can use the command line from the "Advanced" menu to unmount a disk
**prior to** starting a test.
2021-11-25 17:45:18 +00:00
<details>
2021-12-01 15:39:51 +00:00
<summary>Click here to learn how to use the command line</summary></br>
2021-11-23 19:36:03 +00:00
2021-12-01 15:39:51 +00:00
The command line is accessible by selecting run "Run Command Line..." from the "Advanced"
menu. This is a unique feature of this port and is not present in the original TIP:
2021-11-23 19:36:03 +00:00
2021-11-25 17:45:18 +00:00
![Command Line][mac-screenshot2]
2021-11-23 19:36:03 +00:00
2021-11-27 01:21:49 +00:00
### Unmounting Volumes
A cartridge will show up in the Finder as an icon; MacOS calls this a "volume".
To prevent data corruption, you have to "unmount" the volume prior to testing.
When a volume is unmounted, the icon will disappear from the Finder, but the
cartridge will remain in the drive. To unmount a drive:
2021-11-23 19:36:03 +00:00
* Type `volumes` to show a numbered list of all Mac volumes
* Type `unmount` followed by a volume's number to unmount it.
2021-11-25 17:45:18 +00:00
*The unmount process will fail if you have any open files or applications in
2021-11-25 17:51:06 +00:00
the volume; if this happens, close those files and try again.*
2021-11-25 17:45:18 +00:00
2021-12-01 15:39:51 +00:00
### Listing SCSI devices
2021-11-23 19:36:03 +00:00
* Type `list` to show a numbered list of all SCSI devices by SCSI ID.
2021-11-25 17:51:06 +00:00
</details>
2021-11-23 19:36:03 +00:00
2021-11-23 18:22:00 +00:00
About the code
--------------
2021-11-23 15:54:17 +00:00
Portions of the original code have been re-written in C++ and adapted
2021-11-25 18:31:18 +00:00
for compilation using [Metrowerks CodeWarrior 8 Gold]. The code is located
in the `mac-cpp-source` directory.
2021-11-25 17:45:18 +00:00
<details>
<summary>Click here to learn more about the code</summary></br>
2021-11-25 18:31:18 +00:00
![Metrowerks CodeWarrior 8 Gold Project][mac-screenshot3]
2021-11-25 17:45:18 +00:00
Native [Macintosh SCSI Manager] routines have been substituted for
the Win32 ASPI routines and the UI has been re-created as closely as
possible using QuickDraw routines.
2021-11-20 04:24:24 +00:00
2021-11-23 15:54:17 +00:00
Although the source code is materially different, I have maintained the
2021-11-25 17:45:18 +00:00
layout and routines names of the original assembly code to allow for easy
cross referencing and to make it easy to port additional functionality
in the future.
</details>
2021-11-20 04:24:24 +00:00
2021-11-27 22:27:34 +00:00
Credits
-------
* A big thanks goes to Steve Gibson for the source code that made this possible!
* Thank you to [Stone Table Software] for providing the tool I used to convert the Windows RTF docs into SimpleText...
* ...and to the Internet Archive's Wayback Machine for allowing me to access it long after the website was shut down!
* Thank you to Thomas Tempelmann sharing his [LaunchLib code] which I used to open the documents
2022-02-14 01:04:13 +00:00
* Thank you to Grant Hutchinson and Nikola Biscan for sending me 1GB and 2GB Jaz cartridges for testing.
2021-11-27 22:27:34 +00:00
2021-11-23 15:54:17 +00:00
The Original TIP For Windows
----------------------------
2021-11-20 04:24:24 +00:00
2021-11-25 17:51:06 +00:00
The source code in the `x86-asm-source` directory is the original Windows
2021-11-23 15:54:17 +00:00
source code as graciously provided to me by Steve Gibson. I am republishing
his code in this repository with his permission.
2021-11-20 04:24:24 +00:00
2021-11-23 15:54:17 +00:00
<details>
<summary>Click here to see screenshots of the original TIP</summary></br>
2021-11-20 04:24:24 +00:00
2021-11-23 15:54:17 +00:00
![Trouble In Paradise About Box][win-screenshot1]
![Trouble In Paradise Testing][win-screenshot2]
</details>
2021-11-25 04:59:18 +00:00
![TIP Running on a Mac Plus][mac-plus]
2021-11-23 18:50:09 +00:00
[GitHub account]: https://github.com/marciot
2021-12-06 19:55:21 +00:00
[mac-screenshot1]: https://github.com/marciot/mac-tip/raw/main/images/mac-tip1.gif "Mac TIP Animation"
2021-11-25 04:59:18 +00:00
[mac-screenshot2]: https://github.com/marciot/mac-tip/raw/main/images/mac-cmd.png "Mac TIP Command Line"
2021-11-25 18:31:18 +00:00
[mac-screenshot3]: https://github.com/marciot/mac-tip/raw/main/images/mac-tip-cw8.png "Mac TIP Build Environment"
2021-11-25 04:59:18 +00:00
[win-screenshot1]: https://github.com/marciot/mac-tip/raw/main/images/win-tip1.gif "Windows TIP About Screen"
[win-screenshot2]: https://github.com/marciot/mac-tip/raw/main/images/win-tip2.gif "Windows TIP Testing Scren"
[mac-plus]: https://github.com/marciot/mac-tip/raw/main/images/macplus-tip.jpg "TIP running on a Mac Plus"
2021-11-23 15:54:17 +00:00
[Gibson Research Corp]: https://www.grc.com
[Trouble in Paradise]: https://www.grc.com/tip/clickdeath.htm
[Metrowerks CodeWarrior 8 Gold]: https://www.macintoshrepository.org/11910-codewarrior-8-gold
2021-11-25 05:45:22 +00:00
[Macintosh SCSI Manager]: https://developer.apple.com/legacy/library/documentation/mac/pdf/Devices/Scsi_Manager.pdf
2021-11-25 19:42:30 +00:00
[explanation document]: https://github.com/marciot/mac-tip/raw/main/x86-asm-source/RTF.RTF
2021-11-27 01:24:39 +00:00
[beta testing in the discussion forum]: https://github.com/marciot/mac-tip/discussions/1
2021-11-27 22:27:34 +00:00
[LaunchLib code]: http://www.tempel.org/macdev/index.html#Libs
[Stone Table Software]: https://web.archive.org/web/20010308062807/http://www.stonetablesoftware.com/rtf2text.html
2021-12-08 03:31:13 +00:00
[ScreenChooser]: https://archive.org/details/screen-chooser
[YouTube]: https://youtu.be/vtBlOaG2pNw
2021-12-08 03:35:46 +00:00
[Retroweb Vintage Computer Museum]: http://retroweb.maclab.org
2022-03-07 00:41:39 +00:00
[MiniVNC]: https://github.com/marciot/mac-minivnc
2021-12-08 03:31:13 +00:00