Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 May 1999 14:41:20 -0400 (EDT)
From:      Kelly Yancey <kbyanc@alcnet.com>
To:        freebsd-hackers@freebsd.org
Subject:   modex support
Message-ID:  <Pine.BSF.4.05.9905091427370.94661-100000@kronos.alcnet.com>

next in thread | raw e-mail | index | archive | help

  I had mentioned earlier this week that I was working on adding support
for a few more "tweaked" VGA modes (320x240 was already in there), namely
320x400, 320x480, 360x200, 360x240, 360x400, and 360x480. Well, the good
news is that it was *really* easy to simply include the code in vga_isa.c
and all was dandy. However, I'de like to see this actually have a chance
is h*ll of getting into FreeBSD so I figured that since it is fairly
useless to most people (I've got some plans for it) that the best thing to
do would be to make a KLD (like vesa.ko).
  That was coming along alright...that is until I realized that by not
including the code in vga_isa.c, I no longer had access to the BIOS mode
table (mode_map[] in vga_isa.c). Actually, I'de even be content to get at
the get_mode_param() function which is also in vga_isa.c (both of which
are currently static by the way). Would anyone have any objections to my
extern'ing the get_mode_param() function? And if not, which header file
should I put the function declaration in (if any)?

  Thanks

  (By the way, I'm having trouble understanding exactly how mmap works
with the vga driver, if anyone could help shed some light on it I would
greatly appriciate it, Soren? Kazutaka? Thanks!)

 ~kbyanc@alcnet.com~
  FreeBSD - The Power To Serve - http://www.freebsd.org/



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9905091427370.94661-100000>