Progress has been made on the Wizard or Wor front, I have added the sparkle circuit into the mix and it is now doing what I need it to.
for those who would like to know, it is currently using a different polynomial (so the stars will be in a different position to the real thing) since I seem to be having great trouble getting the correct one to give me anything but a sequence of FFFF (which shows no stars whatever!). Will fix that it due course.
Programming in FPGA land all the problems seem to be down to timing, everything seems to be happen too early or too late - it is easy enough to delay a signal, but quite tricky to make it happen earlier.
also, until I did this I never knew that the Z80 put additional information on the bus when you do an IN or an OUT command - the hardware actually writes to the sparkle registers by doing an IN command (that confused me for a while as well)
for those who would like to know, it is currently using a different polynomial (so the stars will be in a different position to the real thing) since I seem to be having great trouble getting the correct one to give me anything but a sequence of FFFF (which shows no stars whatever!). Will fix that it due course.
Programming in FPGA land all the problems seem to be down to timing, everything seems to be happen too early or too late - it is easy enough to delay a signal, but quite tricky to make it happen earlier.
also, until I did this I never knew that the Z80 put additional information on the bus when you do an IN or an OUT command - the hardware actually writes to the sparkle registers by doing an IN command (that confused me for a while as well)