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
HAL
HAL_OMAP4
Commits
9d1f18cb
Commit
9d1f18cb
authored
Apr 06, 2015
by
Robert Sprowson
Browse files
Build fix
Updated for Sound0HAL-1_80. Version 0.43. Tagged as 'OMAP4-0_43'
parent
3ba5ff4b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
15 deletions
+15
-15
VersionNum
VersionNum
+10
-10
s/Audio
s/Audio
+5
-5
No files found.
VersionNum
View file @
9d1f18cb
/* (0.4
2
)
/* (0.4
3
)
*
* This file is automatically maintained by srccommit, do not edit manually.
* Last processed by srccommit version: 1.1.
*
*/
#define Module_MajorVersion_CMHG 0.4
2
#define Module_MajorVersion_CMHG 0.4
3
#define Module_MinorVersion_CMHG
#define Module_Date_CMHG
17 Jan
2015
#define Module_Date_CMHG
06 Apr
2015
#define Module_MajorVersion "0.4
2
"
#define Module_Version 4
2
#define Module_MajorVersion "0.4
3
"
#define Module_Version 4
3
#define Module_MinorVersion ""
#define Module_Date "
17 Jan
2015"
#define Module_Date "
06 Apr
2015"
#define Module_ApplicationDate "
17-Jan
-15"
#define Module_ApplicationDate "
06-Apr
-15"
#define Module_ComponentName "OMAP4"
#define Module_ComponentPath "castle/RiscOS/Sources/HAL/OMAP4"
#define Module_FullVersion "0.4
2
"
#define Module_HelpVersion "0.4
2
(
17 Jan
2015)"
#define Module_LibraryVersionInfo "0:4
2
"
#define Module_FullVersion "0.4
3
"
#define Module_HelpVersion "0.4
3
(
06 Apr
2015)"
#define Module_LibraryVersionInfo "0:4
3
"
s/Audio
View file @
9d1f18cb
...
...
@@ -398,7 +398,7 @@ $lab DCD $freq*1024 ; frequency value as reported by Sound_S
numrate
SETA
numrate
+
1
MEND
ASSERT
HALDevice_
AudioRateTableSize
=
8
ASSERT
AudioRateTableSize
=
8
; short forms for mode
MODE_1920
*
(
TWL6040_LPLLENA
+
0
)
...
...
@@ -458,7 +458,7 @@ AudioTemplate
DCD
AudioSetRate
; SetRate function
; extra fields for API 2.0
DCD
0
; AudioCustomDMAEnable
DCD
HALDevice_
AudioFlag_StereoReverse
; map R-L to L-R
DCD
AudioFlag_StereoReverse
; map R-L to L-R
DCD
0
; AudioMinBuffSize
DCD
0
; AudioBuffAlign
ASSERT
(
.
-
AudioTemplate
)
=
HALDevice_Audio_Size_2
...
...
@@ -734,7 +734,7 @@ IRQHandle
; if we allow the IRQ to keep firing
STR
a2
,
[
a3
,
#
MCPDM_IRQENABLE_CLR
]
STR
a2
,
[
a3
,
#
MCPDM_IRQSTATUS
]
; clear all possible causes
MOV
a1
,
#
1
MOV
a1
,
#
AudioIRQHandle_RequestReset
MOV
pc
,
lr
|
; restart the PDM channels and go on
...
...
@@ -755,7 +755,7 @@ IRQHandle
LDRB
a1
,
AudioChannels
ORR
a2
,
a2
,
a1
; reenable channels
STR
a2
,
[
a3
,
#
MCPDM_CTRL
]
MOV
a1
,
#
0
MOV
a1
,
#
AudioIRQHandle_NOP
MOV
pc
,
lr
]
...
...
@@ -768,7 +768,7 @@ AudioSetRate
]
; Reload TWL6040_REG_LPPLLCTL with the required value
ADRL
a3
,
ratetab
ASSERT
HALDevice_
AudioRateTableSize
=
8
ASSERT
AudioRateTableSize
=
8
ADD
a3
,
a3
,
a2
,
LSL
#
3
LDRB
a4
,
[
a3
,
#
6
]
LDRB
a3
,
[
a3
,
#
5
]
...
...
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