160*120 is not full with screen

Designing hardware and software that uses the VS23S0X0 family of ICs as a 8-bit or SPI SRAM memory or as a Video Controller for generating Composite Video (TV-Out) or driving other kinds of displays.
Post Reply
Kaizhi Wong
User
Posts: 3
Joined: Tue 2018-10-23 8:45

160*120 is not full with screen

Post by Kaizhi Wong » Sat 2018-11-24 15:48

Hi, I am using 160*120 picture. But it is not full with screen.
IMG_4982.JPG
IMG_4982.JPG (870.04 KiB) Viewed 468 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.
viewtopic.php?f=14&t=1829

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

Thanks! :D

Kaizhi Wong
User
Posts: 3
Joined: Tue 2018-10-23 8:45

Re: 160*120 is not full with screen

Post by Kaizhi Wong » Sun 2018-11-25 10:28

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);
to

Code: Select all

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

Post Reply