CDL Modules
Data Structures | Namespaces | Enumerations
crtc6845.cdl File Reference

CDL implementation of 6845 CRTC. More...

Detailed Description

CDL implementation of 6845 CRTC.

This is an implementaion of the Motorola 6845 CRTC, which was used in the BBC microcomputer for sync and video memory address generation.

Data Structures

struct  crtc6845::t_horizontal_combs
 
struct  crtc6845::t_horizontal_state
 
struct  crtc6845::t_vertical_combs
 
struct  crtc6845::t_vertical_state
 
struct  crtc6845::t_address_state
 
struct  crtc6845::t_cursor_decode
 
struct  crtc6845::t_cursor_control
 
struct  crtc6845::t_control
 

Namespaces

 crtc6845
 

Enumerations

enum  crtc6845::t_cursor_mode {
  crtc6845::cursor_mode_steady = 2b00,
  crtc6845::cursor_mode_invisible = 2b01,
  crtc6845::cursor_mode_flash_vsync_16 = 2b10,
  crtc6845::cursor_mode_flash_vsync_32 = 2b11
}
 
enum  crtc6845::t_interlace_mode {
  crtc6845::interlace_mode_normal =2b00,
  crtc6845::interlace_mode_sync =2b01,
  crtc6845::interlace_mode_sync_and_video =2b11
}
 
enum  crtc6845::t_address {
  crtc6845::addr_h_total = 0,
  crtc6845::addr_h_displayed = 1,
  crtc6845::addr_h_sync_pos = 2,
  crtc6845::addr_h_sync_width = 3,
  crtc6845::addr_v_total = 4,
  crtc6845::addr_v_total_adjust = 5,
  crtc6845::addr_v_displayed = 6,
  crtc6845::addr_v_sync_pos = 7,
  crtc6845::addr_interlace_mode = 8,
  crtc6845::addr_max_scan_line = 9,
  crtc6845::addr_cursor_start = 10,
  crtc6845::addr_cursor_end = 11,
  crtc6845::addr_start_addr_h = 12,
  crtc6845::addr_start_addr_l = 13,
  crtc6845::addr_cursor_addr_h = 14,
  crtc6845::addr_cursor_addr_l = 15,
  crtc6845::addr_lightpen_addr_h = 16,
  crtc6845::addr_lightpen_addr_l = 17
}