From: "Richard Hasty" Newsgroups: comp.os.msdos.djgpp Subject: Re: Help: read/write from printer port Date: 11 Jan 1998 22:34:27 GMT Organization: Illuminati Online Lines: 12 Message-ID: <01bd1e81$cbad7940$3851e0ce@rhasty> References: <01bd1cc1$d4914d00$ab51e0ce AT rhasty> NNTP-Posting-Host: as2-dialup-10.wc-aus.io.com To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Thank you for your help. Do you know where I might find a list of other ports and adresses? Leon Heller wrote in article ... > > The printer port registers are I/O-mapped, not memory-mapped. The > easiest way to access them is to use the outportb(port, value) and > inportb(port) functions. > > call aswell i changed: set_palette(datafile[pal].dat); to set_palette(data[pal].dat); However i got this error: array subscript is not an integer What does this mean and what have i done wrong or missed? Please can someone show me an example of setting the pallete using compiled datafiles, thanks in advance, Regards... -- Rossa :) at Rossa AT BTinternet DOT com "People who remember quotes, just have better memories not a higher Intelligence" - Leonardo Da Vince.