20 June 2019, 00:06 | #1 |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,163
|
is CIA port A bit 1 (filter) readable?
in some game I saw:
Code:
TST.B some_flag BEQ.S LAB_0598 BSET #1,CIAA_PRA BRA.S LAB_0599 LAB_0598: BCLR #1,CIAA_PRA LAB_0599: but is it possible to just toggle it ?: Code:
BCHG #1,CIAA_PRA I suppose that all (except 6 & 7 maybe) bits are readable as BSET/BCLR already read the whole byte to just change 1 bit. Is that bit readable too? |
20 June 2019, 01:20 | #2 |
Registered User
Join Date: Jan 2019
Location: Germany
Posts: 3,215
|
|
07 July 2019, 22:44 | #3 |
Moderator
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,602
|
I have assumed no, since I've seen code that saves and restore hardware registers but not the state of this bit. Interesting.
Probably some structure in audio.device or elsewhere can be used to get the last state set by some library call, though? |
08 July 2019, 08:05 | #4 |
Registered User
Join Date: Jan 2019
Location: Germany
Posts: 3,215
|
Unfortunately, operating system support for this bit is zero. There is nothing, nowhere.
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Fairlight - A brilliant 8-bit Isometric Adventure gets an Atari XL/XE port! | Neil79 | Retrogaming General Discussion | 0 | 28 December 2016 18:03 |
Wanted: Micodeal Clarity external 16 bit Sampler and MIDI port adapter | Crom | MarketPlace | 0 | 05 November 2016 13:28 |
hardfile not readable anymore | honx | support.WinUAE | 16 | 04 November 2016 12:52 |
example of a CIA timer interrupt in assembler using cia.resource | Apollo | Coders. Asm / Hardware | 3 | 05 July 2013 08:40 |
Serial Port Emulation; 9-bit mode | Borg_Number_One | support.WinUAE | 14 | 04 August 2006 18:17 |
|
|