|
|
@@ -0,0 +1,143 @@ |
|
|
|
|
|
|
|
(if (exists "Libs:Picasso96/ZZ9000.card") |
|
|
|
(if (askbool (prompt "A previous version of ZZ9000 graphics driver was found. Do you want to remove it?") (help "You can skip this if you want to reinstall.")) |
|
|
|
( |
|
|
|
(delete "Devs:Monitors/ZZ9000" |
|
|
|
(prompt "Delete ZZ9000 RTG Monitor file.") |
|
|
|
(help "Deletes Devs:Monitors/ZZ9000.") |
|
|
|
(confirm) |
|
|
|
(infos)) |
|
|
|
|
|
|
|
(delete "Libs:Picasso96/ZZ9000.card" |
|
|
|
(prompt "Delete ZZ9000 RTG card driver.") |
|
|
|
(help "Deletes Libs:Picasso96/ZZ9000.card") |
|
|
|
(confirm) |
|
|
|
(infos)) |
|
|
|
) |
|
|
|
)) |
|
|
|
|
|
|
|
(if (askbool (prompt "Do you want to install the P96 graphics driver for ZZ9000?") |
|
|
|
(help "")) ( |
|
|
|
|
|
|
|
(set #rtgver (getversion "Libs:Picasso96/rtg.library")) |
|
|
|
(set #rtgmajor (/ #rtgver 65536)) |
|
|
|
(set #rtgminor (- #rtgver (* #rtgmajor 65536))) |
|
|
|
|
|
|
|
(set #monexists (and (exists "Devs:Monitors/Altais.info") (exists "Devs:Monitors/Altais"))) |
|
|
|
(set #zzmonexists (and (exists "Devs:Monitors/ZZ9000.info") (exists "Devs:Monitors/ZZ9000"))) |
|
|
|
|
|
|
|
(if (or (not (or #monexists #zzmonexists)) (< #rtgmajor 40)) |
|
|
|
(abort "Please install P96 2.0+ first and select *Altais* as the graphics card.\n\nYou can either use the old shareware version of Picasso96 on Aminet or the updated P96 by Individual Computers. To purchase it, you first have to register at https://icomp.de/shop-icomp/en/register.html, and then login to their shop. P96 will then appear as a product.") |
|
|
|
) |
|
|
|
|
|
|
|
(message "P96 rtg.library version " #rtgmajor "." #rtgminor " detected. This is fine.") |
|
|
|
|
|
|
|
(copyfiles |
|
|
|
(prompt "Install P96 compatible Graphics Driver") |
|
|
|
(help "This will install the ZZ9000 graphics card driver for the P96 RTG system, ZZ9000.card.") |
|
|
|
(source "Libs/Picasso96/ZZ9000.card") |
|
|
|
(dest "Libs:Picasso96") |
|
|
|
(confirm)) |
|
|
|
|
|
|
|
(complete 10) |
|
|
|
|
|
|
|
(if #monexists |
|
|
|
(copyfiles |
|
|
|
(prompt "Copy Monitor File (Enables Graphics Driver)") |
|
|
|
(help "This will create the ZZ9000 Monitor file from the Altais Monitor file. It enables the ZZ9000 screen modes.") |
|
|
|
(source "Devs:Monitors/Altais") |
|
|
|
(infos) |
|
|
|
(dest "Devs:Monitors") |
|
|
|
(newname "ZZ9000") |
|
|
|
(confirm))) |
|
|
|
|
|
|
|
(if #monexists |
|
|
|
(delete "Devs:Monitors/Altais" |
|
|
|
(prompt "Delete Altais Monitor.") |
|
|
|
(help "Delete the Altais Monitor file that was used to create the ZZ9000 Monitor file.") |
|
|
|
(confirm) |
|
|
|
(infos))) |
|
|
|
|
|
|
|
(complete 20) |
|
|
|
|
|
|
|
(tooltype |
|
|
|
(prompt "Adjust Tooltypes of Monitor File to enable ZZ9000.card") |
|
|
|
(help "This will register ZZ9000.card as the P96 card driver in the Monitor file.") |
|
|
|
(dest "Devs:Monitors/ZZ9000") |
|
|
|
(confirm) |
|
|
|
(settooltype "BOARDTYPE" "ZZ9000") |
|
|
|
(settooltype "FAKENATIVEMODES" "No") |
|
|
|
(settooltype "DISPLAYCHAIN" "Yes")) |
|
|
|
|
|
|
|
(complete 30) |
|
|
|
|
|
|
|
(if (not (exists "Devs:Picasso96Settings.bak")) |
|
|
|
(copyfiles |
|
|
|
(prompt "Create a backup up your old P96 Configuration (Devs:Picasso96Settings.bak)") |
|
|
|
(help "It will be copied to Devs:Picasso96Settings.bak") |
|
|
|
(source "Devs:Picasso96Settings") |
|
|
|
(dest "Devs:") |
|
|
|
(newname "Picasso96Settings.bak") |
|
|
|
(confirm))) |
|
|
|
|
|
|
|
(complete 40) |
|
|
|
|
|
|
|
(copyfiles |
|
|
|
(prompt "Install P96 Configuration (Picasso96Settings)") |
|
|
|
(help "This will install the P96 configuration file for ZZ9000 that contains the available screen modes.") |
|
|
|
(source "Devs/Picasso96Settings") |
|
|
|
(dest "Devs:") |
|
|
|
(confirm)) |
|
|
|
)) |
|
|
|
|
|
|
|
(complete 50) |
|
|
|
|
|
|
|
(if (exists "Devs:Networks/ZZ9000Net.device") |
|
|
|
(if (askbool (prompt "A previous version of ZZ9000 Ethernet driver was found. Do you want to remove it?") (help "You can skip this if you want to reinstall.")) |
|
|
|
( |
|
|
|
(delete "Devs:Networks/ZZ9000Net.device" |
|
|
|
(prompt "Delete ZZ9000 Ethernet driver.") |
|
|
|
(help "Deletes Devs:Networks/ZZ9000Net.device.") |
|
|
|
(confirm) |
|
|
|
(infos)) |
|
|
|
|
|
|
|
(delete "Devs:NetInterfaces/ZZ9000Net" |
|
|
|
(prompt "Delete ZZ9000 RoadShow NetInterface file.") |
|
|
|
(help "Deletes Devs:NetInterfaces/ZZ9000Net.") |
|
|
|
(confirm) |
|
|
|
(infos)) |
|
|
|
) |
|
|
|
)) |
|
|
|
|
|
|
|
(if (askbool (prompt "Do you want to install the SANA-II Ethernet driver for ZZ9000? This requires an existing Installation of RoadShow, MiamiDX or similar.") (help "")) |
|
|
|
|
|
|
|
( |
|
|
|
|
|
|
|
(set #mac (askstring (prompt "Please enter your unique Ethernet MAC address that is printed in your user manual. Usually you just have to adjust the last 2 digits.") (help "If you want to change your MAC address later, edit ENVARC:ZZ9K_MAC") (default "68:82:f2:00:01:00") )) |
|
|
|
|
|
|
|
(textfile (prompt "Saving your MAC address in ENVARC:ZZ9K_MAC") (help "") (append #mac) (dest "ENVARC:ZZ9K_MAC")) |
|
|
|
|
|
|
|
|
|
|
|
(copyfiles |
|
|
|
(prompt "Install SANA-II compatible Ethernet Driver") |
|
|
|
(help "This will install the Network driver for ZZ9000's ethernet functionality.") |
|
|
|
(source "Devs/Networks/ZZ9000Net.device") |
|
|
|
(infos) |
|
|
|
(dest "Devs:Networks") |
|
|
|
(confirm)) |
|
|
|
|
|
|
|
(if (askbool (prompt "Do you want to install an example ZZ9000 NetInterface for use with RoadShow?") (help "")) |
|
|
|
|
|
|
|
(copyfiles |
|
|
|
(prompt "Install example NetInterface for use with RoadShow. It uses DHCP for dynamic IP. Edit Devs:NetInterfaces/ZZ9000Net to customize your settings.") |
|
|
|
(help "This will install the NetInterface configuration file for ZZ9000 for use with RoadShow.") |
|
|
|
(source "Devs/NetInterfaces/ZZ9000Net") |
|
|
|
(infos) |
|
|
|
(dest "Devs:NetInterfaces") |
|
|
|
(confirm)) |
|
|
|
))) |
|
|
|
|
|
|
|
(complete 100) |
|
|
|
|
|
|
|
(message "That's it! Please reboot and enjoy your MNT ZZ9000.\n\nMake sure to visit https://mntre.com/zz9000 for updates.\n\nIf you need support, please join our IRC channel #mnt-amiga on irc.freenode.net or contact us at zz9000@mntre.com. Thank you!") |
|
|
|
|