VOGONS


First post, by superfury

User metadata
Rank l33t++
Rank
l33t++

When is this bit set? Is it set when the descriptor is read from memory during a segment register load(mov segreg,reg with the descriptor A-bit in memory being 0)? Or is this set when a write to a segment occurs(e.g. mov [mem],xxx with DS's A-bit bding 0)? Or when a read/write occurs(any access through a segment register that's cached with the bit being 0)?

Author of the UniPCemu emulator.
UniPCemu Git repository
UniPCemu for Android, Windows, PSP, Vita and Switch on itch.io

Reply 2 of 2, by superfury

User metadata
Rank l33t++
Rank
l33t++

OK. I've just implemented the setting of said bit when the descriptor is loaded from RAM(applying to all segment descriptors loaded from the GDT and LDT that have the system bit set(thus code and data segments)).

Author of the UniPCemu emulator.
UniPCemu Git repository
UniPCemu for Android, Windows, PSP, Vita and Switch on itch.io