www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/10/01/13:00:16

Xref: news-dnh.mv.net comp.os.msdos.djgpp:2298
Path: news-dnh.mv.net!mv!news.sprintlink.net!psgrain!nntp.teleport.com!nntp.teleport.com!not-for-mail
From: jonathn AT teleport DOT com (Jonathan Nix)
Newsgroups: comp.os.msdos.djgpp
Subject: Help: Direct video/inline asm
Date: 30 Sep 1995 00:15:45 -0700
Organization: Teleport (503)220-1016
Lines: 21
Nntp-Posting-Host: kelly.teleport.com
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Dj-Gateway: from newsgroup comp.os.msdos.djgpp

	This is rather premature, sorry. I'm sure theres a way, but when I;

			char *vidmem=(char *)0xA0000000L;

        And then try to plot a pixel or somthing;

                        vidmem[y<<8+y<<6+x]=color;

	DJGPP returns a general protection fault. 

	I can't figure out how to use an inline assembly block either, I 
	can do interrupt calls, but bios is waaaay too slow.

		Any information would be much abliged, I will search the
                doc's, but I am so excited about programming in DOS for 
		both platforms.
                
	  Love as always, 
           Jonathan Nix
-- 
------------------------------------------------------------------------------

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019