home *** CD-ROM | disk | FTP | other *** search
/ The AGA Experience 2 / agavol2.iso / software / utilities / emulation / emplant / mac5.5 / installerscript < prev    next >
Text File  |  1995-02-11  |  21KB  |  778 lines

  1. ;**************************************************
  2. ;
  3. ;$VER: MAC Emulation Installer v2.1 (11 Feb 1995)
  4. ;
  5. ; Title:
  6. ;    EMPLANT's MAC Emulation Software Installer
  7. ; Description:
  8. ;    The Commodore Installer Script for EMPLANT's
  9. ;    MAC emulation module software.
  10. ;
  11. ; Installer script by Jim Drew
  12. ;
  13. ;**************************************************
  14.  
  15. (set true 1)
  16. (set false 0)
  17. (set quote "\"")
  18. (set nothing "")
  19. (set WB2 (< 2293760 (getversion "exec.library" (resident)))) ; true if under 2.0
  20.  
  21. (set mode 0)                ;default to 32 bit mode
  22.  
  23. (set EMPLANT_dir (getassign "EMPLANT"))
  24. (set c_dir (getassign "C"))
  25. (set libs_dir (getassign "LIBS"))
  26. (set fonts_dir (getassign "FONTS"))
  27. (set devs_dir (getassign "DEVS"))
  28. (set s_dir (getassign "S"))
  29.  
  30. (set Src_c "MacII:MAC_EMU/c/")
  31. (set Src_s "MacII:MAC_EMU/s/")
  32. (set Src_libs "MacII:MAC_EMU/libs/")
  33. (set Src_fonts "MacII:MAC_EMU/fonts/")
  34. (set Src_devs "MacII:MAC_EMU/devs/")
  35. (set Src_main "MacII:MAC_EMU/")
  36. (set Src_Launcher "MacII:MAC_EMU/Launcher/")
  37. (set Src_docs "MacII:MAC_EMU/Documentation/")
  38. (set Src_ROMS "MacII:MAC_EMU/ROM_Images/")
  39. (set Src_Video "MacII:MAC_EMU/Video_Drivers/")
  40. (set Src_Logo "MacII:MAC_EMU/Logos/")
  41. (set Src_ExtIO "MacII:MAC_EMU/Ext_IO/")
  42.  
  43. (if  (<> EMPLANT_dir nothing)
  44.      (if  (askbool
  45.                (prompt "\n\n\nSome version of the MAC emulation software "
  46.                "already exists in your drawer named: \n\n"
  47.                quote EMPLANT_dir quote
  48.                "\n\nDo you want the update installed over it?")
  49.                (help
  50.                "\n\n\nThe installer has determined that you already have a "
  51.                "some version of the MAC emulation software installed "
  52.                "on your system.  If this is wrong or you want the update "
  53.                "installed elsewhere, select 'NO', otherwise select 'YES'."
  54.                )
  55.                (default 1)
  56.           )
  57.                (set is_update true) 
  58.  
  59. ;else ask where to put software
  60.  
  61.                (
  62.                (set is_update false)
  63.                (set EMPLANT_dir
  64.                (askdir
  65.                     (prompt "Where would you like the updated software "
  66.                     "installed?\n"
  67.                     "'EMPLANT' will be automatically appended.")
  68.                     (help @askdir-help)
  69.                     (default @default-dest)
  70.                )
  71.                )
  72.  
  73.                (set EMPLANT_dir
  74.                (tackon EMPLANT_dir "EMPLANT")
  75.                )
  76.  
  77.                (makedir EMPLANT_dir
  78.                (infos)
  79.                )
  80.           )
  81.      )
  82. )
  83.  
  84. ; EMPLANT: was not previously assigned, so ask where to make it
  85. (if  (= EMPLANT_dir nothing)
  86.           (
  87.           (set EMPLANT_dir
  88.                (askdir
  89.                     (prompt "Where would you like the software installed? "
  90.                     "'EMPLANT' will be automatically appended.")
  91.                     (help @askdir-help)
  92.                     (default @default-dest)
  93.                )
  94.           )
  95.  
  96.           (set EMPLANT_dir
  97.           (tackon EMPLANT_dir "EMPLANT")
  98.           )
  99.  
  100.           (makedir EMPLANT_dir
  101.           (infos)
  102.           )
  103.      )
  104. )
  105.  
  106.           (set EMU_Dir
  107.           (tackon EMPLANT_dir "MAC")
  108.           )
  109.  
  110.           (makedir EMU_dir
  111.           (infos)
  112.           )
  113.  
  114. (set @default-dest EMU_dir)
  115.  
  116. (complete 5)
  117.  
  118. ; ask user to locate SYS:C directory
  119.  
  120. (set c_dir
  121.      (askdir
  122.           (prompt "Please locate your C: directory.")
  123.           (help @askdir-help)
  124.           (default c_dir)
  125.      )
  126. )
  127.    
  128. (working omp "...Please Wait...")
  129.  
  130. (copyfiles
  131.      (prompt "Select file(s) to be copied into your C: directory:")
  132.      (help "\n\n\n\n\nThis will copy RsrvMem to your C: "
  133.      "directory.\n\n\n\n\n\n\n\n"
  134.      @copyfiles-help)
  135.      (source Src_c)
  136.      (dest c_dir)
  137.      (pattern "#?MEM#?")
  138.      (confirm)
  139. )
  140.    
  141. (complete 10)
  142.  
  143. ; ask user to locate LIBS: directory
  144.  
  145. (set libs_dir
  146.      (askdir
  147.           (prompt "Please locate your LIBS: directory.")
  148.           (help @askdir-help)
  149.           (default libs_dir)
  150.           (newpath)
  151.      )
  152. )
  153.  
  154. (working omp "...Please Wait...")
  155.  
  156. (copyfiles
  157.      (prompt "Select file(s) to be copied into your LIBS: directory:")
  158.      (help "\n\n\n\n\nThis will copy the EMPLANT and "
  159.      "JAM libraries into your system's LIBS: directory.\n\n\n\n\n\n\n"
  160.      @copylib-help)
  161.      (source Src_libs)
  162.      (dest libs_dir)
  163.      (pattern "(#?.library#?)")
  164.      (confirm)
  165. )
  166.  
  167. (complete 20)
  168.  
  169. ; ask user to locate DEVS: directory
  170.  
  171. (set devs_dir
  172.      (askdir
  173.           (prompt "Please locate your DEVS: directory")
  174.           (help @askdir-help)
  175.           (default devs_dir)
  176.      )
  177. )
  178.  
  179. (working omp "...Please Wait...")  
  180.  
  181. (copyfiles
  182.      (prompt "Select file(s) to be copied into your DEVS: directory:")
  183.      (help "\n\n\n\n\nThis will copy the device drivers for the use "
  184.      "with EMPLANT's various I/O ports.\n\n\n\n\n\n\n"
  185.      @copyfiles-help)
  186.      (source Src_devs)
  187.      (dest DEVS_dir)
  188.      (pattern "#?")
  189.      (confirm)
  190. )
  191.  
  192. (complete 30)
  193.  
  194. ; ask user to locate FONTS: directory
  195.  
  196. (set Fonts_dir
  197.      (askdir
  198.           (prompt "Please locate your FONTS: directory")
  199.           (help @askdir-help)
  200.           (default fonts_dir)
  201.           (newpath)
  202.      )
  203. )
  204.  
  205. (working omp "...Please Wait...")
  206.  
  207. (copyfiles
  208.      (prompt "Select file(s) to be copied into your FONTS: directory:")
  209.      (help "\n\n\n\n\nThis will copy over any fonts needed for the "
  210.      "emulation.\n\n\n\n\n\n\n"
  211.      @copyfiles-help)
  212.      (source Src_fonts)
  213.      (dest fonts_dir)
  214.      (pattern "(SCAIV#?)")
  215.      (fonts)
  216.      (confirm)
  217. )
  218.  
  219. (complete 40)
  220.  
  221. (working omp "...Please Wait...")
  222.  
  223. ; Copy utilities
  224.    
  225. (set EMPLANT_dir
  226.      (copyfiles
  227.           (prompt "Select files to be copied to the EMPLANT: directory:")
  228.           (help "\n\n\n\n\nThis will copy all of the utilities for the "
  229.           "EMPLANT hardware and the MAC emulation.\n\n\n\n\n\n\n"
  230.           @copyfiles-help)
  231.           (source Src_main)
  232.           (dest EMPLANT_dir)
  233.           (pattern "(Conv#?|Diag#?|Dump#?|HardFile#?|ROMINFO|InitRet#?|MAC_HDSetup#?)")
  234.           (confirm)
  235.      )
  236. )
  237.  
  238. (complete 50)
  239.  
  240. ; Copy over the MAC EMULATION programs
  241.  
  242. (working omp "...Please Wait...")
  243.    
  244. (set EMU_dir
  245.      (copyfiles
  246.           (prompt "Select files to be copied to the EMPLANT:MAC/ directory:")
  247.           (help "\n\n\n\n\n\nThis will copy the MAC emulation's main "
  248.           "programs.\n\n\n\n\n\n\n"
  249.           @copyfiles-help)
  250.           (source Src_main)
  251.           (dest EMU_dir)
  252.           (pattern "(MacII|HardKickMMU|SoftKickMMU)")
  253.           (confirm)
  254.      )
  255. )
  256.  
  257. ;copy AppIcon
  258.  
  259. (copyfiles
  260.      (source Src_Main)
  261.      (dest EMU_dir)
  262.      (pattern "(EMP_AppIcon.info)")
  263. )
  264.  
  265. ;create Launcher directory
  266.  
  267. (set Launcher_dir
  268. (tackon EMU_dir "Launcher")
  269. )
  270.    
  271. (makedir Launcher_dir)
  272.  
  273. (copyfiles
  274.      (source Src_Launcher)
  275.      (dest Launcher_dir)
  276.      (pattern "(launcher.info)")
  277. )
  278.  
  279. (complete 55)
  280.  
  281. ;create Video_Drivers directory
  282.    
  283. (set VideoDrvr_dir
  284. (cat EMU_dir)
  285. )
  286. (set VideoDrvr_dir
  287. (tackon VideoDrvr_dir "Video_Drivers")
  288. )
  289.  
  290. (makedir VideoDrvr_dir
  291. (infos)
  292. )
  293.  
  294. (working omp "...Please Wait...")
  295.  
  296. (copyfiles
  297.      (prompt "Select file(s) to be copied into your Video_Drivers directory:")
  298.      (help "\n\n\n\n\nThis will copy the video drivers to the proper "
  299.      "directory.  ALL MAC video drivers must reside in your "
  300.      "'\EMPLANT:MAC/Video_Drivers\' directory.\n\n\n\n\n\n"
  301.      @copyfiles-help)
  302.      (source Src_video)
  303.      (dest VideoDrvr_dir)
  304.      (pattern "(#?)")
  305.      (confirm)
  306. )
  307.  
  308. (complete 60)
  309.  
  310. ;create ExtIO directory
  311.  
  312. (set ExtIODrvr_dir
  313. (cat EMU_dir)
  314. )
  315. (set ExtIODrvr_dir
  316. (tackon ExtIODrvr_dir "Ext_IO")
  317. )
  318.  
  319. (makedir ExtIODrvr_dir
  320. (infos)
  321. )
  322.  
  323. (working omp "...Please Wait...")
  324.  
  325. (copyfiles
  326. (prompt "Select file(s) to be copied into your Ext_IO directory:")
  327.      (help "\n\n\n\n\nThis will copy the external I/O drivers to the proper "
  328.      "directory.  ALL MAC external I/O drivers must reside in your "
  329.      "'\EMPLANT:MAC/Ext_IO\' directory.\n\n\n\n\n\n"
  330.      @copyfiles-help)
  331.      (source Src_ExtIO)
  332.      (dest ExtIODrvr_dir)
  333.      (pattern "(#?)")
  334.      (confirm)
  335. )
  336.  
  337. (complete 65)
  338.  
  339. ;create Logos directory
  340.  
  341. (set Logos_dir
  342. (cat EMU_dir)
  343. )
  344. (set Logos_dir
  345. (tackon Logos_dir "Logos")
  346. )
  347.  
  348. (makedir Logos_dir
  349. (infos)
  350. )
  351.  
  352. (working omp "...Please Wait...")
  353.  
  354. (copyfiles
  355.      (prompt "Select file(s) to be copied into your Logos directory:")
  356.      (help "\n\n\n\n\nThis will copy the boot logos to the proper "
  357.      "directory.  ALL MAC logos must reside in your "
  358.      "'\EMPLANT:MAC/Logos\' directory.\n\n\n\n\n\n"
  359.      @copyfiles-help)
  360.      (source Src_logo)
  361.      (dest logos_dir)
  362.      (pattern "(#?logo#?)")
  363.      (confirm)
  364. )
  365.  
  366. (complete 70)
  367.  
  368. ;create Documentation directory
  369.  
  370. (set Docs_dir
  371. (cat EMU_dir)
  372. )
  373. (set Docs_dir
  374. (tackon Docs_dir "Documentation")
  375. )
  376.  
  377. (makedir Docs_dir
  378. (infos)
  379. )
  380.  
  381. (working omp "...Please Wait...")
  382.  
  383. (copyfiles
  384.      (prompt "Select file(s) to be copied Documentation directory:")
  385.      (help "\n\n\n\nThis will copy various documentation and "
  386.      "IFF pictures to your documentation directory.  ALL MAC emulation "
  387.      "documentation should reside in your "
  388.      "'\EMPLANT:MAC/Documenation\' directory.\n\n\n\n\n\n"
  389.      @copyfiles-help)
  390.      (source Src_docs)
  391.      (dest Docs_dir)
  392.      (pattern "#?")
  393.      (confirm)
  394. )
  395.  
  396. (complete 75)
  397.  
  398. ;create ROM_Images directory
  399.  
  400. (set ROM_dir
  401. (cat EMU_dir)
  402. )
  403. (set ROM_dir
  404. (tackon ROM_dir "ROM_Images")
  405. )
  406.  
  407. (makedir ROM_dir
  408. (infos)
  409. )
  410.  
  411. (working omp "...Please Wait...")
  412.  
  413. (copyfiles
  414.      (prompt "Select ROM Image(s) and Related Files:")
  415.      (help "\n\n\n\n\nThis will copy your ROM image(s) from your "
  416.      "original installation (if applicable).  ALL ROM image files "
  417.      "must be in your '\EMPLANT:MAC/ROM_Images\' directory.\n\n\n\n\n\n"
  418.      @copyfiles-help)
  419.      (source Src_ROMS)
  420.      (dest ROM_dir)
  421.      (pattern "#?")
  422.      (confirm)
  423. )
  424.  
  425. (complete 80)
  426.  
  427.  
  428. ; add custom EMPLANT setup caller to Startup-Sequence if 'AssignEMPLANT'
  429. ; does not exist yet
  430.  
  431. (if  (not (exists "s:AssignEMPLANT"))
  432.      (if  (askbool
  433.                (prompt "\nIn order for MAC emulation to work correctly, "
  434.                "the FIRST line in your STARTUP-SEQUENCE must be\n\n"
  435.                "'execute >NIL: s:SetupEMPLANT'\n\n"
  436.                "and the LAST line of your USER-STARTUP must be:\n\n"
  437.                "'execute >NIL: s:AssignEMPLANT'\n\n"
  438.                "These lines can be automatically added by this installer "
  439.                "script.  Do you wish to proceed?\n\n")
  440.                (help @askbool-help)
  441.                )
  442.  
  443.                (
  444.                     (if (= @pretend 0)
  445.                     (
  446.                         (
  447.                         (if  (not  (exists "s:user-startup"))
  448.                              (textfile
  449.                              (dest "s:user-startup")
  450.                              (append ";user-startup \n\n")
  451.                          )
  452.                     )
  453.                     (textfile
  454.                     (dest "ram:startup-sequence")
  455.                     (append ";BEGIN EMPLANT \n")
  456.                     (append "execute >NIL: s:SetupEMPLANT \n")
  457.                     (append ";END EMPLANT \n")
  458.                     (include "s:startup-sequence")
  459.                     )
  460.                     (rename "s:startup-sequence" "s:startup-sequence.old")
  461.                     (copyfiles
  462.                     (help @copyfiles-help)
  463.                     (source "ram:startup-sequence")
  464.                     (dest "s:")
  465.                     )
  466.                     (delete "ram:startup-sequence")
  467.  
  468.                     (textfile
  469.                     (dest "ram:user-startup")
  470.                     (include "s:user-startup")
  471.                     (append ";BEGIN EMPLANT \n")
  472.                     (append "execute >NIL: s:AssignEMPLANT \n")
  473.                     (append ";END EMPLANT \n")
  474.                     )
  475.                     (rename "s:user-startup" "s:user-startup.old")
  476.                     (copyfiles
  477.                     (help @copyfiles-help)
  478.                     (source "ram:user-startup")
  479.                     (dest "s:")
  480.                     )
  481.                     (delete "ram:user-startup")
  482.                )
  483.           )
  484.           )
  485.      )
  486.      )
  487. )
  488.  
  489. ;create mini-script files
  490.       
  491. (delete "s:SetupEMPLANT")
  492. (textfile
  493. (dest "s:SetupEMPLANT")
  494. (append "RsrvMem >NIL: \n")
  495. )
  496. (delete "s:AssignEMPLANT")
  497. (textfile
  498. (dest "s:AssignEMPLANT")
  499. (append "Assign EMPLANT: " EMPLANT_dir "\n")
  500. )
  501.  
  502. (complete 85)
  503.  
  504. (message "\n\n\n\n\n\n"
  505. "Installation of emulation software is complete.  You must now setup "
  506. "the emulation's launcher program for your particular machine."
  507. )
  508.  
  509. (set filename EMU_dir)
  510.  
  511. (set machine
  512.      (askchoice
  513.           (prompt "Select the model of Amiga you are using:")
  514.           (help "\n\n\n\n\nSelect the model that closest matches your "
  515.           "system.  If you have an A4000/030 with an MMU added, select "
  516.           "\Amiga 4000/040\.\n\n\n\n\n\n\n\n"
  517.           @askchoice-help)
  518.                (choices "Amiga 2000 + accelerator w/MMU"
  519.                "Amiga 3000 w/HardKick ROMs"
  520.                "Amiga 3000 w/SoftKick ROMs"
  521.                "Amiga 4000/040"
  522.                "Amiga 4000/030"
  523.                "Other Amiga w/o MMU"
  524.                "I don't want to use the MMU!")
  525.           (default 3)
  526.      )
  527. )
  528.  
  529. (complete 90)
  530.  
  531. (if  (< machine 4)
  532.      (set mode
  533.           (askchoice
  534.                (prompt "Select the addressing mode for the emulation to use:")
  535.                (help "\nIt is highly recommend that you use this emulation "
  536.                "only with Apple's System 7.1 or later software.  This "
  537.                "requires that the emulation is setup in '32 bit mode'.\n\n"
  538.                "You should only use '24 bit' mode if you are going to be "
  539.                "using any version from System 6 thru System 7.0.1.\n\n"
  540.                "24 bit mode may be required for some older applications."
  541.                "\n\n\n\n\n"
  542.                @askchoice-help)
  543.                (choices "32 bit (System 7.1 and later)"
  544.                "24 bit (System 7.01 and earlier)")
  545.                (default 0)
  546.           )
  547.      )
  548. )
  549.  
  550. (complete 95)
  551.  
  552. (if  (< machine 4)
  553.      (if  (<> machine 2)
  554.           (
  555.           (set type "HardKickMMU")
  556.           (set icon_name "HardLaunch_")
  557.           (set flags
  558.                (askoptions
  559.                     (prompt "Setup Launch script options for:\n"
  560.                     "Any Amiga with an MMU & KickStart in ROM")
  561.                     (help "The following features are available with "
  562.                     "the HardLaunch_MAC script:\n\n"
  563.                     "QUIET:\n\n"
  564.                     "Turns off the screen flash when HardLaunch_MAC is "
  565.                     "started up (those of you using long 'beep' samples "
  566.                     "in Preferences will want to select this option.\n\n\n"
  567.                     "\n\n\n\n\n\nREMAP:\n\n"
  568.                     "It is possible to map the EMPLANT's hardware at the "
  569.                     "same memory location as a real MAC's hardware, increasing "
  570.                     "emulation compatibility.  This option may conflict with "
  571.                     "some Zorro III memory boards.\n\n\n"
  572.                     "\n\n\n\n\nFASTROM:\n\n"
  573.                     "The Amiga's Kickstart ROM can be mapped into FAST memory, "
  574.                     "which will result in an overall performance boost to the "
  575.                     "Amiga and EMPLANT's MAC emulation.  This option is highly "
  576.                     "recommended!\n\n\n\n\n"
  577.                     "\n\n\nNOCOPYBACK:\n\n"
  578.                     "Although we know of no programs to date that require this "
  579.                     "option, it exists in case an application can not handle "
  580.                     "the CopyBack mode of the 68040 processor.  It puts the "
  581.                     "processor into 'write-through' mode.\n\n\n\n\n\n\n\n"
  582.                     @askoptions-help)
  583.                     (choices
  584.                     "QUIET      - No screen flash on startup"
  585.                     "REMAP      - Remaps EMPLANT hardware"
  586.                     "FASTROM    - Remaps KickStart into FAST memory"
  587.                     "NOCOPYBACK - Turns off CopyBack mode for 68040s"
  588.                     )
  589.                     (default 6)
  590.                )
  591.           )
  592.           )
  593.  
  594. ;else machine is softkicked
  595.           (
  596.           (set type "SoftKickMMU")
  597.           (set icon_name "SoftLaunch_")
  598.           (set flags
  599.                (askoptions
  600.                     (prompt "Setup Launch script options for:\n"
  601.                     "SoftKick'd A3000")
  602.                     (help "The following features are available with "
  603.                     "the SoftLaunch_MAC script:\n\n"
  604.                     "QUIET:\n\n"
  605.                     "Turns off the screen flash when SoftLaunch_MAC is "
  606.                     "started up (those of you using long 'beep' samples "
  607.                     "in Preferences will want to select this option.\n\n\n"
  608.                     "\n\n\n\n\n\nREMAP:\n\n"
  609.                     "It is possible to map the EMPLANT's hardware at the "
  610.                     "same memory location as a real MAC's hardware, increasing "
  611.                     "emulation compatibility.  This option may conflict with "
  612.                     "some Zorro III memory boards.\n\n\n\n\n\n\n"
  613.                     @askoptions-help)
  614.                     (choices
  615.                     "QUIET      - No screen flash on startup"
  616.                     "REMAP      - Remaps EMPLANT hardware"
  617.                     )
  618.                     (default 2)
  619.                     )
  620.                )
  621.           )
  622.           )
  623.  
  624.      (
  625.      (set type "NoMMU")
  626.      (set icon_name "EC_Launch_")
  627.  
  628.      (Message "\n\nA T T E N T I O N ! ! !\n\n\n\n"
  629.      "Since your system will not be using an MMU, it is "
  630.      "recommended that you use the 'QD' video drivers."
  631.      "\n\n")
  632.      )
  633. )
  634.  
  635. (if  (= mode 0)
  636.      (
  637.      (set icon_name
  638.      (cat icon_name "MAC")
  639.      )
  640.      )
  641. )
  642.  
  643. (if  (= mode 1)
  644.      (
  645.      (set icon_name
  646.      (cat icon_name "24")
  647.      )
  648.      )
  649. )
  650.  
  651. (set filename
  652. (tackon filename icon_name)
  653. )
  654.  
  655. (complete 99)
  656.  
  657. (set iconify
  658.      (askchoice
  659.           (prompt "Select Startup Option:\n")
  660.           (help "\n\n\nWhen the " icon_name " script file is executed, "
  661.           "the emulation will startup and normally stay at the Emulation "
  662.           "Setup Screen.\n\n"
  663.           "It is possible to skip the setup screen and immediately run "
  664.           "the emulation, and even iconify it at the same time.\n\n\n\n"
  665.           @askchoice-help)
  666.                (choices "Skip Emulation Setup"
  667.                "Skip Emulation Setup & Iconify"
  668.                "Don't Skip Emulation Setup"
  669.                (default 2)
  670.                )
  671.      )
  672. )
  673.  
  674. ;delete file if it once existed.
  675.  
  676. (delete filename)
  677.  
  678. (textfile
  679. (dest filename)
  680. (if  (= type "HardKickMMU")
  681.      (append "\n"
  682.      "IF EXISTS " type "\n\n"
  683.      "c:echo " quote "Setting up MMU mirroring system for ROM based machines...." quote "\n\n"
  684.      ";Attention!!  HardKickMMU has 5 different options:\n\n"
  685.      "; -f    Turns on the FASTROM option (remaps KickStart into FAST memory).\n"
  686.      "; -w    Turns off CopyBack mode (turns on write-through, 68040 owners only).\n"
  687.      "; -h    Remaps the EMPLANT hardware to appear at the same memory location\n"
  688.      ";       that the MAC's hardware appears.\n"
  689.      "; -t    Maps 4K pages with MMU for video display refreshing, does not\n"
  690.      ";       mirror memory.  WILL NOT WORK IN 24 BIT MODE!!\n"
  691.      "; -q    Supress screen flash, also known as DisplayBeep().\n\n"
  692.      ";       You can use either upper or lower case letters (ie. -f or -F).\n"
  693.      ";       Options may be in any order.\n\n"
  694.      "HardKickMMU "
  695.      )
  696.      )
  697.  
  698. (if  (= type "SoftKickMMU")
  699.      (append "\n"
  700.      "IF EXISTS " type "\n\n"
  701.      "c:echo " quote "Setting up MMU mirroring system for SuperKickstart machines...." quote "\n\n"
  702.      ";Attention!!  SoftKickMMU has 2 different options:\n\n"
  703.      "; -h    Remaps the EMPLANT hardware to appear at the same memory location\n"
  704.      ";       that the MAC's hardware appears.\n"
  705.      "; -q    Supress screen flash, also known as DisplayBeep().\n\n"
  706.      ";       You can use either upper or lower case letters (ie. -h or -H).\n"
  707.      ";       Options may be in any order.\n\n"
  708.      "SoftKickMMU "
  709.      )
  710.      )
  711.  
  712.      (if  (IN flags 0)
  713.      (append "-q ")
  714.      )
  715.  
  716.      (if  (IN flags 1)
  717.      (append "-h ")
  718.      )
  719.  
  720.      (if  (IN flags 2)
  721.      (append "-f ")
  722.      )
  723.  
  724.      (if  (IN flags 3)
  725.      (append "-w ")
  726.      )
  727.  
  728.      (if  (< machine 4)
  729.           (if  (= mode 0)
  730.           (append "-t ")
  731.           )
  732.      )
  733.  
  734.      (append "\n\n"
  735.      "c:echo " quote " " quote "\n"
  736.      "c:echo " quote "Running emulation configuration menu...." quote "\n\n"
  737.      "RUN >NIL: <NIL: MACII "
  738.      )
  739.  
  740.      (if  (= iconify 0)
  741.      (append "-s ")
  742.      )
  743.  
  744.      (if  (= iconify 1)
  745.      (append "-i ")
  746.      )
  747.      (append "\n\n")
  748. )
  749.  
  750. (copyfiles
  751.      (source launcher_dir)
  752.      (dest EMU_dir)
  753.      (pattern "Launcher.info")
  754. )
  755.  
  756. (set oldname
  757. (tackon EMU_dir "launcher.info")
  758. )
  759.  
  760. (set filename
  761. (cat filename ".info")
  762. )
  763.  
  764. (rename oldname filename)
  765.  
  766. (complete 100)
  767.  
  768. (message "\n\n\n\n"
  769. "A T T E N T I O N ! ! !\n\n"
  770. "You must turn off the power to your Amiga before attempting "
  771. "to run the emulation.  Simply rebooting will NOT work, you "
  772. "MUST physically turn off of the Amiga with its power switch. "
  773. "No exceptions."
  774. )          
  775.  
  776. (exit)
  777.