Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
DesktopBoot
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Timothy E Baldwin
DesktopBoot
Commits
9c0cc1f2
Commit
9c0cc1f2
authored
Apr 24, 1997
by
Kevin Bracey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Merged in RO_3_70.
parent
ca64529a
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
168 additions
and
114 deletions
+168
-114
!MkInstall,fd7
!MkInstall,fd7
+2
-0
Boot/UK/!Boot,feb
Boot/UK/!Boot,feb
+15
-0
Makefile,fe1
Makefile,fe1
+98
-88
Notes
Notes
+4
-0
RO360Hook/Boot/Tasks/Configure,feb
RO360Hook/Boot/Tasks/Configure,feb
+2
-2
ResetBoot/UK/!Run,feb
ResetBoot/UK/!Run,feb
+2
-2
Source/!Run,feb
Source/!Run,feb
+20
-0
Source/BootVars/Makefile
Source/BootVars/Makefile
+1
-3
Source/BootVars/c/main
Source/BootVars/c/main
+14
-14
Source/LoadCMOS/c/main
Source/LoadCMOS/c/main
+6
-2
Utils/BootRun,feb
Utils/BootRun,feb
+3
-2
Version
Version
+1
-1
No files found.
!MkInstall,fd7
View file @
9c0cc1f2
...
...
@@ -13,4 +13,6 @@
| limitations under the License.
|
Dir <Obey$Dir>
wimpslot -min 4000k
amu_machine install INSTDIR=<Install$Dir>.HardDisc4 COMPONENT=Boot
amu_machine install INSTDIR=<Install$Dir>.HardDisc4.Diversions.Tools COMPONENT=ResetBoot
Boot/UK/!Boot,feb
View file @
9c0cc1f2
...
...
@@ -12,6 +12,21 @@
| See the License for the specific language governing permissions and
| limitations under the License.
|
RMEnsure UtilityModule 3.70 Error This !Boot structure is only suitable for RISC OS 3.70 or later
| Copyright 1996 Acorn Computers Ltd
|
| Licensed under the Apache License, Version 2.0 (the "License");
| you may not use this file except in compliance with the License.
| You may obtain a copy of the License at
|
| http://www.apache.org/licenses/LICENSE-2.0
|
| Unless required by applicable law or agreed to in writing, software
| distributed under the License is distributed on an "AS IS" BASIS,
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
| See the License for the specific language governing permissions and
| limitations under the License.
|
Set Alias$BootEnd Unset Alias$BootEnd|mObey
If "<Boot$Dir>"="" Then Set Alias$BootEnd Unset Alias$BootEnd
Iconsprites <Obey$Dir>.!Sprites
...
...
Makefile,fe1
View file @
9c0cc1f2
...
...
@@ -31,19 +31,25 @@
# - install its own !Run file (not the common one)
# 13th Feb 1995 AMcC ResetBoot - don't install_Configure
# 27th Mar 1995 AMcC Removed AKF70 from install_configure rule
#
# 16th May 1995 JRC No longer deletes ShareBoot SetupNet files: instead, there are separate
# ones for ShareBoot, ArmBoot and Boot. DOesn't remove ww access
# from everything.
# 14th Jun 1995 AMcC Added lines to remove ~CDReinit from !ArmBoot and ShareBoot
# 4th Jul 1995 JRC socket.h now in OSLib
# 7th Jul 1995 JRC Changed INSTDIR to INSTAPP, except in 1 vital place
# 1st Aug 1995 JRC Added BootVars target, for installation of BootVars in Scrap
#
# Program specific options:
#
#COMPONENT = ...
# This must be set on the command line to one of Boot, ShareBoot,
# This must be set on the command line to one of Boot,
BootLib,
ShareBoot,
# ArmBoot, ResetBoot. Case is important. INSTDIR must also set, as usual.
APP
=
!
${COMPONENT}
RDIR
=
${COMPONENT}
LDIR
=
${RDIR}
.
${LOCALE}
INST
DIR
=
${INSTDIR}
.
${APP}
RESOURCES
=
${INST
DIR
}
.Resources
INST
APP
=
${INSTDIR}
.
${APP}
RESOURCES
=
${INST
APP
}
.Resources
VPATH
=
@ <Support
$Dir
>
...
...
@@ -116,86 +122,95 @@ install: set_access install_${COMPONENT}
@
echo
${COMPONENT}
: installed
(
Disc
)
install_Boot
:
install_Configure install_appfiles ${FILES}
${MKDIR}
${INSTDIR}
.Choices
${CP}
RO360Hook.Boot
${INSTDIR}
.Choices.Boot
${CPFLAGS}
${CP}
RO360Hook.Desktop
${INSTDIR}
.Choices.Boot.Desktop
${CPFLAGS}
${CP}
RO360Hook.PreDesktop
${INSTDIR}
.Choices.Boot.PreDesktop
${CPFLAGS}
${CP}
Utils
${INSTDIR}
.Utils
${CPFLAGS}
${MKDIR}
${INSTDIR}
.Library
${MKDIR}
${INSTAPP}
.Choices
${CP}
RO360Hook.Boot
${INSTAPP}
.Choices.Boot
${CPFLAGS}
${CP}
RO360Hook.Desktop
${INSTAPP}
.Choices.Boot.Desktop
${CPFLAGS}
${CP}
RO360Hook.PreDesktop
${INSTAPP}
.Choices.Boot.PreDesktop
${CPFLAGS}
${CP}
^.InetSetup.Resources.<Locale>.Blanks.SetUpNet
${INSTAPP}
.Choices.Boot.PreDesk.SetupNet
${CPFLAGS}
${CP}
Utils
${INSTAPP}
.Utils
${CPFLAGS}
${MKDIR}
${INSTAPP}
.Library
@
Echo Deleting superfluous files ...
${WIPE}
${INST
DIR
}
.Utils.NetBye
${WFLAGS}
${WIPE}
${INST
APP
}
.Utils.NetBye
${WFLAGS}
install_ArmBoot
:
install_Configure install_appfiles ${FILES}
${MKDIR}
${INSTDIR}
.Choices
${CP}
RO360Hook.Boot
${INSTDIR}
.Choices.Boot
${CPFLAGS}
${CP}
RO360Hook.DesktopBye
${INSTDIR}
.Choices.Boot.Desktop
${CPFLAGS}
${CP}
RO360Hook.PreDesktop
${INSTDIR}
.Choices.Boot.PreDesktop
${CPFLAGS}
${CP}
Library
${INSTDIR}
.Library
${CPFLAGS}
${CP}
Utils
${INSTDIR}
.Utils
${CPFLAGS}
${MKDIR}
${INSTAPP}
.Choices
${CP}
RO360Hook.Boot
${INSTAPP}
.Choices.Boot
${CPFLAGS}
${CP}
RO360Hook.DesktopBye
${INSTAPP}
.Choices.Boot.Desktop
${CPFLAGS}
${CP}
RO360Hook.PreDesktop
${INSTAPP}
.Choices.Boot.PreDesktop
${CPFLAGS}
${MKDIR}
${INSTAPP}
.Choices.Boot.PreDesk.SetupNet
${CP}
RO360Hook.ArmNet
${INSTAPP}
.Choices.Boot.PreDesk.SetupNet.!Run
${CPFLAGS}
${CP}
Library
${INSTAPP}
.Library
${CPFLAGS}
${CP}
Utils
${INSTAPP}
.Utils
${CPFLAGS}
| RO2 machines need unmodsqz
'd VProtect
${CP}
rm.VProtect
${INST
DIR
}
.Utils.VProtect
${CPFLAGS}
${MKDIR}
${INST
DIR
}
.Utils.RO200Hook
${CP}
RO200Hook.Boot
${INST
DIR
}
.Utils.RO200Hook.Boot
${CPFLAGS}
${CP}
RO200Hook.DesktopBye
${INST
DIR
}
.Utils.RO200Hook.Boot.Desktop
${CPFLAGS}
${CP}
RO200Hook.PreDesktop
${INST
DIR
}
.Utils.RO200Hook.Boot.PreDesktop
${CPFLAGS}
${MKDIR}
${INST
DIR
}
.Utils.RO310Hook
${CP}
RO310Hook.Boot
${INST
DIR
}
.Utils.RO310Hook.Boot
${CPFLAGS}
${CP}
RO310Hook.DesktopBye
${INST
DIR
}
.Utils.RO310Hook.Boot.Desktop
${CPFLAGS}
${CP}
RO310Hook.PreDesktop
${INST
DIR
}
.Utils.RO310Hook.Boot.PreDesktop
${CPFLAGS}
${MKDIR}
${INST
DIR
}
.Utils.RO350Hook
${CP}
RO350Hook.Boot
${INST
DIR
}
.Utils.RO350Hook.Boot
${CPFLAGS}
${CP}
RO350Hook.DesktopBye
${INST
DIR
}
.Utils.RO350Hook.Boot.Desktop
${CPFLAGS}
${CP}
RO350Hook.PreDesktop
${INST
DIR
}
.Utils.RO350Hook.Boot.PreDesktop
${CPFLAGS}
${CP}
rm.VProtect
${INST
APP
}
.Utils.VProtect
${CPFLAGS}
${MKDIR}
${INST
APP
}
.Utils.RO200Hook
${CP}
RO200Hook.Boot
${INST
APP
}
.Utils.RO200Hook.Boot
${CPFLAGS}
${CP}
RO200Hook.DesktopBye
${INST
APP
}
.Utils.RO200Hook.Boot.Desktop
${CPFLAGS}
${CP}
RO200Hook.PreDesktop
${INST
APP
}
.Utils.RO200Hook.Boot.PreDesktop
${CPFLAGS}
${MKDIR}
${INST
APP
}
.Utils.RO310Hook
${CP}
RO310Hook.Boot
${INST
APP
}
.Utils.RO310Hook.Boot
${CPFLAGS}
${CP}
RO310Hook.DesktopBye
${INST
APP
}
.Utils.RO310Hook.Boot.Desktop
${CPFLAGS}
${CP}
RO310Hook.PreDesktop
${INST
APP
}
.Utils.RO310Hook.Boot.PreDesktop
${CPFLAGS}
${MKDIR}
${INST
APP
}
.Utils.RO350Hook
${CP}
RO350Hook.Boot
${INST
APP
}
.Utils.RO350Hook.Boot
${CPFLAGS}
${CP}
RO350Hook.DesktopBye
${INST
APP
}
.Utils.RO350Hook.Boot.Desktop
${CPFLAGS}
${CP}
RO350Hook.PreDesktop
${INST
APP
}
.Utils.RO350Hook.Boot.PreDesktop
${CPFLAGS}
@
Echo Deleting superfluous files ...
${WIPE}
${INST
DIR}
.Choices.Boot.PreDesk.SetUpNet
${WFLAGS}
${WIPE}
${INST
APP}
.Choices.Boot.Tasks.~CDReinit
${WFLAGS}
install_ShareBoot
:
install_Configure install_appfiles ${FILES}
${MKDIR}
${INSTDIR}
.Choices
${CP}
RO360Hook.Boot
${INSTDIR}
.Choices.Boot
${CPFLAGS}
${CP}
RO360Hook.Desktop
${INSTDIR}
.Choices.Boot.Desktop
${CPFLAGS}
${CP}
RO360Hook.PreDesktop
${INSTDIR}
.Choices.Boot.PreDesktop
${CPFLAGS}
${CP}
Library
${INSTDIR}
.Library
${CPFLAGS}
${CP}
Utils
${INSTDIR}
.Utils
${CPFLAGS}
${MKDIR}
${INSTDIR}
.Utils.RO310Hook
${CP}
RO310Hook.Boot
${INSTDIR}
.Utils.RO310Hook.Boot
${CPFLAGS}
${CP}
RO310Hook.Desktop
${INSTDIR}
.Utils.RO310Hook.Boot.Desktop
${CPFLAGS}
${CP}
RO310Hook.PreDesktop
${INSTDIR}
.Utils.RO310Hook.Boot.PreDesktop
${CPFLAGS}
${MKDIR}
${INSTDIR}
.Utils.RO350Hook
${CP}
RO350Hook.Boot
${INSTDIR}
.Utils.RO350Hook.Boot
${CPFLAGS}
${CP}
RO350Hook.Desktop
${INSTDIR}
.Utils.RO350Hook.Boot.Desktop
${CPFLAGS}
${CP}
RO350Hook.PreDesktop
${INSTDIR}
.Utils.RO350Hook.Boot.PreDesktop
${CPFLAGS}
${MKDIR}
${INSTAPP}
.Choices
${CP}
RO360Hook.Boot
${INSTAPP}
.Choices.Boot
${CPFLAGS}
${CP}
RO360Hook.Desktop
${INSTAPP}
.Choices.Boot.Desktop
${CPFLAGS}
${CP}
RO360Hook.PreDesktop
${INSTAPP}
.Choices.Boot.PreDesktop
${CPFLAGS}
${MKDIR}
${INSTAPP}
.Choices.Boot.PreDesk.SetupNet
${CP}
RO360Hook.ShareNet
${INSTAPP}
.Choices.Boot.PreDesk.SetupNet.!Run
${CPFLAGS}
${CP}
Library
${INSTAPP}
.Library
${CPFLAGS}
${CP}
Utils
${INSTAPP}
.Utils
${CPFLAGS}
${MKDIR}
${INSTAPP}
.Utils.RO310Hook
${CP}
RO310Hook.Boot
${INSTAPP}
.Utils.RO310Hook.Boot
${CPFLAGS}
${CP}
RO310Hook.Desktop
${INSTAPP}
.Utils.RO310Hook.Boot.Desktop
${CPFLAGS}
${CP}
RO310Hook.PreDesktop
${INSTAPP}
.Utils.RO310Hook.Boot.PreDesktop
${CPFLAGS}
${MKDIR}
${INSTAPP}
.Utils.RO350Hook
${CP}
RO350Hook.Boot
${INSTAPP}
.Utils.RO350Hook.Boot
${CPFLAGS}
${CP}
RO350Hook.Desktop
${INSTAPP}
.Utils.RO350Hook.Boot.Desktop
${CPFLAGS}
${CP}
RO350Hook.PreDesktop
${INSTAPP}
.Utils.RO350Hook.Boot.PreDesktop
${CPFLAGS}
@
Echo Deleting superfluous files ...
${WIPE}
${INST
DIR}
.Choices.Boot.PreDesk.SetUpNet
${WFLAGS}
${WIPE}
${INST
DIR
}
.Utils.NetBye
${WFLAGS}
${WIPE}
${INST
APP}
.Choices.Boot.Tasks.~CDReinit
${WFLAGS}
${WIPE}
${INST
APP
}
.Utils.NetBye
${WFLAGS}
install_ResetBoot
:
${MKDIR}
${INSTDIR}
${CP}
${RDIR}
.!Help
${INSTDIR}
.!Help
${CPFLAGS}
${ATTR}
-ol
+ow
${INSTDIR}
.!HelpText
Kitten Version
${LDIR}
.!HelpText
>
${INSTDIR}
.!HelpText
${CP}
${LDIR}
.!Run
${INSTDIR}
.!Run
${CPFLAGS}
${CP}
${RDIR}
.!RunImage
${INSTDIR}
.!RunImage
${CPFLAGS}
${CP}
${LDIR}
.!Sprites
${INSTDIR}
.!Sprites
${CPFLAGS}
${CP}
${LDIR}
.!Sprites22
${INSTDIR}
.!Sprites22
${CPFLAGS}
${CP}
${LDIR}
.Messages
${INSTDIR}
.Messages
${CPFLAGS}
${MKDIR}
${INSTDIR}
.Choices
${CP}
RO360Hook.Boot
${INSTDIR}
.Choices.Boot
${CPFLAGS}
${CP}
RO360Hook.Desktop
${INSTDIR}
.Choices.Boot.Desktop
${CPFLAGS}
${CP}
RO360Hook.PreDesktop
${INSTDIR}
.Choices.Boot.PreDesktop
${CPFLAGS}
${MKDIR}
${INSTAPP}
${CP}
${RDIR}
.!Help
${INSTAPP}
.!Help
${CPFLAGS}
${ATTR}
-ol
+ow
${INSTAPP}
.!HelpText
#Just in case it's already there
Kitten Version
${LDIR}
.!HelpText
>
${INSTAPP}
.!HelpText
${CP}
${LDIR}
.!Run
${INSTAPP}
.!Run
${CPFLAGS}
${CP}
${RDIR}
.!RunImage
${INSTAPP}
.!RunImage
${CPFLAGS}
${CP}
${LDIR}
.!Sprites
${INSTAPP}
.!Sprites
${CPFLAGS}
${CP}
${LDIR}
.!Sprites22
${INSTAPP}
.!Sprites22
${CPFLAGS}
${CP}
${LDIR}
.Messages
${INSTAPP}
.Messages
${CPFLAGS}
${MKDIR}
${INSTAPP}
.Choices
${CP}
RO360Hook.Boot
${INSTAPP}
.Choices.Boot
${CPFLAGS}
${CP}
RO360Hook.Desktop
${INSTAPP}
.Choices.Boot.Desktop
${CPFLAGS}
${CP}
RO360Hook.PreDesktop
${INSTAPP}
.Choices.Boot.PreDesktop
${CPFLAGS}
${CP}
^.InetSetup.Resources.<Locale>.Blanks.SetUpNet
${INSTAPP}
.Choices.Boot.PreDesk.SetupNet
${CPFLAGS}
install_BootLib
:
${FILES}
${CP}
Library
${INSTDIR}
.!Boot.Library
${CPFLAGS}
install_appfiles
:
${MKDIR}
${INST
DIR
}
${CP}
${LDIR}
.!Boot
${INST
DIR
}
.!Boot
${CPFLAGS}
${ATTR}
-ol
+ow
${INST
DIR}
.!Help
Kitten Version
${LDIR}
.!Help
>
${INST
DIR
}
.!Help
${CP}
Source.!Run
${INST
DIR
}
.!Run
${CPFLAGS}
${CP}
${RDIR}
.!Sprites
${INST
DIR
}
.!Sprites
${CPFLAGS}
${CP}
${RDIR}
.!Sprites22
${INST
DIR
}
.!Sprites22
${CPFLAGS}
${MKDIR}
${INST
APP
}
${CP}
${LDIR}
.!Boot
${INST
APP
}
.!Boot
${CPFLAGS}
${ATTR}
-ol
+ow
${INST
APP}
.!Help
#Just in case it's already there
Kitten Version
${LDIR}
.!Help
>
${INST
APP
}
.!Help
${CP}
Source.!Run
${INST
APP
}
.!Run
${CPFLAGS}
${CP}
${RDIR}
.!Sprites
${INST
APP
}
.!Sprites
${CPFLAGS}
${CP}
${RDIR}
.!Sprites22
${INST
APP
}
.!Sprites22
${CPFLAGS}
install_Configure
:
${MKDIR}
${INST
DIR
}
${MKDIR}
${INST
DIR
}
.Choices
${MKDIR}
${INST
DIR
}
.Choices.Boot
${MKDIR}
${INST
APP
}
${MKDIR}
${INST
APP
}
.Choices
${MKDIR}
${INST
APP
}
.Choices.Boot
${MKDIR}
${RESOURCES}
${MKDIR}
${RESOURCES}
.Configure
${MKDIR}
${RESOURCES}
.Configure.Monitors
...
...
@@ -210,10 +225,14 @@ install_Configure:
${CP}
Configure.Monitors.Acorn.AKF85
${RESOURCES}
.Configure.Monitors.Acorn.AKF85
${CPFLAGS}
${CP}
Configure.Textures
${RESOURCES}
.Configure.Textures
${CPFLAGS}
install_BootVars
:
Utils.BootVars
${CP}
Utils.BootVars
${INSTDIR}
.BootVars
${CPFLAGS}
set_access
:
${ATTR}
-directories
+wr
${INSTDIR}
${ATTR}
-files
+ol +or
-ow
+wr
-ww
${INSTDIR}
${ATTR}
-files
-ol
+ow
${INSTDIR}
.Choices
${ATTR}
-directories
+wr
${INSTAPP}
${ATTR}
-files
+ol +or
-ow
+wr
${INSTAPP}
${ATTR}
-files
-ol
+ow
${INSTAPP}
.Choices
# NB leave ww access as it was!!
clean
:
${WIPE}
Library.AddApp
${WFLAGS}
...
...
@@ -221,7 +240,6 @@ clean:
${WIPE}
Utils.BootVars
${WFLAGS}
${WIPE}
Source.BootVars.o.main
${WFLAGS}
${WIPE}
Source.BootVars.o.x
${WFLAGS}
${WIPE}
Source.BootVars.o.socket
${WFLAGS}
${WIPE}
Library.Do
${WFLAGS}
${WIPE}
Library.IfThere
${WFLAGS}
${WIPE}
Library.LoadCMOS
${WFLAGS}
...
...
@@ -238,13 +256,13 @@ clean:
clean_all
:
-
Destroy Library.AddApp Library.AppSize Utils.BootVars
\
Source.BootVars.o.main Source.BootVars.o.x
Source.BootVars.o.socket
Library.Do
\
Source.BootVars.o.main Source.BootVars.o.x Library.Do
\
Library.IfThere Library.LoadCMOS Source.LoadCMOS.o.main
\
Source.LoadCMOS.o.x Library.SafeLogon Source.SafeLogon.o.main
\
ClrMonitor Source.ClrMonitor.o.main Utils.FreePool Utils.VProtect
\
RO350Hook.Boot.PreDesk.MemFix
${ATTR}
-ol
${INST
DIR
}
${WIPE}
${INST
DIR
}
${WFLAGS}
${ATTR}
-ol
${INST
APP
}
${WIPE}
${INST
APP
}
${WFLAGS}
#
# Static dependencies:
#
...
...
@@ -259,9 +277,9 @@ Library.AppSize: Source.AppSize.Source.AppSize
AAsm
${AFLAGS}
Source.AppSize.Source.AppSize Library.AppSize
-stamp
-quit
SetType Library.AppSize Utility
Utils.BootVars
:
Source.BootVars.o.main Source.BootVars.o.x
Source.BootVars.o.socket
Utils.BootVars
:
Source.BootVars.o.main Source.BootVars.o.x
${LD}
${LDFLAGS}
-o
Utils.BootVars Source.BootVars.o.main Source.BootVars.o.x
\
Source.BootVars.o.socket
${OSLIB}
CLib:o.ANSILib
${OSLIB}
CLib:o.ANSILib
${SQUEEZE}
$@
Library.Do
:
Source.Do.Source.Do
...
...
@@ -281,7 +299,7 @@ Library.SafeLogon: Source.SafeLogon.o.main
${SQUEEZE}
$@
ClrMonitor
:
Source.ClrMonitor.o.main
${LD}
${LDFLAGS}
-o
$@
Source.ClrMonitor.o.main
${CLIB}
${LD}
${LDFLAGS}
-o
$@
Source.ClrMonitor.o.main
${
OSLIB}
${
CLIB}
${SQUEEZE}
$@
Utils.FreePool
:
Source.FreePool.Source.FreePool
...
...
@@ -301,14 +319,6 @@ Source.LoadCMOS.o.x: <Support$Dir>.c.x
Source.BootVars.o.x
:
<Support$Dir>.c.x
${CC}
${CFLAGS}
-ff
-o
Source.BootVars.o.x <Support
$Dir
>
.c.x
Source.BootVars.o.socket
:
<Support$Dir>.def.socket
DefMod
-l
-o
l.socket < <Support
$Dir
>
.def.socket
LibFile
-c
-o
Source.BootVars.o.socket
-via
ViaFile
Wipe l.socket ~C~FR~V
Source.BootVars.h.socket
:
<Support$Dir>.def.socket
DefMod
-h
< <Support
$Dir
>
.def.socket
>
$@
#---------------------------------------------------------------------------
# Library.AddApp: Hdr:ListOpts
# Dynamic dependencies:
Notes
View file @
9c0cc1f2
...
...
@@ -10,3 +10,7 @@
ShareBoot contains no RO{200,300}Hook since ShareFS is for RO310 or later
machines.
Library.Repeat is made from BootCmds sources and installed here.
SetupNet files now generated by SetupNet itself.
RO360Hook/Boot/Tasks/Configure,feb
View file @
9c0cc1f2
...
...
@@ -13,5 +13,5 @@
| limitations under the License.
|
/BootResources:Configure.FontChange
Backdrop -tile BootResources:Configure.Textures.T3
if "<Wimp$Font>" <> "" then
/BootResources:Configure.FontChange
ResetBoot/UK/!Run,feb
View file @
9c0cc1f2
...
...
@@ -12,8 +12,8 @@
| See the License for the specific language governing permissions and
| limitations under the License.
|
RMEnsure UtilityModule 3.
50 Error This utility requires RISC OS 3.5
0 or later
If "<Boot$Dir>"="" Then Error This utility requires RISC OS 3.
5
0 (or later) and its Boot application
RMEnsure UtilityModule 3.
70 Error This utility requires RISC OS 3.7
0 or later
If "<Boot$Dir>"="" Then Error This utility requires RISC OS 3.
7
0 (or later) and its Boot application
Set ResetBoot$Dir <Obey$Dir>
WimpSlot -min 40K -max 40K
/<ResetBoot$Dir>.!RunImage
Source/!Run,feb
View file @
9c0cc1f2
...
...
@@ -12,6 +12,26 @@
| See the License for the specific language governing permissions and
| limitations under the License.
|
RMEnsure UtilityModule 3.70 Error This !Boot structure is only suitable for RISC OS 3.70 or later
|
|(Risc PC: 5-2 cycles is 1a, 5-3 is 12, 5-4 is 0a, 5-5 is 02)
|echo ROM cycles 5-2
|memorya 3200080 1a { > null: }
|
| Copyright 1996 Acorn Computers Ltd
|
| Licensed under the Apache License, Version 2.0 (the "License");
| you may not use this file except in compliance with the License.
| You may obtain a copy of the License at
|
| http://www.apache.org/licenses/LICENSE-2.0
|
| Unless required by applicable law or agreed to in writing, software
| distributed under the License is distributed on an "AS IS" BASIS,
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
| See the License for the specific language governing permissions and
| limitations under the License.
|
WimpSlot -min 64K
Set Boot$Dir <Obey$Dir>
/<Boot$Dir>.Utils.BootVars
...
...
Source/BootVars/Makefile
View file @
9c0cc1f2
...
...
@@ -19,13 +19,11 @@ LINK = Link
LIBS
=
OSLib:o.OSLib CLib:o.ANSILib
OBJS
=
o.main o.x
o.socket
OBJS
=
o.main o.x
BootVars
:
${OBJS}
${LINK}
-output
BootVars
${OBJS}
${LIBS}
o.main
:
h.socket
#General rules
.SUFFIXES
:
.cmhg .h .c .debug .o .oSA .Resources .s .asm .i .def
.c.o
:
; ${CC} ${THROWBACK} -depend !Depend -c ${ZM} -ff -o $@ $<
...
...
Source/BootVars/c/main
View file @
9c0cc1f2
...
...
@@ -18,7 +18,6 @@
#include <swis.h>
/*From Support*/
#include "socket.h"
#include "trace.h"
#include "x.h"
...
...
@@ -30,6 +29,7 @@
#include "osbyte.h"
#include "osfscontrol.h"
#include "osmodule.h"
#include "socket.h"
#include "wimpreadsysinfo.h"
static
void
Get_Ether_DCI2
(
byte
id
[
6
])
...
...
@@ -170,27 +170,27 @@ static int Module_Version (char *module_name)
static
bits
Get_Inter
(
char
*
interface
)
{
socket_if
_
conf
conf
;
socket_if
_
req
reqs
[
8
],
*
r
,
*
end
;
{
socket_ifconf
conf
;
socket_ifreq
reqs
[
8
],
*
r
,
*
end
;
socket_s
s
;
x_exception
x
;
bits
addr
=
NONE
;
s
=
socket_creat
(
socket_
DOMAIN_INET
,
socket_TYPE
_DGRAM
,
0
);
s
=
socket_creat
(
socket_
AF_INET
,
socket_SOCK
_DGRAM
,
0
);
x_TRY
(
&
x
)
{
conf
.
u
AS
req
=
reqs
;
socket_ioctl
(
s
,
socket_
IOCTL_
SIOCGIFCONF
,
(
byte
*
)
&
conf
);
socket_ioctl
(
s
,
socket_SIOCGIFCONF
,
(
byte
*
)
&
conf
);
end
=
(
socket_if
_
req
*
)
(
conf
.
u
AS
buf
+
conf
.
len
);
end
=
(
socket_ifreq
*
)
(
conf
.
u
AS
buf
+
conf
.
len
);
for
(
r
=
reqs
;
r
<
end
;
r
++
)
{
socket_ioctl
(
s
,
socket_
IOCTL_
SIOCGIFFLAGS
,
(
byte
*
)
r
);
{
socket_ioctl
(
s
,
socket_SIOCGIFFLAGS
,
(
byte
*
)
r
);
if
((
r
->
u
AS
flags
&
(
socket_IF_LOOPBACK
|
socket_IF_BROADCAST
|
socket_IF_UP
))
==
(
socket_IF_BROADCAST
|
socket_IF_UP
)
&&
strcmp
(
r
->
name
,
interface
)
==
0
)
{
socket_ioctl
(
s
,
socket_
IOCTL_
SIOCGIFADDR
,
(
byte
*
)
r
);
addr
=
r
->
u
AS
addr
.
inet
.
addr
;
{
socket_ioctl
(
s
,
socket_SIOCGIFADDR
,
(
byte
*
)
r
);
addr
=
r
->
u
AS
sockaddr
.
sockaddr_in
.
addr
;
break
;
}
}
}
x_CATCH
(
&
x
)
...
...
@@ -225,7 +225,7 @@ int main (void)
NULL
,
&
fs
);
switch
(
fs
)
{
case
osfscontrol
_FS_NUMBER_NETFS
:
{
case
fileswitch
_FS_NUMBER_NETFS
:
{
byte
station
,
net
;
x_exception
x
;
...
...
@@ -247,7 +247,7 @@ int main (void)
}
break
;
case
osfscontrol
_FS_NUMBER_SHAREFS
:
case
fileswitch
_FS_NUMBER_SHAREFS
:
{
byte
id
[
6
]
=
{
0
/*, ...*/
};
char
addr
[
13
],
*
a
;
...
...
@@ -313,7 +313,7 @@ int main (void)
/*Don't do this more than once.*/
if
(
strchr
(
boot_dir
,
'$'
)
==
NULL
)
{
switch
(
fs
)
{
case
osfscontrol
_FS_NUMBER_NETFS
:
{
case
fileswitch
_FS_NUMBER_NETFS
:
{
char
csd
[
os_FILE_NAME_LIMIT
+
1
],
disc
[
netfs_DISC_NAME_LIMIT
+
1
];
netfs_read_env
read_env
;
...
...
@@ -382,7 +382,7 @@ int main (void)
}
break
;
case
osfscontrol
_FS_NUMBER_ADFS
:
case
fileswitch
_FS_NUMBER_ADFS
:
{
int
drive
;
os_byte
(
osbyte_READ_CMOS
,
osbyte_CONFIGURE_DRIVE
,
SKIP
,
NULL
,
...
...
@@ -393,7 +393,7 @@ int main (void)
}
break
;
case
osfscontrol
_FS_NUMBER_SCSIFS
:
case
fileswitch
_FS_NUMBER_SCSIFS
:
{
int
drive
;
os_byte
(
osbyte_READ_CMOS
,
osbyte_CONFIGURE_SCSIFS_DRIVE
,
...
...
Source/LoadCMOS/c/main
View file @
9c0cc1f2
...
...
@@ -43,7 +43,7 @@ int main (void)
x_TRY
(
&
x
)
{
os_read_args
(
"prog/a,file/a"
,
os_get_env
(
NULL
,
NULL
),
(
char
*
)
&
argl
,
sizeof
argl
,
NULL
);
sizeof
argl
);
obj_type
=
osfile_read_stamped_no_path
(
argl
.
file
,
NULL
,
NULL
,
&
size
,
NULL
,
NULL
);
...
...
@@ -87,6 +87,10 @@ int main (void)
}
x_CATCH
(
&
x
)
;
/*Do not return an error - just print it out. J R C 23rd Aug 1995*/
if
(
x_ERROR
(
&
x
)
!=
NULL
)
fprintf
(
stderr
,
"%s
\n
"
,
x_ERROR
(
&
x
)
->
errmess
);
/*was x_EXIT (&x);*/
x_EXIT
(
&
x
)
;
return
0
;
}
Utils/BootRun,feb
View file @
9c0cc1f2
...
...
@@ -15,7 +15,8 @@
FX 247 2_10101010
FX 229 1
If "<Run$Path>" = ",%." then Set Run$Path ,%.,<Boot$Dir>.Library.
If Boot$OSVersion >= 300 then RMEnsure VProtect 1.81 RMLoad Boot:Utils.VProtect
If Boot$OSVersion >= 300 then RMEnsure VProtect 2.37 RMLoad Boot:Utils.VProtect
If Boot$OSVersion >= 360 then RMEnsure AppPatcher 0.00 RMLoad Boot:Utils.PatchApp
IfThere <Boot$Dir>.MchConfig.<Boot$Unique>.!RO<Boot$OSVersion>CMOS then LoadCMOS Boot:MchConfig.<Boot$Unique>.!RO<Boot$OSVersion>CMOS
/<Boot$Dir>.Utils.SetChoices
Set Alias$BootLoad Echo %%*0|mLoad %%*0|mEcho |<11>|<23>|<8>|<5>|<6>|<0>|<0>|<0>|<0>|<0>|<0>|<11>|m
...
...
@@ -27,7 +28,7 @@ Set Alias$@LoadType_FF9 IconSprites %%*0
Set Alias$@LoadType_FFA RMLoad %%*0
Set Alias$@LoadType_FFB BASIC -quit %%*0
Set Alias$@LoadType_FFC /%%*0
If Boot$OSVersion >= 350 then WimpSlot -next
100
K
If Boot$OSVersion >= 350 then WimpSlot -next
256
K
If Boot$OSVersion >= 350 then /Boot:Utils.FreePool
/Boot:Utils.HOn
BootObey Choices:Boot.PreDesktop
...
...
Version
View file @
9c0cc1f2
Version 0.
54, 27th Mar 1995
Version 0.
64, 03 Sep 96
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment