'=========================================================================== ' Subject: EXTENDING SCREEN WIDTH IN PB Date: 02-21-98 (00:37) ' Author: Wiebe Zoon Code: Text, PB ' Origin: alt.lang.powerbasic Packet: FAQS.ABC '=========================================================================== Someone lately wrote he wanted to print many columns on a screen. Since Powerbasic does not have a standard function to do this, Other solutions must be found. The only way I know is to call a VESA function through interrupt &h10 here's the source : reg 1, &h4f02 reg 2, XXXX call interrupt (&h10) def seg = &hb800 poke$ 0,"H e l l o W o r l d " def seg end XXXX in this program must be substituted by one of the folowing numbers : XXXX resolution 108h 80x60 text 109h 132x25 text 10Ah 132x43 text 10Bh 132x50 text 10Ch 132x60 text there are a few minor troubles though. First of all : not all video cards allow you to use vesa modes. The second problem is that the Powerbasic compiler doesn't know we changed the resolution of the screen, so even a simple print probably won't work. Whoever asked for it : good luck.