Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Timothy E Baldwin
PatchesPatch
Commits
bbe9d194
Commit
bbe9d194
authored
Jan 15, 2004
by
Kevin Bracey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
First Iyonix version of Patch, imported from Steve Revill.
Version 0.01. Tagged as 'Patch-0_01'
parent
26e47225
Changes
33
Hide whitespace changes
Inline
Side-by-side
Showing
33 changed files
with
40 additions
and
1287 deletions
+40
-1287
!MkClean,fd7
!MkClean,fd7
+1
-0
Library/squeeze,ff8
Library/squeeze,ff8
+0
-0
Makefile
Makefile
+12
-18
OPatches/4Mation/Jiglet,fc3
OPatches/4Mation/Jiglet,fc3
+0
-25
OPatches/4Mation/JigletNew,feb
OPatches/4Mation/JigletNew,feb
+0
-21
OPatches/4Mation/JigletOld,feb
OPatches/4Mation/JigletOld,feb
+0
-21
OPatches/4Mation/Jigsaw,fc3
OPatches/4Mation/Jigsaw,fc3
+0
-25
OPatches/4Mation/JigsawNew,feb
OPatches/4Mation/JigsawNew,feb
+0
-21
OPatches/4Mation/JigsawOld,feb
OPatches/4Mation/JigsawOld,feb
+0
-21
OPatches/4Mation/Patched
OPatches/4Mation/Patched
+0
-2
OPatches/Acorn/DDT,fc3
OPatches/Acorn/DDT,fc3
+0
-44
OPatches/Acorn/DTP,fc3
OPatches/Acorn/DTP,fc3
+0
-13
OPatches/Acorn/Internet,fc3
OPatches/Acorn/Internet,fc3
+0
-126
OPatches/Acorn/PCEm,fc3
OPatches/Acorn/PCEm,fc3
+0
-51
OPatches/Acorn/RISCiX110,fc3
OPatches/Acorn/RISCiX110,fc3
+0
-55
OPatches/Acorn/RISCiX120,fc3
OPatches/Acorn/RISCiX120,fc3
+0
-164
OPatches/DuffOnes/NewTest
OPatches/DuffOnes/NewTest
+0
-10
OPatches/DuffOnes/Test
OPatches/DuffOnes/Test
+0
-8
OPatches/DuffOnes/Test0
OPatches/DuffOnes/Test0
+0
-5
OPatches/DuffOnes/Test1
OPatches/DuffOnes/Test1
+0
-5
OPatches/DuffOnes/Test3
OPatches/DuffOnes/Test3
+0
-5
OPatches/DuffOnes/Test4
OPatches/DuffOnes/Test4
+0
-5
OPatches/DuffOnes/Test5
OPatches/DuffOnes/Test5
+0
-6
OPatches/DuffOnes/Test6
OPatches/DuffOnes/Test6
+0
-6
OPatches/DuffOnes/TestOld
OPatches/DuffOnes/TestOld
+0
-6
OPatches/PEP_Assoc/Hutchinsn,fc3
OPatches/PEP_Assoc/Hutchinsn,fc3
+0
-49
Patches/Advance/Advance,fc3
Patches/Advance/Advance,fc3
+0
-21
Patches/PocketFS/PocketFS,fc3
Patches/PocketFS/PocketFS,fc3
+0
-16
Resources/!Sprites,ff9
Resources/!Sprites,ff9
+0
-0
Resources/!Sprites22,ff9
Resources/!Sprites22,ff9
+0
-0
VersionNum
VersionNum
+7
-7
s/UnSqueezO
s/UnSqueezO
+0
-525
s/UnSqueeze
s/UnSqueeze
+20
-6
No files found.
!MkClean,fd7
View file @
bbe9d194
...
...
@@ -14,3 +14,4 @@
|
Dir <Obey$Dir>
amu_machine clean
stripdepnd Makefile
Library/squeeze,ff8
View file @
bbe9d194
No preview for this file type
Makefile
View file @
bbe9d194
...
...
@@ -22,21 +22,21 @@ COMPONENT = Patch
APP
=
!
${COMPONENT}
RDIR
=
Resources
LDIR
=
${RDIR}
.
${LOCALE}
INST
DIR
=
${INSTDIR}
.
${APP}
INST
APP
=
${INSTDIR}
.
${APP}
# Generic options:
#
AS
=
a
asm
AS
=
obj
asm
CC
=
cc
CP
=
copy
LD
=
link
MKDIR
=
cdir
MKDIR
=
do
mkdir
-p
RM
=
remove
SQUEEZE
=
squeeze
SQUISH
=
squish
WIPE
=
-wipe
AFLAGS
=
-depend
!
Depend
-stamp
-closeexec
-quit
-module
AFLAGS
=
-depend
!
Depend
${THROWBACK}
-stamp
-quit
CFLAGS
=
-c
-depend
!
Depend
-IC
:
CPFLAGS
=
~cfr~v
SQFLAGS
=
-nolist
...
...
@@ -62,8 +62,6 @@ FILES =\
Modules.UnSqueeze
\
$(LDIR)
.Messages
\
$(LDIR)
.ReadMe
\
Patches.PocketFS.PocketFS
\
Patches.Advance.Advance
\
$(LDIR)
.Templates
\
$(RDIR)
.Transforms
...
...
@@ -80,9 +78,9 @@ all: $(FILES)
@
echo
$(COMPONENT)
: all build
complete
install
:
$(FILES)
$(MKDIR)
$(INST
DIR
)
;
Access
$(INST
DIR
)
/r
Set Alias
$CPFD
$(CP)
%0.%1
$(INST
DIR
)
.%1
$(CPFLAGS)
Set Alias
$CPFDL
CPFD %
*
0|MAccess
$(INST
DIR
)
.%1 LR/r
$(MKDIR)
$(INST
APP
)
;
Access
$(INST
APP
)
/r
Set Alias
$CPFD
$(CP)
%0.%1
$(INST
APP
)
.%1
$(CPFLAGS)
Set Alias
$CPFDL
CPFD %
*
0|MAccess
$(INST
APP
)
.%1 LR/r
|
CPFDL
$(RDIR)
!
Boot
CPFDL
$(LDIR)
!
Help
...
...
@@ -91,18 +89,13 @@ install: $(FILES)
CPFDL
$(RDIR)
!
Sprites
CPFDL
$(RDIR)
!
Sprites22
CPFDL
$(RDIR)
BootStrap
$(MKDIR)
$(INST
DIR
)
.Library
;
Access
$(INST
DIR
)
.Library /r
$(MKDIR)
$(INST
APP
)
.Library
;
Access
$(INST
APP
)
.Library /r
CPFDL @ Library.squeeze
$(MKDIR)
$(INST
DIR
)
.Modules
;
Access
$(INST
DIR
)
.Modules /r
$(MKDIR)
$(INST
APP
)
.Modules
;
Access
$(INST
APP
)
.Modules /r
CPFDL @ Modules.UnSqueeze
CPFDL
$(LDIR)
Messages
|
$(MKDIR)
$(INSTDIR)
.Patches
;
Access
$(INSTDIR)
.Patches /r
|
$(MKDIR)
$(INSTDIR)
.Patches.PocketFS
;
Access
$(INSTDIR)
.Patches.PocketFS /r
CPFDL @ Patches.PocketFS.PocketFS
$(MKDIR)
$(INSTDIR)
.Patches.Advance
;
Access
$(INSTDIR)
.Patches.Advance /r
CPFDL @ Patches.Advance.Advance
$(MKDIR)
$(INSTAPP)
.Patches
;
Access
$(INSTAPP)
.Patches /r
|
CPFDL
$(LDIR)
ReadMe
CPFDL
$(LDIR)
Templates
...
...
@@ -127,7 +120,8 @@ s.TokHelpSrc: s.HelpSrc Hdr:Tokens
Tokenise Hdr:Tokens s.HelpSrc s.TokHelpSrc
Modules.UnSqueeze
:
s.UnSqueeze s.TokHelpSrc
$(AS)
$(AFLAGS)
-from
s.UnSqueeze
-to
$@
$(AS)
$(AFLAGS)
-o
o.UnSqueeze s.UnSqueeze
$(LD)
-rmf
-o
$@
o.UnSqueeze
$(RDIR).!RunImage
:
$(OBJS) $(CLIB) $(RLIB)
$(LD)
-o
$@
$(OBJS)
$(CLIB)
$(RLIB)
...
...
OPatches/4Mation/Jiglet,fc3
deleted
100644 → 0
View file @
26e47225
# Patch to allow Jiglet to work on RISC OS 3.10.
Application:!Jiglet &2000
Description:4Mation Educational Resources: Jiglet
Patch:Allows Jiglet to run on RISC OS 3.
ReplaceFile:!Jiglet.!run
OldContents:Patch:Patches.4Mation.JigletOld &FEB
NewContents:Patch:Patches.4Mation.JigletNew &FEB
CreateFile:!Jiglet.Patched
NewContents:Patch:Patches.4Mation.Patched &FFF
# Same thing but !jiglet as lower case.
Application:!jiglet &2000
Description:4Mation Educational Resources: Jiglet
Patch:Allows Jiglet to run on RISC OS 3.
ReplaceFile:!jiglet.!run
OldContents:Patch:Patches.4Mation.JigletOld &FEB
NewContents:Patch:Patches.4Mation.JigletNew &FEB
CreateFile:!jiglet.Patched
NewContents:Patch:Patches.4Mation.Patched &FFF
OPatches/4Mation/JigletNew,feb
deleted
100644 → 0
View file @
26e47225
| 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 file for JIGLET
wimpslot -min 632K -max 632k
set Jiglet$Dir <Obey$Dir>
rmensure ColourTrans 0.52 rmload <Jiglet$Dir>.colours
iconsprites <Jiglet$Dir>.!sprites
run <Jiglet$Dir>.Jiglet %*0
OPatches/4Mation/JigletOld,feb
deleted
100644 → 0
View file @
26e47225
| 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 file for JIGLET
wimpslot -min 632K -max 632k
set Jiglet$Dir <Obey$Dir>
rmload <Jiglet$Dir>.colours
iconsprites <Jiglet$Dir>.!sprites
run <Jiglet$Dir>.Jiglet %*0
OPatches/4Mation/Jigsaw,fc3
deleted
100644 → 0
View file @
26e47225
# Patch to allow Jigsaw to work on RISC OS 3.10.
Application:!Jigsaw &2000
Description:4Mation Educational Resources: Jigsaw
Patch:Allows Jigsaw to run on RISC OS 3.
ReplaceFile:!Jigsaw.!run
OldContents:Patch:Patches.4Mation.JigsawOld &FEB
NewContents:Patch:Patches.4Mation.JigsawNew &FEB
CreateFile:!Jigsaw.Patched
NewContents:Patch:Patches.4Mation.Patched &FFF
# Same thing but !jigsaw as lower case.
Application:!jigsaw &2000
Description:4Mation Educational Resources: Jigsaw
Patch:Allows Jigsaw to run on RISC OS 3.
ReplaceFile:!jigsaw.!run
OldContents:Patch:Patches.4Mation.JigsawOld &FEB
NewContents:Patch:Patches.4Mation.JigsawNew &FEB
CreateFile:!jigsaw.Patched
NewContents:Patch:Patches.4Mation.Patched &FFF
OPatches/4Mation/JigsawNew,feb
deleted
100644 → 0
View file @
26e47225
| 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 file for JIGSAW
wimpslot -min 640K -max 640k
set Jigsaw$Dir <Obey$Dir>
rmensure ColourTrans 0.52 rmload <Jigsaw$Dir>.colours
iconsprites <Jigsaw$Dir>.!sprites
run <Jigsaw$Dir>.Jigsaw %*0
OPatches/4Mation/JigsawOld,feb
deleted
100644 → 0
View file @
26e47225
| 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 file for JIGSAW
wimpslot -min 640K -max 640k
set Jigsaw$Dir <Obey$Dir>
rmload <Jigsaw$Dir>.colours
iconsprites <Jigsaw$Dir>.!sprites
run <Jigsaw$Dir>.Jigsaw
OPatches/4Mation/Patched
deleted
100644 → 0
View file @
26e47225
If this file is present, then this application has
been patched to work on RISC OS 3.
OPatches/Acorn/DDT,fc3
deleted
100644 → 0
View file @
26e47225
# Patch to allow Acorn DDT to run on RISC OS 3.50.
Application:!DDT &2000
Description:Acorn Desktop Debugging Tool
Patch:Allows Acorn DDT to run on RISC OS 3.50
File:!DDT.!Boot &FEB
Location:&20
ChangeWord:&332E3120 &362E3120
Location:&24
ChangeWord:&207C0A30 &207C0A32
Location:&4C
ChangeWord:&0A303939 &0A343939
File:!DDT.!Run &FEB
Location:&20
ChangeWord:&332E3120 &362E3120
Location:&24
ChangeWord:&207C0A30 &207C0A32
Location:&4C
ChangeWord:&0A303939 &0A343939
Location:&31C
ChangeWord:&0A30332E &0A32362E
File:!DDT.Templates &FEC
Location:&20
ChangeWord:&6566660D &00000B0D
Location:&24
ChangeWord:&7A697372 &00000B78
Location:&38
ChangeWord:&670D676F &000D676F
Location:&3C
ChangeWord:&A43D2573 &00000CDB
Location:&60
ChangeWord:&84000012 &84030012
Location:&214
ChangeWord:&2030352E &2032362E
Location:&218
ChangeWord:&2D363228 &2D303228
Location:&21C
ChangeWord:&2D727041 &2D6E614A
Location:&220
ChangeWord:&0D293139 &0D293439
OPatches/Acorn/DTP,fc3
deleted
100644 → 0
View file @
26e47225
# Patch to allow Acorn DTP to accept RISC OS 3 Draw files.
# The code modified is the default: statement which handles unknown
# draw file objects.
Application:!DTP &2000
Description:Acorn DeskTop Publisher
Patch:Allows Acorn DTP to read RISC OS 3 Draw files
File:!DTP.!RunImage &FF8
Transform:Squeeze
Location:&48364
ChangeWord:&E3A06004 &EAFFFFF4
OPatches/Acorn/Internet,fc3
deleted
100644 → 0
View file @
26e47225
# Patch to allow NFS to work in a task window
Application:!Internet &2000
Description:Acorn TCP/IP Protocol Suite
Patch:Allows NFS to work in task windows
File:!Internet.rm.Internet &FFA
Location:&1F518
VerifyWord:&E59EE03C
Location:&1F520
ChangeWord:&E92D4007 &E92D400F
ChangeWord:&E3A00007 &E24DD040
ChangeWord:&E3A01000 &E3A00007
ChangeWord:&E3A02000 &E24F1028
ChangeWord:&E3A03000 &E1A0200D
ChangeWord:&EF020040 &E1A0300D
ChangeWord:&E92D0006 &EF020040
ChangeWord:&E24F1038 &E92D000E
ChangeWord:&E1A02003 &E33FF000
ChangeWord:&E3A03000 &E3A00000
ChangeWord:&EF020040 &E3A01001
ChangeWord:&E31FF0FC &EF020006
ChangeWord:&F1A00000 &EF020016
ChangeWord:&E3A00000 &E3A00007
ChangeWord:&E3A01001 &E8BD000E
ChangeWord:&EF020006 &EF020040
ChangeWord:&EF020016 &E28DD040
ChangeWord:&F1A00000 &E8BD800F
# Note that this second patch uses space freed up by the application of
# the first patch (the new routine in the first patch is shorter). Hence
# the careful use of VerifyWord to make sure everything can only be
# applied/removed in the right order.
Patch:Allows Internet to work with ARM2as and ARM61
File:!Internet.rm.Internet &FFA
Location:&1F560
VerifyWord:&E28DD040
Location:&1F518
ChangeWord:&E59EE03C &EA000012
Location:&1F568
ChangeWord:&E3A00007 &E59EE03C
ChangeWord:&E8BD0006 &E1B0F00E
# Fixes a bug in the first patch, which didn't preserve the flags on return
# which caused a crash when RMKilling the module.
Patch:Fixes RMKill of Internet to not crash
File:!Internet.rm.Internet &FFA
Location:&1F564
ChangeWord:&E8BD800F &E8FD800F
# Patch to allow NFS to work in a task window and with ARM2as and ARM61.
Application:Internet &FFA
Description:Acorn Internet module version 1.03 (AtomWide and Nexus cards)
Patch:Allows NFS to work in task windows and with ARM2as and ARM61
File:Internet &FFA
# Change the version number and date string.
Location:&3E
ChangeString:1.03<32>(26<32>Sep<32>1991) 1.04<32>(25<32>Feb<32>1992)
# First part of the ARM2as patch - puts in a jump to the second half.
Location:&19F6C
ChangeWord:&E59EE03C &EA000012
# TaksWindow patch - fixes the setting of CallBacks.
Location:&19F74
ChangeWord:&E92D4007 &E92D400F
ChangeWord:&E3A00007 &E24DD040
ChangeWord:&E3A01000 &E3A00007
ChangeWord:&E3A02000 &E24F1028
ChangeWord:&E3A03000 &E1A0200D
ChangeWord:&EF020040 &E1A0300D
ChangeWord:&E92D0006 &EF020040
ChangeWord:&E24F1038 &E92D000E
ChangeWord:&E1A02003 &E33FF000
ChangeWord:&E3A03000 &E3A00000
ChangeWord:&EF020040 &E3A01001
ChangeWord:&E31FF0FC &EF020006
ChangeWord:&E1A00000 &EF020016
ChangeWord:&E3A00000 &E3A00007
ChangeWord:&E3A01001 &E8BD000E
ChangeWord:&EF020006 &EF020040
ChangeWord:&EF020016 &E28DD040
ChangeWord:&E1A00000 &E8BD800F
# Second half of the ARM2as patch uses space freed up by the TaskWindow
# patch. By this point the register banks have settled on ARM2as so the
# original code sequence is now OK.
ChangeWord:&E3A00007 &E59EE03C
ChangeWord:&E8BD0006 &E1B0F00E
# Fixes a bug in the first patch, which didn't preserve the flags on return
# which caused a crash when RMKilling the module.
Patch:Fixes RMKill of Internet to not crash
File:Internet &FFA
Location:&3E
ChangeString:1.04<32>(25<32>Feb<32>1992) 1.05<32>(02<32>Mar<32>1992)
Location:&19FB8
ChangeWord:&E8BD800F &E8FD800F
# Patch to prevent NFS overflowing enumerate directories buffers
Application:!NFSFiler &2000
Description:Acorn TCP/IP Protocol Suite
Patch:Prevent NFS overflowing enumerate directories buffers
File:!NFSFiler.rm.NFS &FFA
Location:&9A68
ChangeWord:&E2840003 &E2840003
ChangeWord:&E3500000 &E3C00003
ChangeWord:&D2800003 &E0404004
ChangeWord:&E1A00140 &E0466004
ChangeWord:&E1A04100 &E1A04000
# Change the version number and date string.
Location:&3C
ChangeString:1.01<32>(17<32>Aug<32>1990) 1.02<32>(05<32>Mar<32>1992)
OPatches/Acorn/PCEm,fc3
deleted
100644 → 0
View file @
26e47225
# Patches for the Acorn PC Emulator version 1.60.
# As shipped, the PC Emulator will not use a hard disk file which has
# a file type of &FC8 and is therefore a DOSFS image, as the object
# type is 3 (Image) not 1 (File). This patch fixes this problem.
# In all three cases the code being changed is:
# 059D0008 : LDREQ R0,[R13,#8]
# 028DD010 : ADDEQ R13,R13,#&10 ; =16
# 13A00000 : MOVNE R0,#0
# 128DD010 : ADDNE R13,R13,#&10 ; =16
# to:
# 13500003 : CMPNE R0,#3
# 13A00000 : MOVNE R0,#0
# 059D0008 : LDREQ R0,[R13,#8]
# 095BA800 : LDMDB R11,{R11,R13,PC}^
Application:!PCEm &2000
Description:Acorn PC Emulator
Patch:Allows !PCEm 1.60 to access DOSDisc hard disk images
File:!PCEm.!RunImage &FF8
Transform:Squeeze
Location:&1B2D0
ChangeWord:&059D0008 &13500003
ChangeWord:&028DD010 &13A00000
ChangeWord:&13A00000 &059D0008
ChangeWord:&128DD010 &E95BA800
Application:!PCEmS &2000
Description:Acorn PC Emulator (small version)
Patch:Allows !PCEmS 1.60 to access DOSDisc hard disk images
File:!PCEmS.!RunImage &FF8
Transform:Squeeze
Location:&1D25C
ChangeWord:&059D0008 &13500003
ChangeWord:&028DD010 &13A00000
ChangeWord:&13A00000 &059D0008
ChangeWord:&128DD010 &E95BA800
File:!PCEmS.!configdb &FF8
Transform:Squeeze
Location:&2CA4
ChangeWord:&059D0008 &13500003
ChangeWord:&028DD010 &13A00000
ChangeWord:&13A00000 &059D0008
ChangeWord:&128DD010 &E95BA800
OPatches/Acorn/RISCiX110,fc3
deleted
100644 → 0
View file @
26e47225
# Patch to allow RISC iX 1.1 to boot on RISC OS 3.
# The existing code in the boot modules does an OS_Byte 129 to read
# the operating system version number, and refuses to boot if it is not
# one of the versions it knows about. The code concerned is approximately:
# switch (os_version)
# {
# case &A0: /* Arthur 1.20 */
# case &A1: /* RISC OS 2.00 */
# break;
#
# default:
# panic("Unknown machine hardware");
# }
# Since RISC OS 3.00 returns &A3 for the os_version, RISC iX fails to
# boot. (&A2 is returned by RISC OS 2.01, which was only fitted to the
# A540/R260/R225 and anyway the R260 and R225 ship with RISC iX 1.2.)
# This patch modifies the default: statement to allow RISC iX 1.1 to boot
# with any RISC OS version number.
# The machine code changed is:
# ADRNE r0, "Unknown machine hardware"
# BLNE panic
# to:
# BNE continue_booting
# BLNE panic
Application:RISCiXFS &FFA
Description:!RISCiX boot application
Patch:Allows RISC iX 1.10 to boot on RISC OS 3
File:RISCiXFS &FFA
Location:&C398
ChangeWord:&128F0F09 &1A000010
VerifyWord:&1B0010C9
Application:SecureBoot &FFA
Description:RISC iX secure boot module
Patch:Allows RISC iX 1.10 to secure boot on RISC OS 3
File:SecureBoot &FFA
Location:&B644
ChangeWord:&128F0F09 &1A000010
VerifyWord:&1B0010C9
# There may be some other versions of these modules (eg. 1.13 and 1.15?).
# These versions (if they exist) may need different patches. The chances
# are that the code will be the same, but in a different location.
OPatches/Acorn/RISCiX120,fc3
deleted
100644 → 0
View file @
26e47225
# Patch to allow RISC iX 1.2 to boot on RISC OS 3.
# The existing code in the boot modules does an OS_Byte 129 to read
# the operating system version number, and uses the result to determine
# whether it is on an A540/R260/R225, or a "standard" (A400/R140 etc.)
# machine. This is a totally bogus thing to do, as RISC OS 2.01 will run
# quite happily on a "standard" machine. The code concerned is
# approximately:
# switch (os_version)
# {
# case &A0: /* Arthur 1.20 */
# case &A1: /* RISC OS 2.00 */
# hardware = STANDARD;
# break;
#
# case &A2: /* RISC OS 2.01 */
# hardware = A540;
# break;
#
# default:
# panic("Unknown machine hardware");
# }
# Since RISC OS 3.00 returns &A3 for the os_version, RISC iX fails to
# boot. The actual machine type derived has very little effect anyway,
# even though it is passed to the RISC iX kernel and used. The only effect
# of any consequence is that if it thinks it is on an A540, RISC iX will
# not look for an on board ST506 controller, and device numbers of any
# ST506 podules will be lower as a result. (If there are no podules, then
# the ST506 driver code will be thrown away and the memory it was occupying
# scavenged for other things.) If you tell RISC iX it is on a "standard"
# machine when in fact it is on an A540, it will try to access the on board
# ST506 controller, fail (because there isn't one), report an error and
# continue, with the ST506 podule device numbers being greater than they
# would previously have been. (Even if there are no ST506 podules, the
# memory used by the code will not be scavenged as RISC iX thinks it has a
# controller even though it failed.) All in all, not much of a difference.
# The only other hardware differences between the A540 and "standard"
# machines are the selectable VIDC clocks on the A540 (24 MHz, 25.175 MHz
# and 36 MHz), the extra memory (8, 12 or 16 MB), the ARM3, and the ability
# to disable the reset key on the A540. The VIDC clocks are not a problem
# as RISC iX assumes it has got them, and switches to a 200 Hz frame rate
# special screen mode. It then switches to 36 MHz clock, and if the frame
# rate changes to 300 Hz then it has got switchable VIDC clocks. If the
# frame rate does not change, then it has not got switchable clocks.
# Similarly the memory size is not a problem as the boot module finds out
# directly from the hardware how many memory pages there are in the system,
# and passes that number to the RISC iX kernel when it is started. The ARM3
# is not a problem as the RISC iX kernel tests for the presence of an ARM3
# directly itself. Finally, the reset key disable hardware is not a problem
# as RISC iX does not use it (and neither does anything else).
# So, all in all it really doesn't make much difference. The safest option
# is to tell the RISC iX kernel that it is on a "standard" machine, then
# everything will work. If you know for a fact that you are on an A540,
# then that is the better option as you won't get the warning about a
# faulty on board ST506 controller, and the memory for the ST506 driver
# code will be scavenged (unless of course you have an ST506 podule
# in your A540). Plus it is generally a Good Thing (TM) for the hardware
# you think you are running on to conincide with what you are actually
# running on.
# Two patches are available. They both modify the code in the default:
# statement, thus RISC iX will boot with any RISC OS version number.
# One patch changes the code to tell the RISC iX kernel that it
# is running on a "standard" machine. You should use this patch if you
# are using a "standard" machine or if you are using the same files
# on a mixture of machines over a network. The other patch changes the code
# to tell the RISC iX kernel that it is running on an A540. You should use
# this patch if you are using an A540, or if you are using a "standard"
# machine and you do not access the on board ST506 controller from
# RISC iX.
# In all cases, the machine code changed is:
# ADRNE r0, "Unknown machine hardware"
# BLNE panic
# to:
# BNE code_for_appropriate_hardware
# BLNE panic
Application:SecureBoot &FFA
Description:RISC iX secure boot module
Patch:Let RISC iX 1.20 secure boot on RISC OS 3 (A540/R260 version)
File:SecureBoot &FFA
Location:&B404
ChangeWord:&128F0F08 &1A000011
VerifyWord:&1B000F00
Patch:Let RISC iX 1.20 secure boot on RISC OS 3 (R140/A400 version)
File:SecureBoot &FFA
Location:&B404
ChangeWord:&128F0F08 &1A00000F
VerifyWord:&1B000F00
Application:RISCiXFS &FFA
Description:!RISCiX boot application
Patch:Let RISC iX 1.20 boot on RISC OS 3 (A540/R260 version)
File:RISCiXFS &FFA
Location:&C168
ChangeWord:&128F0F08 &1A000011
VerifyWord:&1B000F00
Patch:Let RISC iX 1.20 boot on RISC OS 3 (R140/A400 version)
File:RISCiXFS &FFA
Location:&C168