retroclash-lib-0.1.2.1: Code shared across the code samples in the book "Retrocomputing with Clash"
Safe HaskellNone
LanguageHaskell2010

RetroClash.VGA

Synopsis

Documentation

data VGASync dom Source #

Constructors

VGASync 

Fields

data VGADriver dom w h Source #

Constructors

VGADriver 

Fields

data VGAOut dom r g b Source #

Constructors

VGAOut 

Fields

Instances

Instances details
type TryDomain t (VGAOut dom r g b) Source # 
Instance details

Defined in RetroClash.VGA

type TryDomain t (VGAOut dom r g b) = 'Found dom
type HasDomain dom1 (VGAOut dom2 r g b) Source # 
Instance details

Defined in RetroClash.VGA

type HasDomain dom1 (VGAOut dom2 r g b) = DomEq dom1 dom2

data VGATiming (visible :: Nat) Source #

Constructors

forall front pulse back. VGATiming 

Fields

Instances

Instances details
Show (VGATiming vis) Source # 
Instance details

Defined in RetroClash.VGA

Methods

showsPrec :: Int -> VGATiming vis -> ShowS #

show :: VGATiming vis -> String #

showList :: [VGATiming vis] -> ShowS #

data VGATimings (ps :: Nat) (w :: Nat) (h :: Nat) Source #

Instances

Instances details
Show (VGATimings ps w h) Source # 
Instance details

Defined in RetroClash.VGA

Methods

showsPrec :: Int -> VGATimings ps w h -> ShowS #

show :: VGATimings ps w h -> String #

showList :: [VGATimings ps w h] -> ShowS #

vga640x480at60 :: VGATimings (HzToPeriod 25175000) 640 480 Source #

VGA 640*480@60Hz, 25.175 MHz pixel clock

vga800x600at60 :: VGATimings (HzToPeriod 40000000) 800 600 Source #

VGA 800x600@60Hz, 40 MHz pixel clock

vga800x600at72 :: VGATimings (HzToPeriod 50000000) 800 600 Source #

VGA 800x600@72Hz, 50 MHz pixel clock

vga1024x768at60 :: VGATimings (HzToPeriod 65000000) 1024 768 Source #

VGA 1024*768@60Hz, 65 MHz pixel clock