Vic screen size

Basic and Machine Language

Moderator: Moderators

Post Reply
Progra
Vic 20 Drifter
Posts: 24
Joined: Tue Apr 08, 2008 11:12 am

Vic screen size

Post by Progra »

I have a project where I need 28 chars in a line, I think this is the max allowed by the VIC hardware. But I need to know if all these chars are visible on a TV or those at the edges will be cut off.

Thanks
Boray
Musical Smurf
Posts: 4064
Joined: Mon May 03, 2004 10:47 am

Post by Boray »

If people were to adjust their monitors, 28 is possible on a PAL vic-20:
http://www.soundclick.com/members/defau ... &id=321677

But with a more standard TV setting, I think 26 or 25 would be the maximum:
http://www.soundclick.com/members/defau ... &id=321676
http://www.soundclick.com/members/defau ... &id=321675

http://user.tninet.se/~pug510w/datormuseum/overscan.zip
PRG Starter - a VICE helper / Vic Software (Boray Gammon, SD2IEC music player, Vic Disk Menu, Tribbles, Mega Omega, How Many 8K etc.)
Progra
Vic 20 Drifter
Posts: 24
Joined: Tue Apr 08, 2008 11:12 am

Post by Progra »

Thank you so much Boray,

I think I will have to ditch the project then, I would need 28x 24 for it...
Boray
Musical Smurf
Posts: 4064
Joined: Mon May 03, 2004 10:47 am

Post by Boray »

Well, I don't know, maybe it isn't much more trouble adjusting your monitor than to plug in a ram expansion cartridge?!
PRG Starter - a VICE helper / Vic Software (Boray Gammon, SD2IEC music player, Vic Disk Menu, Tribbles, Mega Omega, How Many 8K etc.)
Boray
Musical Smurf
Posts: 4064
Joined: Mon May 03, 2004 10:47 am

Post by Boray »

Or your could make it 24x28 instead and have people tilt their monitor (or head) to the side :)
PRG Starter - a VICE helper / Vic Software (Boray Gammon, SD2IEC music player, Vic Disk Menu, Tribbles, Mega Omega, How Many 8K etc.)
Progra
Vic 20 Drifter
Posts: 24
Joined: Tue Apr 08, 2008 11:12 am

Post by Progra »

:D
RJBowman
Vic 20 Enthusiast
Posts: 199
Joined: Tue Oct 25, 2011 7:50 pm

Post by RJBowman »

You could plot 6-pixel-wide characters on a high-res screen, but it would eat a lot of memory and some CPU time.
FD22
Vic 20 Hobbyist
Posts: 148
Joined: Mon Feb 15, 2010 12:31 pm

Post by FD22 »

RJBowman wrote:You could plot 6-pixel-wide characters on a high-res screen, but it would eat a lot of memory and some CPU time.
Memory is the big issue here rather than CPU - VIC++ plots 40 4x8 characters per line on a 160x200 screen in a shade over 9,000 cycles per line (closer to 13,000 if there are inverse + underscore + strike-through attributes to be applied). So on frames where a line redraw occurs (which is not every frame, only when a line changes) it leaves roughly 50% CPU free for other stuff.

In practice, the code often uses that other 50% for updating another line, so the entire screen can be refreshed in 13 frames (or 25 if all lines need attributes applied). Details: http://vicpp.blogspot.co.uk/2012/04/in- ... ngine.html
Post Reply