# Testing the CD-ROM Image File on a Macintosh

After creating the CD-ROM image file, test it on the Macintosh to make sure that all necessary files are included in the image.

To test the CD-ROM image file, follow these steps:

1. Rename any additional copies of your title's executable and data folders you have on your Macintosh so they aren't accessed instead of the files in the CD-ROM image you want to test.

2. Make sure there are no other cdrom.image files anywhere on your Macintosh.

3. Make sure your environment is set up for debugging.

4. Open the Debugger and select Cancel when prompted for a script to execute.

5. From the Edit menu, choose Preferences and make sure the CD Emulation checkbox is checked.

6. From the File menu, choose Directories, and then choose Setup. In the dialog that appears, click Data, then find the /cdrommaster/_version folder that contains the cdrom.image file and click Select Current Directory.

7. From the Target menu, select Launch.

8. When prompted, select the boot script and click Execute.

9. Press Command-G to start the operating system (if you didn't uncheck Set Initial Breakpoints).

10. When you see a Mac-> prompt in the Debugger Terminal window, type the following:

      `alias boot /cd-rom`

    This sets the alias `boot` to `/cd-rom`. In turn, any pathname in the application that contains `$boot` will properly reference the files on the CD-ROM.

11. Execute the program contained in the image file by typing the following command into the Terminal window:

      `$boot/launchme`

12. Test the CD-ROM image in the minimum memory configuration, as described in Checking for Low Memory Pointers.