Commit 02152fb0 authored by Neil Turton's avatar Neil Turton
Browse files

This commit was generated by cvs2git to track changes on a CVS vendor branch.

parents f42227cc 538f3d4a
| 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 5000k 5000k
Prefix <Obey$Dir>
Echo Making <Obey$Dir> ...
CDir BootApps
amu_machine -n THROWBACK=-throwback INSTDIR=BootApps COMPONENT=Boot install
amu_machine -n THROWBACK=-throwback INSTDIR=BootApps COMPONENT=ArmBoot install
amu_machine -n THROWBACK=-throwback INSTDIR=BootApps COMPONENT=ShareBoot install
| 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.
|
| SetupNet file, saved at 16:14:55 09-Jun-1995
SetEval SetupNet$AUNMsgs 1
SetEval SetupNet$Internet 1
SetEval SetupNet$AUN 1
SetEval SetupNet$Level4 1
SetEval SetupNet$Access 0
SetEval SetupNet$NFS 0
SetEval SetupNet$VT220 0
|{Preamble}
Set Alias$NetInsert /<Obey$Dir>.NetInsert %%*0
Set Alias$NetUnplug /<Obey$Dir>.NetUnplug %%*0
|{AUNMsgs+}
NetInsert AUNMsgs
|{Internet+}
NetInsert MbufManager
NetInsert EconetA
NetInsert Ether3
NetInsert Internet
|{AUN+}
NetInsert Net
NetInsert BootNet
If SetupNet$Level4 AND NOT SetupNet$NFS then Configure BootNet On else Configure BootNet Off
|{Level4+}
NetInsert Econet
NetInsert NetPrint
NetInsert NetFS
NetInsert NetUtils
NetInsert BBCEconet
NetInsert NetFiler
|{Access-}
NetUnplug Freeway
NetUnplug ShareFS
|{NFS-}
NetUnplug NFS
|{VT220-}
|{Postamble}
Unset Alias$NetInsert
Unset Alias$NetUnplug
Unset SetupNet$Access
Unset SetupNet$AUN
Unset SetupNet$AUNMsgs
Unset SetupNet$Internet
Unset SetupNet$Level4
Unset SetupNet$NFS
Unset SetupNet$VT220
| 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.
|
| > SoundDMA.!Run
RMEnsure SoundDMA 1.53 Run <Obey$Dir>.NewSound
RMEnsure SoundDMA 1.53 Error You need SoundDMA 1.53 or later
RMReInit SoundScheduler
| 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.
|
| SetupNet file, saved at 16:13:02 09-Jun-1995
SetEval SetupNet$Access 0
SetEval SetupNet$AUN 0
SetEval SetupNet$NFS 0
SetEval SetupNet$VT220 0
SetEval SetupNet$Internet 0
SetEval SetupNet$Level4 0
|{Preamble}
Set Alias$NetInsert /<Obey$Dir>.NetInsert %%*0
Set Alias$NetUnplug /<Obey$Dir>.NetUnplug %%*0
|{Access-}
NetUnplug Freeway
NetUnplug ShareFS
|{AUN-}
NetUnplug BootNet
NetUnplug Net
|{NFS-}
NetUnplug NFS
|{VT220-}
|{Internet-}
NetUnplug Internet
NetUnplug Ether3
NetUnplug EconetA
NetUnplug MbufManager
|{Level4-}
NetUnplug NetFiler
NetUnplug BBCEconet
NetUnplug NetUtils
NetUnplug NetFS
NetUnplug NetPrint
NetUnplug Econet
|{Postamble}
Unset Alias$NetInsert
Unset Alias$NetUnplug
Unset SetupNet$Access
Unset SetupNet$AUN
Unset SetupNet$AUNMsgs
Unset SetupNet$Internet
Unset SetupNet$Level4
Unset SetupNet$NFS
Unset SetupNet$VT220
| 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.
|
| SetupNet file, saved at 16:13:02 09-Jun-1995
SetEval SetupNet$Access 0
SetEval SetupNet$AUN 0
SetEval SetupNet$NFS 0
SetEval SetupNet$VT220 0
SetEval SetupNet$Internet 0
SetEval SetupNet$Level4 0
|{Preamble}
Set Alias$NetInsert /<Obey$Dir>.NetInsert %%*0
Set Alias$NetUnplug /<Obey$Dir>.NetUnplug %%*0
|{Access-}
NetUnplug Freeway
NetUnplug ShareFS
|{AUN-}
NetUnplug BootNet
NetUnplug Net
|{NFS-}
NetUnplug NFS
|{VT220-}
|{Internet-}
NetUnplug Internet
NetUnplug Ether3
NetUnplug EconetA
NetUnplug MbufManager
|{Level4-}
NetUnplug NetFiler
NetUnplug BBCEconet
NetUnplug NetUtils
NetUnplug NetFS
NetUnplug NetPrint
NetUnplug Econet
|{Postamble}
Unset Alias$NetInsert
Unset Alias$NetUnplug
Unset SetupNet$Access
Unset SetupNet$AUN
Unset SetupNet$AUNMsgs
Unset SetupNet$Internet
Unset SetupNet$Level4
Unset SetupNet$NFS
Unset SetupNet$VT220
| 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.
|
| SetupNet file, saved at 16:14:25 09-Jun-1995
SetEval SetupNet$AUNMsgs 1
SetEval SetupNet$Internet 1
SetEval SetupNet$Access 1
SetEval SetupNet$AUN 0
SetEval SetupNet$Level4 0
SetEval SetupNet$NFS 0
SetEval SetupNet$VT220 0
|{Preamble}
Set Alias$NetInsert /<Obey$Dir>.NetInsert %%*0
Set Alias$NetUnplug /<Obey$Dir>.NetUnplug %%*0
|{AUNMsgs+}
NetInsert AUNMsgs
|{Internet+}
NetInsert MbufManager
NetInsert EconetA
NetInsert Ether3
NetInsert Internet
|{Access+}
NetInsert ShareFS
NetInsert Freeway
|{AUN-}
NetUnplug BootNet
NetUnplug Net
|{Level4-}
NetUnplug NetFiler
NetUnplug BBCEconet
NetUnplug NetUtils
NetUnplug NetFS
NetUnplug NetPrint
NetUnplug Econet
|{NFS-}
NetUnplug NFS
|{VT220-}
|{Postamble}
Unset Alias$NetInsert
Unset Alias$NetUnplug
Unset SetupNet$Access
Unset SetupNet$AUN
Unset SetupNet$AUNMsgs
Unset SetupNet$Internet
Unset SetupNet$Level4
Unset SetupNet$NFS
Unset SetupNet$VT220
| 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.
|
dir <obey$dir>
AMU
# 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.
#
~CDReinit: source
aasm -quit -stamp -o ~CDReinit source
SetType ~CDReinit utility
If you update this utility, you should copy the
newly built ~CDReinit into ^.^.RO360Hook.Boot.Tasks
(this is not currently catered for by main make)
TTL CD stack reinitialiser
; Author: Christopher Partington
; Cambridge Systems Design
;
; Description
; ===========
; This utility checks to see whether CDFS, CDFSDriver and CDFSSoftATAPI are
; all running and, if so, reinitialises the CD stack. This is to sort out
; slow-starting CD-ROM drives which do not respond to ATAPI IDENTIFY when
; CDFSSoftATAPI first starts.
;
; On completion, this utility attempts to verify a single sector on ADFS
; drive 4 to get around a problem with the Conner CFS541A (it always aborts
; the first write command after an ATAPI IDENTIFY).
;
; This utility replaces two files previously contained within !Boot (obey
; file ~CDReinit and BASIC file ~Fix541). It is a reasonably direct
; translation with no attempt to improve things - e.g. it could be changed
; to verify the hard disc if and only if CDFSSoftATAPI is present.
;
; Environment
; ===========
; Acorn RISC OS 3.60
;
; Assembler
; =========
; Acorn AAsm 2.00.
;
; Change record
; =============
;
GBLS VERS
GBLS VERD
VERS SETS "2.00"
VERD SETS "06 Feb 1996"
;
; 06-Feb-96 16:29 cpartington Version 2.00
; First version to replace obey file.
;
;*end of change record*
;******************************************************************************
GET Hdr:ListOpts
GET Hdr:Macros
GET Hdr:System
GET Hdr:ModHand
GET Hdr:ADFS
;******************************************************************************
LEADR &FFFFFC00 ; utility
Start B Enter
;******************************************************************************
DCB "~CDReinit",9,"$VERS ($VERD)"
DCB 0
str_CDFS DCB "CDFS",0
str_CDFSDriver DCB "CDFSDriver",0
str_CDFSSoftATAPI DCB "CDFSSoftATAPI",0
ALIGN
;******************************************************************************
Enter ROUT
;
; Main entry point
;
; Entry:
; r0 -> command line
; r1 -> command tail with spaces stripped
; r12 -> workspace (1024 bytes)
; r13 -> stack
; r14 = return address
;
; Exit:
; r0-r5 undefined
STMFD r13!,{lr} ; and save link
; check if CDFS is running
MOV r0,#ModHandReason_LookupName
ADR r1,str_CDFS ; "CDFS"
SWI XOS_Module ; (r0,r1->r1-r5)
BVS no_reinit
; CDFS is running
; check if CDFSDriver is running
MOV r0,#ModHandReason_LookupName
ADR r1,str_CDFSDriver ; "CDFSDriver"
SWI XOS_Module ; (r0,r1->r1-r5)
BVS no_reinit
; CDFS and CDFSDriver are running
; check if CDFSSoftATAPI is running
MOV r0,#ModHandReason_LookupName
ADR r1,str_CDFSSoftATAPI ; "CDFSDriver"
SWI XOS_Module ; (r0,r1->r1-r5)
BVS no_reinit
; CDFS, CDFSDriver and CDFSSoftATAPI are all running so
; reinitialise the stack
MOV r0,#ModHandReason_ReInit
ADR r1,str_CDFSDriver
SWI XOS_Module ; (r0,r1->) ignore error
MOV r0,#ModHandReason_ReInit
ADR r1,str_CDFS
SWI XOS_Module ; (r0,r1->) ignore error
no_reinit
; now verify a sector on the hard disc (if present) to clear Conner CFS541A
; problem (first write after aborted ATAPI IDENTIFY is aborted)
MOV r1,#&40 ; verify, no escape
MOV r2,#&C00 ; boot block
ORR r2,r2,#4<<29 ; drive 4
MOV r4,#512 ; boot block size
SWI XADFS_DiscOp ; (r1-r4->r2-r4)
LDMFD r13!,{lr}
BICS pc,lr,#V_bit
;******************************************************************************
END
END
/* 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.
*/
#include "os.h"
#include "osbyte.h"
/*
* ClrMonitor now does not overwrite the file! It just sets a CMOS
* bit! J R C 16th May 1995
*/
/* swapped back to old ClrMonitor for RO 3.7, mjs 30-Aug-96 */
int main (void)
{ union {bool b; byte u [sizeof (bool)];} value;
int not_config;
not_config = osbyte2 (osbyte_READ_CMOS,
osbyte_CONFIGURE_MONITOR_NOT_CONFIGURED, SKIP);
if ((osbyte2 (osbyte_READ_CMOS, osbyte_CONFIGURE_CMOS_RESET, SKIP) &
osbyte_CONFIGURE_CMOS_RESET_MASK) != NONE)
{ osbyte (osbyte_WRITE_CMOS,
osbyte_CONFIGURE_MONITOR_NOT_CONFIGURED,
not_config | osbyte_CONFIGURE_MONITOR_NOT_CONFIGURED_MASK);
value.b = TRUE;
}
else
value.b = (not_config &
osbyte_CONFIGURE_MONITOR_NOT_CONFIGURED_MASK) != NONE;
os_set_var_val ("Boot$MonitorNotConfigured", value.u,
sizeof value.u, 0, os_VARTYPE_NUMBER, NULL);
return 0;
}
| 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.
|
| > !Run
Set ROMPatch$Dir <Obey$Dir>
WimpSlot -min 128K -max 128K
Run <ROMPatch$Dir>.UK.!RunImage
Area:ROM patches
Version:1.18 (12 May 1995)
E00:These patches can only be applied to RISC OS 3.60
E01:ROM already patched
E02:Incorrect ROM image
E03:Couldn't allocate memory for patches
Area:ROM patches
Version:1.19 (28 May 1996)
E00:These patches can only be applied to RISC OS 3.70
E01:ROM already patched
E02:Incorrect ROM image
E03:Couldn't allocate memory for patches
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment