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
HWSupport
Buffers
Commits
ac9bf3db
Commit
ac9bf3db
authored
Nov 21, 1996
by
Neil Turton
Browse files
Import from SrcFiler
parent
20b095ff
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
3 deletions
+21
-3
Version
Version
+3
-3
s/Buffers
s/Buffers
+18
-0
No files found.
Version
View file @
ac9bf3db
...
...
@@ -4,8 +4,8 @@
GBLS VString
GBLS Date
Version SETA 02
4
VString SETS "0.2
4
"
Date SETS "
31 Oct
199
4
"
Version SETA 02
5
VString SETS "0.2
5
"
Date SETS "
22 May
199
6
"
END
s/Buffers
View file @
ac9bf3db
...
...
@@ -88,6 +88,7 @@
; 03-Jun-93 0.23 SMC Added new direct call interface. InsV and RemV can still be used
; but the new interface is much faster.
;
; 22-May-96 0.25 RWB Clear buffer NotDormant flag on removal of last byte/block from buffer.
GET
Hdr:ListOpts
GET
Hdr:Macros
...
...
@@ -108,6 +109,7 @@
GBLL
debug
GBLL
stopdeath
GBLL
international
GBLL
dormant_on_last_byte
[
:LNOT:
:DEF:
standalonemessages
GBLL
standalonemessages
...
...
@@ -118,6 +120,7 @@ hostvdu SETL true
debug
SETL
false
stopdeath
SETL
true
international
SETL
true
dormant_on_last_byte
SETL
true
init
SETD
false
final
SETD
false
...
...
@@ -1725,6 +1728,11 @@ RemExByteCommon
TEQ
r7
,
r8
; if ins<>rem
BNE
%FT30
; then not empty
[
dormant_on_last_byte
BICEQ
r4
,
r4
,
#
b_NotDormant
STREQ
r4
,
[
r11
,
#
buffer_Flags
]
; then mark as dormant
]
TST
r4
,
#
b_GenerateOutputEmpty
; if buffer empty events disabled
BEQ
%FT30
; then skip
...
...
@@ -1833,6 +1841,10 @@ RemExBlockCommon
TEQ
r7
,
r8
; if ins^<>rem^ (buffer not empty)
BNE
%FT90
; then exit
[
dormant_on_last_byte
BICEQ
r4
,
r4
,
#
b_NotDormant
STREQ
r4
,
[
r11
,
#
buffer_Flags
]
; then mark as dormant
]
TST
r4
,
#
b_GenerateOutputEmpty
; if output empty events disabled
BEQ
%FT80
; then exit
...
...
@@ -2024,6 +2036,12 @@ s_PurgeBuffer ROUT ; r11 and return address already
CMP
lr
,
r5
; if space >= threshold
BLHI
SendEmptyingUpCall
; then issue UpCall
10
[
dormant_on_last_byte
BIC
r4
,
r4
,
#
b_NotDormant
STR
r4
,
[
r11
,
#
buffer_Flags
]
; then mark as dormant
]
TEQP
r6
,
#
0
; restore old IRQ state
Pull
"r4-r6,r11,pc"
...
...
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