From d0e0ffbf5ae66a0da5f8ee7eb9c4909ce2a44c9b Mon Sep 17 00:00:00 2001 From: mntmn <lukas@mntmn.com> Date: Sat, 10 Aug 2019 15:58:55 +0200 Subject: [PATCH] Installer --- .gitignore | 3 + installer/ZZ9000Installer.info | Bin 0 -> 628 bytes .../Devs/NetInterfaces/ZZ9000Net | 58 +++++++ .../Devs/Networks/ZZ9000Net.device | 1 + .../ZZ9000Installer/Devs/Picasso96Settings | Bin 0 -> 2130 bytes installer/ZZ9000Installer/Install ZZ9000 | 143 ++++++++++++++++++ installer/ZZ9000Installer/Install ZZ9000.info | Bin 0 -> 507 bytes .../Libs/Picasso96/ZZ9000.card | 1 + 8 files changed, 206 insertions(+) create mode 100644 .gitignore create mode 100644 installer/ZZ9000Installer.info create mode 100644 installer/ZZ9000Installer/Devs/NetInterfaces/ZZ9000Net create mode 120000 installer/ZZ9000Installer/Devs/Networks/ZZ9000Net.device create mode 100644 installer/ZZ9000Installer/Devs/Picasso96Settings create mode 100644 installer/ZZ9000Installer/Install ZZ9000 create mode 100644 installer/ZZ9000Installer/Install ZZ9000.info create mode 120000 installer/ZZ9000Installer/Libs/Picasso96/ZZ9000.card diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d371e22 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +*.o +*.lha + diff --git a/installer/ZZ9000Installer.info b/installer/ZZ9000Installer.info new file mode 100644 index 0000000000000000000000000000000000000000..6ad76b18c22d8fa65d91449c365f64c7903b5167 GIT binary patch literal 628 zcmaDXz`)4Bz`($$!^p&7$-u|J#=ywH$i7+e1N&x`0FVp{W@JL*GRiP8FnnU)tResr z6kuS;WQb(wWvKc8A0)!WAXLx(WP=@u&3<6+6A%r?(F~#g|Ns9Fu^B7^B0#n?v2V_; zU<UEvm>;C{{}Totum}qS2bfl2;9%hVufPDNuR>@J1_;gm{{UDVq)>%{6RID?V_;xm zfSC6O!bKwO!Rmf67=Xnj7>uEOb1;2_!TkR>hWr1)v=)T^{vSgBV6X>^gB0FiFoWuc znFr?LA|QU=`t<^KKTE9wfh`QCp&$^$P!F=={~rbiuz4&{nvKB$92Q{ussaOBg98I7 zEI>3UEI>3!16u<`|Gx$%kg=;)HNe~m^Rp6Id<6q5$huHO^uyF4Xi!*y{QXVq{(le+ T3JVYo!yt$L09lHT85tM=h!DKO literal 0 HcmV?d00001 diff --git a/installer/ZZ9000Installer/Devs/NetInterfaces/ZZ9000Net b/installer/ZZ9000Installer/Devs/NetInterfaces/ZZ9000Net new file mode 100644 index 0000000..62087b9 --- /dev/null +++ b/installer/ZZ9000Installer/Devs/NetInterfaces/ZZ9000Net @@ -0,0 +1,58 @@ +# $VER: ZZ9000Net 1.0 (30.07.2019) + +# The device name is mandatory +device=ZZ9000Net.device + +# If not provided, unit number 0 will be used. You may +# have to change this if there are multiple cards of the +# same type installed in your machine, or if your network +# hardware supports several independent connections +unit=0 + +# You must either pick a fixed (static) IPv4 address and +# a corresponding subnet mask, or request DHCP (dynamic) +# network address configuration. +# You can combine address/netmask/dhcp, which has the effect +# of asking the DHCP server to assign the requested IPv4 +# address and subnet mask to this interface, if possible. +#address=192.168.1.199 +#netmask=255.255.255.0 +configure=dhcp + +# If no DHCP server is present in your network, you can +# use automatic interface IPv4 address assignment through +# the ZeroConf protocol. Note that this will not set up +# default route and DNS servers for you, only the interface +# address is configured. +#configure=auto + +# This variant of automatic IPv4 address assignment should +# be used in a wireless network instead of 'configure=auto' +#configure=fastauto + +# You can enable diagnostic messages which can be helpful in +# tracking down configuration errors. +debug=yes + +# You can choose how much memory will be used when handling +# incoming and outgoing network traffic for this device. +# The default is to reserve 32 buffers of 1500 byte each, both +# inbound and outbound traffic. Larger values may provide +# better performance. +#iprequests=32 +#writerequests=32 + +# For diagnostic and monitoring purposes it can be helpful to +# capture network traffic that flows through this interface. +# To enable this option, select one of filter=local, +# filter=ipandarp or filter=everything +#filter=local +filter=ipandarp +#filter=everything + +# This option disables a workaround required for the Ariadne +# network hardware, which, if enabled, would otherwise cause +# the interface setup procedure to take longer than really +# necessary. +requiresinitdelay=no + diff --git a/installer/ZZ9000Installer/Devs/Networks/ZZ9000Net.device b/installer/ZZ9000Installer/Devs/Networks/ZZ9000Net.device new file mode 120000 index 0000000..c52d08b --- /dev/null +++ b/installer/ZZ9000Installer/Devs/Networks/ZZ9000Net.device @@ -0,0 +1 @@ +../../../../net/ZZ9000Net.device \ No newline at end of file diff --git a/installer/ZZ9000Installer/Devs/Picasso96Settings b/installer/ZZ9000Installer/Devs/Picasso96Settings new file mode 100644 index 0000000000000000000000000000000000000000..be039041cb81344310c98ef0e9b63c0625de57af GIT binary patch literal 2130 zcmZ?s5AtPT;P48tGz)h0^Ydq5U~pzo33CmyQV7UQPAo3Yw=@e*Eh)*&OD|RkGt@Iw z&@eL8Gceb)G}lyEX=rI_rfX<vX|52W=a^KY;Hc-Fmzr9{5Wo-|;^D%;z@Wy!z`)1A zz`z#fXk=hupx~C6T#{c@$$$o&T>N|)7#I|yqAU#z4A3NzxIw{SQ&j>O1Q=Kum@Y6d zGB7bPL3CLe8d(@rm>U@|Kn(Ep1glkIU|?VbspXJhb6{X#5MXd%U|^PDU|?Wk;9y{6 zsmM5hu2O(#l?pgj!d=QFz`*Fha011p#zqDeMhJf*+YeI9A;EY6=2C_`xLgWSDL}MJ z1)M73E@cM0^aG|#O&|fvz`%g!(htZkW#qu)(htZk#jg_CrKl?5E@cs5U}|7|fZ|d! z6N3s93#={$spXJhR)B>mlK?K4f>a6+tx^G}O1Mi|1sIqWm?BVIYGGhdVTL{SL28L} zDM%%8E(NJ1!li5i3@i-H3@9!&G%zx$FgLS+=0N1w2dO14M}brlm!m)`iO5kL0u1a8 zEEcFPwKOuQFf@S0Ke9_fYB?l~Kz?XoV!)U8K`I3#Bta@281bnD+pi$O-T+bx!Yq&= zf|e)n*k=coQY>g;3M!>Q0SnTHnxj}5SQwDQlqC&UIt8gj4paOpk;4>KCETT)0t`$S zm>d`wL7@sQPtA=CDooAIAnrtUDM&4c1ak{KM}bOotmP?4r2x??6>zFVs!!NJC3*p* zax!AbONTiSiH6lD&??N+6G;x43G;s-19FK1*JXuVs34~)P&t7upBjoYUM%53SBWj3 zVpl1Fr9_F~V?24d2JTWu<PrtpQshDf*?v&&=a6820gtIEkTm5g#pHZ$8M;aVqE$*@ IQ3-J=08ge8$p8QV literal 0 HcmV?d00001 diff --git a/installer/ZZ9000Installer/Install ZZ9000 b/installer/ZZ9000Installer/Install ZZ9000 new file mode 100644 index 0000000..9853a58 --- /dev/null +++ b/installer/ZZ9000Installer/Install ZZ9000 @@ -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!") + diff --git a/installer/ZZ9000Installer/Install ZZ9000.info b/installer/ZZ9000Installer/Install ZZ9000.info new file mode 100644 index 0000000000000000000000000000000000000000..4693c31a9aa5b7af452097ba13790d8a25da091a GIT binary patch literal 507 zcmaDXz`)1=0_+T`4E79S3@i+c42<mC{#bwnQE&<a0|O&V75nyCFW9#~oxs4rAj`nO zAcs&R0AYemVPfCOkiZP#Lr4b*#c%*b+y8$+3eEig|38p=FkS!u|G)qLfB$J<5MZ$X z|A48zL4bk(e*;qkg9rojKL#!k&F}+CD?n)m1YQ3h4E})J!N34<4~S+53;#dB51|`) zL&1OnL_08ug6a7GSHX02K7@``fzVN&5IQ~=Oozz-KL}D6^8f!&h6V-(M*IIy80!DO z|9}4f{67`-@Be@PSO2H}|LgyMe*XUgqW`Ny>HARnKZ1t36J#F9L2#M_Cc(hK<(XGp yl9-c|S_Bf~VPIh3cMJ&dbM$q!jf%1~FfafK3;25ag$BC@**b=~206OBG5`RioTuFY literal 0 HcmV?d00001 diff --git a/installer/ZZ9000Installer/Libs/Picasso96/ZZ9000.card b/installer/ZZ9000Installer/Libs/Picasso96/ZZ9000.card new file mode 120000 index 0000000..8308b98 --- /dev/null +++ b/installer/ZZ9000Installer/Libs/Picasso96/ZZ9000.card @@ -0,0 +1 @@ +../../../../rtg/ZZ9000.card \ No newline at end of file -- GitLab