Xref: news2.mv.net comp.os.msdos.djgpp:2262 From: gaghon AT nevada DOT edu (GEORGE GAGHON) Newsgroups: comp.os.msdos.djgpp Subject: How to code Interrupts in C? Date: 30 Mar 1996 00:56:35 GMT Organization: University of Nevada System Computing Services Lines: 21 Message-ID: <4ji0s3$t4i@news.nevada.edu> NNTP-Posting-Host: unauthenticated_user AT pioneer DOT nevada DOT edu To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp I am trying to acsess Interrupt 10h (Video) to set a VESA rez. How would I do that with DJGPP? How do you pass a pointer ES:DI, then have it move to protected mode? Also, Pointers (*d). How do you access memory in different sizes. like char *s = malloc(10000) int w_stuff long l_stufftoo byte b_stuffalso w_stuff = *p <---- will this grab a word at location p l_stufftoo = *(p+2)<---- will this grab a long ? b_stuffalso = *(p+6) <--- and this will grab a byte, right? Sorry for the simple questions, but I am new to this.... vince