Documentation
¶
Overview ¶
Package timer contains implementations of timer peripherals found in the various ARM CPU packages.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type T1 ¶
type T1 struct {
// contains filtered or unexported fields
}
T1 implements a simple timer as used in the LPC2000.
An example of a game that uses T1 is Draconian. It uses it to test what spec the console is (NTSC, PAL, etc.)
Another good example is Andrew Davie's ARM powered Boulderdash. it also uses the timer to test for the console spec; and also to time the wipe that starts and ends the level. character movemement is also affected by the timer
func NewT1 ¶
func NewT1(mmap architecture.Map) *T1
Click to show internal directories.
Click to hide internal directories.