[cartridge] initialized state machine
[debug] initialized state machine
[io] cleaned it up a bit
[top] fixed z80 mem/io rd/wr assignments
[vdp] fixed line counter arithmatic and added control_rd condition