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
V
Video
Render
ScrBlank
Commits
e1694ad7
Commit
e1694ad7
authored
Jul 04, 1997
by
Kevin Bracey
Browse files
Spinner branch merged
parent
f6548f40
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
56 additions
and
10 deletions
+56
-10
Makefile
Makefile
+10
-2
Resources/UK/CmdHelp
Resources/UK/CmdHelp
+0
-0
Resources/UK/Messages
Resources/UK/Messages
+0
-0
Version
Version
+3
-3
s/ScrBlank
s/ScrBlank
+43
-5
No files found.
Makefile
View file @
e1694ad7
...
...
@@ -63,10 +63,18 @@ clean:
${RM}
${TARGET}
@
echo
${COMPONENT}
: cleaned
resources
:
resources
:
resources-${CMDHELP}
@
echo
${COMPONENT}
: resource files copied
resources_common
:
${MKDIR}
${RESDIR}
.ScrBlanker
${CP}
Resources.
${LOCALE}
.Messages
${RESDIR}
.ScrBlanker.Messages
${CPFLAGS}
@
echo
${COMPONENT}
: resource files copied
resources-None
:
resources_common
@
resources-
:
resources_common
print Resources.
${LOCALE}
.CmdHelp
{
>>
${RESDIR}
.ScrBlanker.Messages
}
${TARGET}
:
${SOURCE}
${AS}
${ASFLAGS}
${SOURCE}
...
...
Resources/UK/CmdHelp
0 → 100644
View file @
e1694ad7
File added
Resources/UK/Messages
View file @
e1694ad7
No preview for this file type
Version
View file @
e1694ad7
...
...
@@ -10,8 +10,8 @@
GBLS VString
GBLS Date
Version SETA 22
4
VString SETS "2.2
4
"
Date SETS "10 Jun 199
6
"
Version SETA 22
6
VString SETS "2.2
6
"
Date SETS "10 Jun 199
7
"
END
s/ScrBlank
View file @
e1694ad7
...
...
@@ -116,6 +116,7 @@ Blanked # 4 ; non-zero means blanked
Blanked_NotBlanked
*
0
Blanked_Blanked
*
1
Blanked_Standby
*
2
Blanked_External
*
3
[
Stork
OnAPortable
#
4
; Value returned by Portable_ReadFeatures (0 if not supported)
...
...
@@ -697,8 +698,21 @@ ClaimVectorsAndStuff ENTRY "R0-R3"
ADR
R1
,
EventAction
MOV
R2
,
R12
SWI
XOS_Claim
STRVS
R0
,
[
SP
]
; store the error for return
BVS
%FT15
MOV
R0
,
#
INSV
ADR
R1
,
INSVAction
MOV
R2
,
R12
SWI
XOS_Claim
BVC
%FT20
STR
R0
,
[
SP
]
; store the error for return
MOV
R0
,
#
EventV
ADR
R1
,
EventAction
MOV
R2
,
R12
SWI
XOS_Release
15
ADR
R0
,
Tick
; if claim of eventV fails, bail out
MOV
R1
,
R12
SWI
XOS_RemoveTickerEvent
...
...
@@ -747,6 +761,11 @@ Finish
BL
ReleaseWriteCV
MOV
R0
,
#
INSV
ADR
R1
,
INSVAction
MOV
R2
,
R12
SWI
XOS_Release
MOV
R0
,#
EventV
ADR
R1
,
EventAction
MOV
R2
,
R12
...
...
@@ -852,6 +871,11 @@ CancelFlash
; Flashing: if we're flashing, then this entry cancels flashing, but not
; if there is a positive number in DelayCancel.
INSVAction
TEQ
R1
,
#
0
; check for bytes going into the keyboard buffer
MOVNE
PC
,
LR
B
Action
EventAction
TEQ
R0
,
#
Event_Keyboard
TEQEQ
R1
,
#
1
; Down transitions only
...
...
@@ -870,8 +894,8 @@ Action ENTRY "R0"
LDR
R0
,
TimeOn
STR
R0
,
timer
LDR
R0
,
Blanked
TEQ
R0
,
#
Blanked_Blanked
BLE
Q
TurnScreenOn
; if so, then screen ON.
TEQ
R0
,
#
Blanked_
Not
Blanked
BL
N
E
TurnScreenOn
; if so, then screen ON.
EXIT
; Tick is called from OS_CallEvery, and is therefore effectively an interrupt
...
...
@@ -918,7 +942,7 @@ Tick ENTRY "R0-R5"
ASSERT
Blanked
=
LastMouse
+
4
ADR
R2
,
LastMouse
LDMIA
R2
,
{
R4
,
LR
}
TEQ
LR
,
#
0
TEQ
LR
,
#
Blanked_NotBlanked
BNE
offcode
; Screen is ON:-
...
...
@@ -1019,6 +1043,15 @@ TurnScreenOff ENTRY "R0-R9"
MOV
R0
,
R0
; nop, because of prefetch
Push
"R4,LR"
; push SVC_link
TEQ
R0
,
#
Blanked_Blanked
; If normal blanking then let someone else do it.
BNE
%FT00
MOV
R1
,
#
Service_ScreenBlanking
; Issue the service call.
SWI
XOS_ServiceCall
BVS
%FT10
TEQ
R1
,
#
0
; If someone has claimed it then
MOVEQ
R1
,
#
Blanked_External
; flag that someone else is doing blanking
BEQ
%FT05
; and skip our blanking bit.
00
[
LCDSupport
SWI
XPortable_Status
BVS
%FT00
...
...
@@ -1033,9 +1066,10 @@ TurnScreenOff ENTRY "R0-R9"
MOV
R0
,
#
1
; unblank
MOV
R9
,
#
PaletteV
SWI
XOS_CallAVector
BVS
%FT
0
0
BVS
%FT
1
0
LDR
R1
,
[
SP
,
#
8
]
05
STR
R1
,
Blanked
MOV
R1
,#
Service_ScreenBlanked
...
...
@@ -1050,7 +1084,7 @@ TurnScreenOff ENTRY "R0-R9"
]
SWI
XOS_AddCallBack
0
0
1
0
Pull
"R4,LR"
; pop SVC_link
TEQP
R4
,#
0
; restore previous mode
MOV
R0
,
R0
; nop, because of prefetch
...
...
@@ -1068,6 +1102,10 @@ TurnScreenOn ENTRY "R0-R9"
MOV
R0
,
R0
; nop, because of prefetch
Push
"R4,LR"
; push SVC_link
LDR
R0
,
Blanked
TEQ
R0
,
#
Blanked_External
; If someone else is doing the blanking then
BEQ
%FT00
; skip our unblanking bit.
ASSERT
paletteV_BlankScreen
=
6
MOV
R4
,
#
paletteV_BlankScreen
MOV
R0
,
#
0
; unblank
...
...
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