Difference between revisions of "Screen refresh rate"

From CPCWiki - THE Amstrad CPC encyclopedia!
Jump to: navigation, search
(Created page with "It is possible to set different screen refresh rates by changing some CRTC registers. With the following lines of code you can change the refresh rate to 50Hz, 60Hz or 75Hz. ...")
 
(No difference)

Latest revision as of 18:35, 21 April 2012

It is possible to set different screen refresh rates by changing some CRTC registers. With the following lines of code you can change the refresh rate to 50Hz, 60Hz or 75Hz.

50 Hz

ld bc,&bc04
out (c),c
ld bc,&bd26
out (c),c 
ld bc,&bc05 
out (c),c 
ld bc,&bd00 
out (c),c 
ld bc,&bc07 
out (c),c 
ld bc,&bd1e 
out (c),c 

60 Hz

ld bc,&bc04 
out (c),c 
ld bc,&bd1f 
out (c),c 
ld bc,&bc05 
out (c),c 
ld bc,&bd06 
out (c),c 
ld bc,&bc07 
out (c),c 
ld bc,&bd1b 
out (c),c 

75 Hz

ld bc,&bc04 
out (c),c 
ld bc,&bd1b 
out (c),c 
ld bc,&bc05 
out (c),c 
ld bc,&bd02 
out (c),c 
ld bc,&bc07 
out (c),c 
ld bc,&bd19 
out (c),c