Sponsored Content
Full Discussion: vga assembly question
Top Forums Programming vga assembly question Post 302707737 by Errigour on Saturday 29th of September 2012 06:33:09 PM
Old 09-29-2012
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 as but I like intel syntax. Also is it ok to ask a question about linux here?
 

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

Ultra 10 Creator 3D: enabling onboard VGA

Hello, I have an Ultra 10 Creator 3D working fine with a Sun monitor, but I'd like to use it with a VGA flat panel (it would be great if I could use both screens simultaneously). As I've read in a previous thread (https://www.unix.com/sun-solaris/14875-creator-3d-video-adapter.html) this box... (1 Reply)
Discussion started by: ama
1 Replies

5. UNIX for Dummies Questions & Answers

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... (5 Replies)
Discussion started by: neur0n
5 Replies

6. Programming

Why Assembly Language?

Hi guys, Assembly language is a low level language designed in 1950's, both system and application programs were written in assembly at that time. There is no question of assembly being very effecient compared to the other high level languages. But it is very cumbersome to write programs in... (9 Replies)
Discussion started by: gabam
9 Replies

7. Programming

Ok i have a small assembly question

I have this small program that runs with the flat assembler. My problem is that at the receive line function it receives the line and if there isn't a $ typed at the end of the user input the program displays a lot of strange stuff, sometimes beeps and then it seems to terminate without causing any... (13 Replies)
Discussion started by: Errigour
13 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
savetextmode(1) 						Svgalib User Manual						   savetextmode(1)

NAME
savetextmode, textmode - save or restore the complete SVGA status for textmode. SYNOPSIS
savetextmode textmode DESCRIPTION
These are simple scripts to save the SVGA register state when in textmode to the files /etc/vga/fontdata and /etc/vga/textregs ($HOME/.vga/fontdata and $HOME/.vga/textregs if directory /etc/vga is not writeable) or to restore it from these files. The actual utilities used are restorefont(1), restoretextmode(1), and restorepalette(1). The purpose of these scripts program is usually to recover from a crashed console due to an svgalib, Xfree or other program bug. You do this by being a smart guy and running savetextmode right after booting of your machine, prior to any problems. Then, in case the SVGA state is hosed and you sit in front of a blank or useless console, change VC (maybe login) to get to a shell. Or exist the currently running program with <Ctrl>-C, <Ctrl>-<Alt>-<Backspace>, or whatever applies. Once you got a shell, run textmode and it will hopefully ren- der your console useable again. To make it clear: You do all this while not seeing anything on your console screen, you enter this information blindly or after logging in from a network. Also, if the keyboard is left in raw mode, nothing can really help you as you cannot enter anything which a shell will understand. FILES
/etc/vga/fontdata or $HOME/.vga/fontdata /etc/vga/textregs or $HOME/.vga/textregs SEE ALSO
svgalib(7), vgagl(7), libvga.config(5), dumpreg(1), convfont(1), fix132x43(1), restorefont(1), restoretextmode(1), restorepalette(1), runx(1), setmclk(1), AUTHOR
This manual page was edited by Michael Weller <eowmob@exp-math.uni-essen.de>. The exact source of the referenced utility as well as of the original documentation is unknown. It is very likely that both are at least to some extent are due to Harm Hanemaayer <H.Hanemaayer@inter.nl.net>. Occasionally this might be wrong. I hereby asked to be excused by the original author and will happily accept any additions or corrections to this first version of the svgalib manual. Svgalib (>;= 1.2.11) 2 Aug 1997 savetextmode(1)
All times are GMT -4. The time now is 09:42 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy