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
Open sidebar
RiscOS
S
Sources
FileSys
FileCore
Commits
784391d4
Commit
784391d4
authored
Jul 20, 2013
by
Robert Sprowson
Browse files
Always UseBigFlag
Conditional now set in stone. Not tagged.
parent
fbcc1f86
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
23 deletions
+0
-23
s/Commands
s/Commands
+0
-12
s/DebugOpts
s/DebugOpts
+0
-3
s/FileCore60
s/FileCore60
+0
-8
No files found.
s/Commands
View file @
784391d4
...
...
@@ -2174,20 +2174,10 @@ UpdateBadBlockList ROUT
; found end of first list - is there a second list?
[
UseBigFlag
; use BigFlag field for test
LDRB
LR
,
[
R5
,#
DiscRecord_BigMap_Flags
]
TSTS
LR
,
#
DiscRecord_BigMap_BigFlag
BNE
%FT40
|
; use size of disc for test
LDR
LR
,
[
R5
,
#
DiscRecord_BigMap_DiscSize2
]
CMPS
LR
,
#
0
BNE
%FT40
LDR
LR
,
[
R5
,
#
DiscRecord_DiscSize
]
TSTS
LR
,
#
DiscBits
BNE
%FT40
]
; no second defect list, use normal code
...
...
@@ -2275,14 +2265,12 @@ UpdateBadBlockList ROUT
; and use similar code to that above to adjust the list, then
; jump back to 37 again to checksum.
[
UseBigFlag
; for safety, check if second defect list actually present
; if not there then do nothing. (Could be unix disc)
LDRB
LR
,
[
R5
,
#
DiscRecord_BigMap_Flags
]
CLRV
; this is not an error condition
TSTS
LR
,
#
DiscRecord_BigMap_BigFlag
BEQ
%FT81
]
; first, find end of the first defect list
...
...
s/DebugOpts
View file @
784391d4
...
...
@@ -22,9 +22,6 @@ BigDisc SETL {TRUE}
GBLL
BigShare
; Look at share size in disc record
BigShare
SETL
{TRUE}
GBLL
UseBigFlag
; Look at big flag in disc record
UseBigFlag
SETL
{TRUE}
GBLL
BigFiles
; Allow files up to 4G-1 in size
BigFiles
SETL
{TRUE}
...
...
s/FileCore60
View file @
784391d4
...
...
@@ -1437,17 +1437,9 @@ DoOsFunDefectList64 ROUT
B
%BT10
15
[
UseBigFlag
LDRB
lr
,
[
r5
,
#
DiscRecord_BigMap_Flags
]
; get flag
TSTS
lr
,
#
DiscRecord_BigMap_BigFlag
BEQ
%FT25
; no second defect list
|
LDR
lr
,
[
r5
,
#
DiscRecord_BigMap_DiscSize2
]
TSTS
lr
,
lr
LDREQ
lr
,
[
r5
,
#
DiscRecord_DiscSize
]
TSTEQS
lr
,
#
DiscBits
BEQ
%FT25
; this disc does not have the 2nd defect list
]
LDRB
r11
,[
r5
,#
DiscRecord_Log2SectorSize
]
RSB
r10
,
r11
,#
32
...
...
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