32
The H counter is 9 bits, and reading it returns the upper 8 bits. This is because a scanline
consists of 342 pixels, which couldn't be represented with an 8-bit counter. Each scanline
is divided up as follows:
Pixels
H counter
Description
256
00-7F
Active display
15
80-87
Right border
8
87-8B
Right blanking
26
8B-ED
Horizontal sync
2
ED-EE
Left blanking
14
EE-F5
Color burst
8
F5-F9
Left blanking
13
F9-FF
Left border
Here's a description of what these areas look like:
Active display
Where the display generated by the VDP goes
Right border
Filled with border color from VDP register $07
Right blanking
Filled with a light black color. (like display was
blanked)
Horizontal sync
Filled with a pure black color. (like display was turned
off)
Left blanking
Filled with border color from VDP register $07
Color burst
Filled with a dark brown/ orange color
Left blanking
Filled with a light black color. (like display was
blanked)
Left border
Filled with border color from VDP register $07
Currently we don't have information about where events occur within a single scanline.
These events would include the following:
- When a line interrupt is generated.
- When a frame interrupt is generated.
- When the V counter is incremented.
Interrupts
The VDP can generate an interrupt relating to two conditions; when the vertical blanking
period has started (frame interrupt), and when the line interrupt counter has expired
(line interrupt).
Содержание Franky
Страница 1: ...Instruction Manual ...