VOGONS


First post, by vladstamate

User metadata
Rank Oldbie
Rank
Oldbie

Hi all,

Say I have an 8bit EGA card in a 16bit system (like a 286). If I write 16bit value to EGA memory ( something like )

MOV AX, B800h
MOV DS, AX
MOV WORD PTR [0], 20h

Who is responsible for breaking the 16bit write into 2 8bit writes? The CPU is agnostic of the 8 vs16bit ISA card right? There must be some glue TTL on the motherboard that understands that right?

YouTube channel: https://www.youtube.com/channel/UC7HbC_nq8t1S9l7qGYL0mTA
Collection: http://www.digiloguemuseum.com/index.html
Emulator: https://sites.google.com/site/capex86/
Raytracer: https://sites.google.com/site/opaqueraytracer/

Reply 1 of 1, by Jepael

User metadata
Rank Oldbie
Rank
Oldbie

Yes, the card will pull IOCS16 or MEMCS16 low as an indication when 16-bit access is supported. If it does not, then the motherboard circuitry converts the 16-bit access into two 8-bit accesses.