| delorie.com/archives/browse.cgi | search |
| From: | Fokkema DOT DBRA AT delorie DOT com, 1043730 <dfokkema AT cs DOT vu DOT nl> |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | problem with far pointers |
| Date: | Wed, 29 Sep 1999 07:51:17 GMT |
| Organization: | Fac. Wiskunde & Informatica, VU, Amsterdam |
| Lines: | 16 |
| Message-ID: | <7ssgdl$pg@cs.vu.nl> |
| NNTP-Posting-Host: | galjas.cs.vu.nl |
| X-Newsreader: | TIN [version 1.2 PL2] |
| X-Poster-Key: | sha1:z+KQWJyweACehsMM5baU1YICD9s= |
| Cancel-Lock: | sha1:FZAtkzbdBx0hFOnmEKHH5PL5lTA= |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
Hi there!
I'm new to djgpp and I'm trying to port my os (it's not finished yet) to c.
Well, I have a problem. I built a selector for the video memory and want to
write to the screen using this selector. How do I tell djgpp that I want to
use that specific selector? I tried using a far pointer, but was unable to
code something like:
int far *pointer;
It gave an error message. Can someone help me with this?
Thanx in advance,
David
PS: Right now, the combination nasm/djgpp seems very much appropriate to me to
write an os.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |