Node 516

This node functions as a wire node from 416 to 517. It is also a frequency divider.

Source code

usb node 517 node 416 node 516
516 d/r 3/
go 00 @b dup or ! @b @b go ; 03

init down b! right a! go ; 07

4 d 8 r 2 u ether


Wait for signal from DOWN and write zero each third pulse to RIGHT.
Set registers A and B, and jump to go.


This note divides incoming 24 Mpulses/s clock train by three, resulting in 8 Mpulses/s clock used for generation of VGA synchronization signals and character clock. Clock pulses are received from node 416 as dummy words, and are converted here to zeros.