Xref: news-dnh.mv.net comp.os.msdos.djgpp:3326 Path: news-dnh.mv.net!mv!news.NH.Destek.Net!news2.net99.net!agis!simtel!news.sprintlink.net!news.clark.net!not-for-mail From: fenric AT clark DOT net (Andrew McCaffrey) Newsgroups: comp.os.msdos.djgpp Subject: Sending a byte to videomem Date: 14 Nov 1995 22:14:00 GMT Organization: the beginning of all beginnings Lines: 15 Nntp-Posting-Host: clark.net To: djgpp AT sun DOT soe DOT clarkson DOT edu Dj-Gateway: from newsgroup comp.os.msdos.djgpp Okay, here's is what I want to do. I have an unsigned char global variable and want to store it the *entire* vga memory. I'm using mode 13h, so it's a 64000 byte memory buffer. I've looked at movedata and memset and both have segfaulted on me. I want to call one function that takes care of this instead of looping 64000 times farpoking the variable. Thanks for any info - this might even be a question for the faq, I'm not sure, I checked it but did not find anything enlightening. -- +------------------------Andrew McCaffrey+[fenric AT clark DOT net]------------+ |Doctor: But I don't exist in your world!|"Anybody remotely interesting | |Brigade-Leader: Then you won't feel the |is mad in one way or another."| |bullets when we shoot you. | - The Seventh Doctor | | Doctor Who - Inferno (1970) | | +----------------------------------------+------------------------------+