Hi all.
This question may be familiar to some of you, but I'm going to ask again because this time it should be possible!
I've been writing a program for quite some time now called Chunky Pixel Collision.
It is using big fat "pixels", that are 4x4 mode 1 pixels in size (or really 2x4 mode 0 pixels, as the game runs in mode 0).
Therefore I only need to draw the first line of each pixel, and therefore I only want to the the first line of each group of 4 lines for the whole screen.
This means that the entire screen can be drawn by writing 4K of data.
I would like the other 3 lines of each pixel to be drawn by using the CRTC to repeat raster lines, much like how the chunky bits of Batman Forever work, or the Sugarlumps demo, or Overflow's Backtro.
I've been researching it a lot over the last few weeks, and I have to admit defeat.
:'(
I just can't get it, and I'm finding my motivation to continue with the project waning.
(cue violins)
The screen drawing phase of my program is predictable and uses the same number of NOPS for each raster line.
It is just this code 50 times:
ld hl,xx
ld de,yy
call LDI80
LDI80 is 80 unrolled LDI commands, followed by RET.
Can anyone help me?
I am literally offering to pay a monetary reward to someone that can make it work correctly and efficiently, in order to achieve the highest possible frame rate. I'd also like it to work with all CRTC types, if possible.