Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Philippe Rimauro
PlayCity ACEpansion
Commits
a6485f20
Commit
a6485f20
authored
Aug 31, 2021
by
Philippe Rimauro
Browse files
Added missing implementation
parent
f35d486d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Z84C30.c
View file @
a6485f20
...
...
@@ -246,5 +246,13 @@ VOID CTCOut(struct CTCData *data, USHORT address, UBYTE value)
VOID
CTCIn
(
struct
CTCData
*
data
,
USHORT
address
,
UBYTE
*
value
)
{
// Todo
// Timer mode?
if
(
data
->
ctc_Channel
[
address
&
0x3
].
ctr_CountEnabled
&&
(
data
->
ctc_Channel
[
address
&
0x3
].
ctr_WaitForTimeConstraint
==
FALSE
)
&&
data
->
ctc_Channel
[
address
&
0x3
].
ctr_Enabled
)
{
*
value
=
data
->
ctc_Channel
[
address
&
0x3
].
ctr_DownCounter
;
}
else
{
*
value
=
0
;
}
}
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