Glue Logic - Address Mapping

The following is the address mapping of the whole interface chip

Address RangeDevice
00h-1FhIDE
20h-27hLCD
28h-2FhIR Receiver
30h-37hKeys (read), Reset Generator (write)
38h-3FhRotary Encoder

IDE (write operations must always be 16 bits wide)

AddressReadWrite
00hData (16 bits)Data (16 bits)
02hErrorFeatures
04hSector CountSector Count
06hLBA-LowLBA-Low
08hLBA-MidLBA-Mid
0AhLBA-HighLBA-High
0ChDeviceDevice
0EhStatusCommand
1ChAltStatusDevControl

LCD

AddressReadWrite
20hDataData
21hStatusCommand

IR Receiver

AddressReadWrite
28hData

Keys, Reset Generator

AddressReadWrite
30hKeys 7-0Reset Mask
31hKeys 15-8

Rotary Encoder

AddressReadWrite
38hData (Counter)
© 2002-2007, Michael Wurm. – Go back to the description of the glue logic.