|
Atari coding BBS
Re: Another Microwire Question |
Posted by: Kalms
|
Jan,26.2012-02:54
|
On another note, it should be possible to eliminate the need of interrupt disabling when talking to the Microwire interface by shifting up the mask & data contents and having a "stop" bit at the bottom of the data word. That relies on the 'fact' that - according to Hatari source - the mask register is rotated, but the data register is shifted during transfer to the LMC1992.
Something like this:
; d0 = data
add.w d0,d0
addq.w #1,d0
move.w #$ffe,microwire_mask
move.w d0,microwire_data
.wait
tst.w microwire_data
bne.s .wait
That loop will wait until the extra "1" stop-bit has been shifted out of the data register.
But the most important thing is probably to ensure that all Microwire transfers in the program use the same strategy.
|
[All messages in this thread] [Start new thread]
Topic
|
Posted by
|
Date
|
Another Microwire Question
|
Bod/STAX
|
Jan,25.2012-21:35
|
Re: Another Microwire Question
|
Bod/STAX
|
Jan,25.2012-21:36
|
Re: Another Microwire Question
|
ggn
|
Jan,25.2012-23:38
|
Re: Another Microwire Question
|
Bod/STAX
|
Jan,26.2012-01:03
|
Re: Another Microwire Question
|
Kalms
|
Jan,26.2012-02:46
|
Re: Another Microwire Question
|
Kalms
|
Jan,26.2012-02:54
|
Re: Another Microwire Question
|
Bod/STAX
|
Jan,26.2012-12:36
|
Re: Another Microwire Question
|
ggn
|
Jan,26.2012-19:26
|
Re: Another Microwire Question
|
Sallafranque
|
Jan,27.2012-13:52
|
Re: Another Microwire Question
|
Cyprian
|
Jan,27.2012-20:20
|
Re: Another Microwire Question
|
gwem
|
Jan,30.2012-01:40
|
Re: Another Microwire Question
|
Bod/STAX
|
Feb,16.2012-14:41
|
What's the anti-troll code? That's your personal code to be able to add comments and messages on the dhs.nu site.
Don't have a code or forgot it? Fix it here.
|