Page 1 of 1

160*120 is not full with screen

Posted: Sat 2018-11-24 15:48
by Kaizhi Wong
Hi, I am using 160*120 picture. But it is not full with screen.
IMG_4982.JPG (870.04 KiB) Viewed 3527 times
you said:
Protoline makes the basic shape of the complete video line, including sync and blank regions. Proto region is the whole line and Picture region is just the part of the line that really shows a picture on your TV.

I know I can move the location, but can I zoom in on the image and display it on the screen?

Thanks! :D

Re: 160*120 is not full with screen

Posted: Sun 2018-11-25 10:28
by Kaizhi Wong
I solved the problem by change PLLCLKS_PER_PIXEL from 4 to 8. And change index.

Code: Select all

//Set pic line indexes to point to protoline 0 and their individual picture line.
for (int i=0; i<ENDLINE-STARTLINE; i++) SetPicIndex(i + STARTLINE, PICLINE_BYTE_ADDRESS(i),0);

Code: Select all

for (int i=0; i<(ENDLINE-STARTLINE)*2; i++) SetPicIndex(i + STARTLINE, PICLINE_BYTE_ADDRESS(i/2),0);