I also expect you to discover 1 problem with the vertical lines...
Still looking for this one. The vertical line on the left appears at 16, which seems okay. The vertical line on the right edge of the screen, however, is at 661, which seems odd...
EDIT: Latest project files attached.
Ok, all I've done is turned off my snow, made the cursors yellow (so you know it's different), changed the base address in the 'sync_generator.sv' to 0, and set the register defaults to what I played with in the RS232_debugger.
I've included a 'cursor_borders.bin' in the .zip to load into the debugger so you may see the numbers.
Step #1 test if all ' raster_HV_triggers[47..0] ' do something....
Problem #1. raster_HV_triggers[1], the first horizontal line after the first vertical line seems to be dead!!!
These are the coordinates I set in the first 4 functional cursors:
raster_HV_triggers[0] = $0017 = 23 decimal. First vertical line at left most of screen. (Bad)
raster_HV_triggers[1] = DEAD
raster_HV_triggers[2] = $0295 = 661 decimal. Right most pixel on screen. (Bad)
raster_HV_triggers[3] = $0010 = 16 decimal. Top most line on screen. (The 1 good thing...)
#4 skipped as it is vertical...
raster_HV_triggers[5] = $01EE = 494 decimal. Bottom most visible line. (Bad, Error, see if you can figure out why...)
Now, don't threat, I've done this stuff for years and know where your problems are, however, enough development and tools have been doe that you should be able to figure out the solutions.
Use the .zip I sent you and see what you can figure out.
(vid_osd_generator pipe delay)Here is a photo of all 46 functional cursors, 24 vertical and 23 horizontal.