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
SprExtend
Commits
d1a72781
Commit
d1a72781
authored
Apr 03, 1998
by
Richard Leggett
Browse files
Added Ursula service call table.
parent
a92c39f4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
40 additions
and
3 deletions
+40
-3
Sources/SprExtend
Sources/SprExtend
+40
-3
No files found.
Sources/SprExtend
View file @
d1a72781
...
...
@@ -466,11 +466,48 @@ $label LDM$cc.FD R13,{$reglist}$hat
MEND
;;----------------------------------------------------------------------------
;; Initialisation
;;----------------------------------------------------------------------------
; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
; Initialisation
; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
; Table of service calls we want
ASSERT Service_ModeChange > Service_Reset
ASSERT Service_ResourceFSStarted > Service_ModeChange
ServiceTable
DCD 0
DCD ServiceUrsula - Module_BaseAddr
DCD Service_Reset
[ multibuffer
DCD Service_ModeChange
]
DCD Service_ResourceFSStarted
DCD 0
DCD ServiceTable - Module_BaseAddr
; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
; Service call handler
Service
MOV r0, r0 ; Indicates there is a service call table
; Fast rejection
TEQ r1, #Service_ResourceFSStarted
[ multibuffer
TEQNE r1, #Service_ModeChange
]
TEQNE r1, #Service_Reset
MOVNES pc, lr
ServiceUrsula
[ multibuffer
TEQ r1, #Service_ModeChange
BEQ modechange
...
...
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