User`s guide

Getting Started 2–37
Sample Session on the AlphaPC 164
SROM> em ! Read first byte of flash. If it has an
A> 86fff80000
! image with the standard ROM header, you
00000086.fff80000:5a5ac3c3 ! will see this signature.
! Enable the Real Time Clock in the SMC chipset.
SROM> dm
! Put SMC in configuration mode
A> 8580006e00
! by writing to I/O address 0x370
D> 55
! the value 0x55 twice.
SROM> dm
A> 8580006e00
D> 55
SROM> dm
A> 8580006e00
D> 20 ! Read the device ID and rev.
SROM> em
A> 8580006e20 ! Data port for SMC is at I/O address 0x371.
00000085.80006e20:00000200 ! It should contain this value.
SROM> dm
! Set device number to RTC.
A> 8580006e00
! All the configuration commands
D> 7
! that follow will apply to RTC only.
SROM> dm
A> 8580006e20
D> 0600 ! RTC.
SROM> dm
A> 8580006e00
D> 70 ! Select the interrupt register.
SROM> dm
A> 8580006e20
D> 0800 ! Configure to interrupt as IRQ8.
SROM> dm
A> 8580006e00
D> 30 ! Activate the RTC.