Sponsored Content
Top Forums UNIX for Dummies Questions & Answers need help changing the vga mode Post 302492256 by neur0n on Sunday 30th of January 2011 06:56:45 PM
Old 01-30-2011
need help changing the vga mode

hello all,
I am trying to interface the VGA, however, it appears to be in text mode. I want to get it into mode 13h (320x240) but I can't seem to achieve this I looked at here to see which registers I need to set but I've for some reason I cant get it to work. Are these all the registers I need to set and are the values correct?

Last edited by neur0n; 02-03-2011 at 07:20 PM..
 

10 More Discussions You Might Find Interesting

1. Solaris

VGA to 13W UPA graphics

Hello, I have a Sun Ultra2 with a 13W type Creator Graphics card. My old Sun monitor has failed. Is the an adaptor or cable that I could find which will allow me to use a VGA type monitor? If so who sells them? Thanks, Jim (2 Replies)
Discussion started by: stocksj
2 Replies

2. UNIX Desktop Questions & Answers

Vga Installation

what is the procedure of installing a vga on the unix desktop? i have a dell machine optiplex gx 520 and it doesnt pick the vga i tryed other vga s but graphics are so poor? pls help. (2 Replies)
Discussion started by: Linus Aloo
2 Replies

3. Solaris

Ultra 10 -> VGA Monitor Help

I have a vga card in my Ultra 10. How can I activate it in my Ultra 10 box which is currently still running off the Sun CRT Monitor port? (2 Replies)
Discussion started by: revzalot
2 Replies

4. Solaris

changing time in cluster mode sun solaris

Howdy experts, I am using two Sun-Fire-T200 which is in Cluster mode (sun cluster 3.1). Also Oracle RAC is running on those. A daylight saving i need to apply in both servers. I am not using any ntp server. I just plan to change the date with simple date command. Change date in 1st node.... (3 Replies)
Discussion started by: thepurple
3 Replies

5. UNIX for Dummies Questions & Answers

changing mode of files in subdirectories

Hi I actually need to change the mode to 777 in the current directory as well as subdirectories how to achieve that. I have /usr/sol/home/workfold as the main directory there are many directies and files in the workfold directory . I need to chmod 777 to all the directories and files under... (2 Replies)
Discussion started by: ssuresh1999
2 Replies

6. Programming

vga assembly question

Im trying to make a vga program for linux Im wondering if anyone knows of a simple document on the subject or if someone could show me some basics. What system calls should I use what parameters should I give them. How do I draw a line of pixels green after in vga mode. I prefer nasm but I can use... (2 Replies)
Discussion started by: Errigour
2 Replies

7. Linux

UNIX - FTP changing the mode while transfering the files

Hi, I have to transfer my files using FTP. Few files are in Zipped format (.Z) and few are in .PX format . For zipped files, we need to change the mode to binary while transferring the files whereas for the px files the mode should be ascii. Eg: sample1.z sample2.z sample3.z sample.px ... (2 Replies)
Discussion started by: vidlaks
2 Replies

8. AIX

No VGA card and I need to know server IP

Dear All, I have Power7 server, and I want to know its IP address. The server have no VGA card, only serial port. Kindly tell me how to know its IP using serial cable? Thanks a lot (5 Replies)
Discussion started by: Mohannad
5 Replies

9. Linux

Vga passtrough with only one monitor,is possible?

I have one monitor,two vga cards,one is nvidia(host) the other ati rs450(guest),I use this script for use a vm windows with a native gpu(the ati rs450) I see this video and seems to be possible using only one monitor,but I don't understand how to do The video QEMU VGA passthrough without a... (0 Replies)
Discussion started by: Linusolaradm1
0 Replies

10. Hardware

VGA distributor hardware detection

Hi, I am trying to find the monitor information attach to my system. To get the detail I have decoded the information available in edid file using edid-decode utility. The file is available at /sys/devices/pci0000:00/0000:00:01.0/drm/card0/card0-VGA-1/edid After decoding edid file I get... (4 Replies)
Discussion started by: diehard
4 Replies
VGA(3)							     Library Functions Manual							    VGA(3)

NAME
vga - VGA controller device SYNOPSIS
bind #v /dev /dev/vgactl /dev/vgaiob /dev/vgaiow /dev/vgaiol DESCRIPTION
The VGA device allows configuration of a graphics controller on a PC. Vgactl allows control over higher-level settings such as display height, width, depth, controller and hardware-cursor type. Vgaiob, vgaiow and vgaiol allow control over individual 8-bit, 16-bit and 32-bit x86 I/O-ports respectively, such as those used to implement configuration and setup registers on a VGA controller card. These func- tions are normally carried out by vga(8). Writes to vgactl are of the form `attribute value'. Valid attributes are size value is 'XxYxZ' , where X, Y and Z are numbers that tell the kernel the width and height of the screen in pixels and the number of bits per pixel. type tells the kernel which type of controller is being used, mainly to enable the correct code for display-memory bank switching at res- olutions greater than 640x480x1. The names vga, clgd542x, et4000, mach32, and s3 are supported for value. Note that this list does not indicate the full set of VGA chips supported. For example, s3 includes the 86C801/5, 86C928, Vision864, and Vision964. It is the job of vga(8) to recognize which particular chip is being used and to initialize it appropriately. hwgc tells the kernel to use a particular type of hardware graphics cursor. Bt485hwgc, et4000hwgc, s3hwgc and tvp3020hwgc, are currently recognized values. A value of off reverts to using the software cursor. Reading vgactl returns the current settings, one per line. EXAMPLES
The following reverts to using the software graphics cursor echo -n 'hwgc off' >/dev/vgactl Sample code to read an x86 8-bit I/O port uchar inportb(long port) { uchar data; if(iobfd == -1) iobfd = open("#v/vgaiob", ORDWR); seek(iobfd, port, 0); if(read(iobfd, &data, sizeof(data)) != sizeof(data)) error("inportb(0x%4.4x): %r0, port); return data; } SOURCE
/sys/src/9/pc/devvga.c SEE ALSO
vga(8) BUGS
There should be some restriction on the range of valid ports. There should be support for the hardware graphics cursor on the clgd54[23]x VGA controller chips. The hardware graphics cursor on the et4000 does not work in 2x8-bit mode. VGA(3)
All times are GMT -4. The time now is 04:46 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy