* please explain to me why video/bios shadowing must be disabled to use graphics...
@ 2002-09-09 4:09 matt
2002-09-09 11:26 ` phrostie
` (2 more replies)
0 siblings, 3 replies; 20+ messages in thread
From: matt @ 2002-09-09 4:09 UTC (permalink / raw)
To: linux-msdos
Awhile back I tried getting graphics to work in dosemu on some linux
distros I was playing with at the time. Sadly, I was totally unsuccessful.
I realized after reading the docs that one had to disable video/bios
shadowing in order to use graphics. The problem is, my computer (HP8570C)
*does not* have any setting in the bios that lets you do this. So I guess
that means I can't run dosemu in a graphical mode on my computer at all eh?
What I don't quite understand is WHY do you have to disable video/bios
shadowing to get graphics working in the first place?! I tried searching
the web/usenet for information but apparently no one ever decided to write
a technical document to explain why video/bios shadowing in dosemu must be
disabled. I still think that perhaps this is some kind of quick hack that
was put into dosemu to get graphics to work. Did it have to be programmed
this way or was there another way graphic support in dosemu could've been
implemented without having to require video/bios shadowing to be disabled?
It would be great if there's another solution to get graphics working in
dosemu without having to disable video/bios shadowing. To tell you the
truth, i've been a windows user for quite awhile now (started with win3.1
and i'm now using win98se) although i've used linux/bsd/solaris/etc...
through shell accounts i've acquired over the years and from playing around
with linux distros that are configured to run on top of a dos partition.
Ultimately, I hope to make a complete transition to linux from wind0ze (I
already purchased suse linux to try out). I'm guessing i'm going to have to
go the dual boot route and keep a seperate windows partition behind to run
my dos/windows games since i've come to realize that both dosemu/wine are
still premature. If it wasn't for some of the technical problems with both
emulators (probably due to microsoft's monopoly on *stuff*), I would
quickly switch from windows to linux in a heart beat and say ados micros~1
heh :P
^ permalink raw reply [flat|nested] 20+ messages in thread* Re: please explain to me why video/bios shadowing must be disabled to use graphics... 2002-09-09 4:09 please explain to me why video/bios shadowing must be disabled to use graphics matt @ 2002-09-09 11:26 ` phrostie 2002-09-20 20:57 ` matt 2002-09-10 2:08 ` Pat [not found] ` <Pine.LNX.4.44.0209091837470.20167-100000@feather.sunbird.s ys> 2 siblings, 1 reply; 20+ messages in thread From: phrostie @ 2002-09-09 11:26 UTC (permalink / raw) To: matt; +Cc: linux-msdos i had a number of cga/vga games working in dosemu at one time. battle chess, commanderkeen, mario,,,. i have not been able to get tem running even with the same dosemu.conf files. maybe this is why. when did this start? --- matt@snip.net wrote: > Awhile back I tried getting graphics to work in dosemu on some linux > distros I was playing with at the time. Sadly, I was totally unsuccessful. > I realized after reading the docs that one had to disable video/bios > shadowing in order to use graphics. The problem is, my computer (HP8570C) > *does not* have any setting in the bios that lets you do this. So I guess > that means I can't run dosemu in a graphical mode on my computer at all eh? > What I don't quite understand is WHY do you have to disable video/bios > shadowing to get graphics working in the first place?! I tried searching > the web/usenet for information but apparently no one ever decided to write > a technical document to explain why video/bios shadowing in dosemu must be > disabled. I still think that perhaps this is some kind of quick hack that > was put into dosemu to get graphics to work. Did it have to be programmed > this way or was there another way graphic support in dosemu could've been > implemented without having to require video/bios shadowing to be disabled? > It would be great if there's another solution to get graphics working in > dosemu without having to disable video/bios shadowing. To tell you the > truth, i've been a windows user for quite awhile now (started with win3.1 > and i'm now using win98se) although i've used linux/bsd/solaris/etc... > through shell accounts i've acquired over the years and from playing around > with linux distros that are configured to run on top of a dos partition. > Ultimately, I hope to make a complete transition to linux from wind0ze (I > already purchased suse linux to try out). I'm guessing i'm going to have to > go the dual boot route and keep a seperate windows partition behind to run > my dos/windows games since i've come to realize that both dosemu/wine are > still premature. If it wasn't for some of the technical problems with both > emulators (probably due to microsoft's monopoly on *stuff*), I would > quickly switch from windows to linux in a heart beat and say ados micros~1 > heh :P > > - > To unsubscribe from this list: send the line "unsubscribe linux-msdos" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html ===== phrostie Oh I have slipped the surly bonds of DOS and danced the skies on Linux silvered wings. http://pfrostie.freeservers.com/cad-tastrafy/ http://www.freelists.org/webpage/cad-linux __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: please explain to me why video/bios shadowing must be disabled to use graphics... 2002-09-09 11:26 ` phrostie @ 2002-09-20 20:57 ` matt 2002-09-20 21:29 ` Bart Oldeman [not found] ` <Pine.GSO.4.05.10209202215490.18306-100000@sh.enm.bris.ac.u k> 0 siblings, 2 replies; 20+ messages in thread From: matt @ 2002-09-20 20:57 UTC (permalink / raw) To: linux-msdos I think it's been like this for a very very LONG time. I've been monitoring dosemu's progress using google groups and it apparently has been in production since like 93. I think the requirement for having to disable video/bios shadowing has been a part of dosemu for years if not since the beginning. I still don't have an answer to my question (or should I say questions <g>): Why was it programmed this way? Why does one have to disable video/bios shadowing? Is this due to the way linux works? Is this the only programming solution that had to be done or could there have also been another way that probably would've been a lot more challenging to implement but would've allowed people to run there graphical games without any requirements to disable video/bios shadowing in the first place? Personally, I still think this was some sort of quick hack to get graphics to work in dosemu. I hope to be proved wrong heh... At 04:26 AM 9/9/02 -0700, you wrote: >i had a number of cga/vga games working in dosemu at one time. battle chess, >commanderkeen, mario,,,. i have not been able to get tem running even >with the >same dosemu.conf files. maybe this is why. when did this start? > >--- matt@snip.net wrote: > > Awhile back I tried getting graphics to work in dosemu on some linux > > distros I was playing with at the time. Sadly, I was totally unsuccessful. > > I realized after reading the docs that one had to disable video/bios > > shadowing in order to use graphics. The problem is, my computer (HP8570C) > > *does not* have any setting in the bios that lets you do this. So I guess > > that means I can't run dosemu in a graphical mode on my computer at all > eh? > > What I don't quite understand is WHY do you have to disable video/bios > > shadowing to get graphics working in the first place?! I tried searching > > the web/usenet for information but apparently no one ever decided to write > > a technical document to explain why video/bios shadowing in dosemu must be > > disabled. I still think that perhaps this is some kind of quick hack that > > was put into dosemu to get graphics to work. Did it have to be programmed > > this way or was there another way graphic support in dosemu could've been > > implemented without having to require video/bios shadowing to be disabled? > > It would be great if there's another solution to get graphics working in > > dosemu without having to disable video/bios shadowing. To tell you the > > truth, i've been a windows user for quite awhile now (started with win3.1 > > and i'm now using win98se) although i've used linux/bsd/solaris/etc... > > through shell accounts i've acquired over the years and from playing > around > > with linux distros that are configured to run on top of a dos partition. > > Ultimately, I hope to make a complete transition to linux from wind0ze (I > > already purchased suse linux to try out). I'm guessing i'm going to > have to > > go the dual boot route and keep a seperate windows partition behind to run > > my dos/windows games since i've come to realize that both dosemu/wine are > > still premature. If it wasn't for some of the technical problems with both > > emulators (probably due to microsoft's monopoly on *stuff*), I would > > quickly switch from windows to linux in a heart beat and say ados micros~1 > > heh :P > > > > - > > To unsubscribe from this list: send the line "unsubscribe linux-msdos" in > > the body of a message to majordomo@vger.kernel.org > > More majordomo info at http://vger.kernel.org/majordomo-info.html > > >===== >phrostie >Oh I have slipped the surly bonds of DOS >and danced the skies on Linux silvered wings. >http://pfrostie.freeservers.com/cad-tastrafy/ >http://www.freelists.org/webpage/cad-linux > >__________________________________________________ >Do You Yahoo!? >Yahoo! Finance - Get real-time stock quotes >http://finance.yahoo.com >- >To unsubscribe from this list: send the line "unsubscribe linux-msdos" in >the body of a message to majordomo@vger.kernel.org >More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: please explain to me why video/bios shadowing must be disabled to use graphics... 2002-09-20 20:57 ` matt @ 2002-09-20 21:29 ` Bart Oldeman 2002-09-20 22:36 ` please explain to me why dosemu doesn't do this or that Oscar A. Valdez [not found] ` <Pine.GSO.4.05.10209202215490.18306-100000@sh.enm.bris.ac.u k> 1 sibling, 1 reply; 20+ messages in thread From: Bart Oldeman @ 2002-09-20 21:29 UTC (permalink / raw) To: matt; +Cc: linux-msdos 1st note: you do not need to (and never needed to) disable shadowing if you use graphics in xdosemu, which is quite usable nowadays, but in certain cases too slow, for some graphical programs not perfect and not full screen (your apps run in the "DOS in the BOX"). Only on the linux console, IF your graphics card is supported by DOSEMU and IF you run DOSEMU as root or suid-root you *might* need to have to turn off vbios shadowing. There are quite a few graphics cards out there that DOSEMU does not support, and moreover suid-root is discouraged. On Fri, 20 Sep 2002 matt@snip.net wrote: > Why was it programmed this way? Nothing really intended - DOSEMU basically mmaps the contents of /dev/mem to 0xc0000-0xc8000 or some such, if it has permission to do so. Otherwise console graphics don't work. > Why does one have to disable video/bios shadowing? I guess because the RAM that is used for the shadowing at boot time might be overwritten by Linux and things get messed up. This is highly system dependent; that's why I said *might*. > Is this the only programming solution that had to be done or could there have also > been another way that probably would've been a lot more challenging to > implement but would've allowed people to run there graphical games without > any requirements to disable video/bios shadowing in the first place? yes, that's called "vgaemu" and is what you use when you run graphical applications in xdosemu - no need for a graphics card specific video BIOS, so shadowing is irrelevant. simply run them in xdosemu or wait for "vgaemu on console or fullscreen X" support, that does not need the systems BIOS or root privileges. Bart ^ permalink raw reply [flat|nested] 20+ messages in thread
* please explain to me why dosemu doesn't do this or that... 2002-09-20 21:29 ` Bart Oldeman @ 2002-09-20 22:36 ` Oscar A. Valdez 2002-09-20 23:33 ` matt 2002-09-20 23:42 ` Justin Zygmont 0 siblings, 2 replies; 20+ messages in thread From: Oscar A. Valdez @ 2002-09-20 22:36 UTC (permalink / raw) To: Bart Oldeman; +Cc: linux-msdos I just thought I'd drop a little note to Bart and the other people on the dosemu team to let them know, that despite all that we complain about dosemu, I think it's a terrific program that does what it does remarkably well, and that I greatly appreciate the time and thoughtfulness they dedicate to answering our sometimes rude messages on this list. --- Oscar A. Valdez ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: please explain to me why dosemu doesn't do this or that... 2002-09-20 22:36 ` please explain to me why dosemu doesn't do this or that Oscar A. Valdez @ 2002-09-20 23:33 ` matt 2002-09-20 23:42 ` Justin Zygmont 1 sibling, 0 replies; 20+ messages in thread From: matt @ 2002-09-20 23:33 UTC (permalink / raw) To: linux-msdos I hope my message was never seen as being *rude* because that's not what I intended. I wasn't asking why it didn't do this or that but was just wondering why disabling video/bios shadowing was sometimes necessary. At 04:36 PM 9/20/02 -0600, you wrote: >I just thought I'd drop a little note to Bart and the other people on >the dosemu team to let them know, that despite all that we complain >about dosemu, I think it's a terrific program that does what it does >remarkably well, and that I greatly appreciate the time and >thoughtfulness they dedicate to answering our sometimes rude messages on >this list. >--- >Oscar A. Valdez > > > >- >To unsubscribe from this list: send the line "unsubscribe linux-msdos" in >the body of a message to majordomo@vger.kernel.org >More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: please explain to me why dosemu doesn't do this or that... 2002-09-20 22:36 ` please explain to me why dosemu doesn't do this or that Oscar A. Valdez 2002-09-20 23:33 ` matt @ 2002-09-20 23:42 ` Justin Zygmont 1 sibling, 0 replies; 20+ messages in thread From: Justin Zygmont @ 2002-09-20 23:42 UTC (permalink / raw) To: Oscar A. Valdez; +Cc: Bart Oldeman, linux-msdos yes, it is excellent, i've used it for years. If we could get all the patches, etc in the next release, that would be excellent. On 20 Sep 2002, Oscar A. Valdez wrote: > I just thought I'd drop a little note to Bart and the other people on > the dosemu team to let them know, that despite all that we complain > about dosemu, I think it's a terrific program that does what it does > remarkably well, and that I greatly appreciate the time and > thoughtfulness they dedicate to answering our sometimes rude messages on > this list. > --- > Oscar A. Valdez > > > > - > To unsubscribe from this list: send the line "unsubscribe linux-msdos" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > ^ permalink raw reply [flat|nested] 20+ messages in thread
[parent not found: <Pine.GSO.4.05.10209202215490.18306-100000@sh.enm.bris.ac.u k>]
* Re: please explain to me why video/bios shadowing must be disabled to use graphics... [not found] ` <Pine.GSO.4.05.10209202215490.18306-100000@sh.enm.bris.ac.u k> @ 2002-09-20 23:37 ` matt 2002-09-21 5:21 ` Pat 0 siblings, 1 reply; 20+ messages in thread From: matt @ 2002-09-20 23:37 UTC (permalink / raw) To: linux-msdos Thanks for the explanining things. I haven't messed around much with the X version of dosemu except when playing around with ZZT (I seem to recall all the characters were squished probably because it wasn't running in full screen). I was never trying to be rude or anything and I hope I didn't come off as such. I do appreciate the work that you and the dosemu team have done and look forward to "full screen support in X" and "vgaemu on console" support in the future. Thanks again, later... At 10:29 PM 9/20/02 +0100, you wrote: >1st note: you do not need to (and never needed to) disable shadowing if >you use graphics in xdosemu, which is quite usable nowadays, but in >certain cases too slow, for some graphical programs not perfect and not >full screen (your apps run in the "DOS in the BOX"). > >Only on the linux console, IF your graphics card is supported by DOSEMU >and IF you run DOSEMU as root or suid-root you *might* need to have to >turn off vbios shadowing. There are quite a few graphics cards out there >that DOSEMU does not support, and moreover suid-root is discouraged. > >On Fri, 20 Sep 2002 matt@snip.net wrote: > > > Why was it programmed this way? > >Nothing really intended - DOSEMU basically mmaps the contents of >/dev/mem to 0xc0000-0xc8000 or some such, if it has permission to do so. >Otherwise console graphics don't work. > > > Why does one have to disable video/bios shadowing? > >I guess because the RAM that is used for the shadowing at boot time >might be overwritten by Linux and things get messed up. This is highly >system dependent; that's why I said *might*. > > > Is this the only programming solution that had to be done or could > there have also > > been another way that probably would've been a lot more challenging to > > implement but would've allowed people to run there graphical games without > > any requirements to disable video/bios shadowing in the first place? > >yes, that's called "vgaemu" and is what you use when you run graphical >applications in xdosemu - no need for a graphics card specific video >BIOS, so shadowing is irrelevant. > >simply run them in xdosemu or wait for "vgaemu on console or fullscreen >X" support, that does not need the systems BIOS or root privileges. > >Bart > >- >To unsubscribe from this list: send the line "unsubscribe linux-msdos" in >the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: please explain to me why video/bios shadowing must be disabled to use graphics... 2002-09-20 23:37 ` please explain to me why video/bios shadowing must be disabled to use graphics matt @ 2002-09-21 5:21 ` Pat 0 siblings, 0 replies; 20+ messages in thread From: Pat @ 2002-09-21 5:21 UTC (permalink / raw) To: linux-msdos Sorry, that link wasn't so good as I thought. Better: http://www.lostcircuits.com/video/asus_ti500/2.shtml ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: please explain to me why video/bios shadowing must be disabled to use graphics... 2002-09-09 4:09 please explain to me why video/bios shadowing must be disabled to use graphics matt 2002-09-09 11:26 ` phrostie @ 2002-09-10 2:08 ` Pat [not found] ` <Pine.LNX.4.44.0209091837470.20167-100000@feather.sunbird.s ys> 2 siblings, 0 replies; 20+ messages in thread From: Pat @ 2002-09-10 2:08 UTC (permalink / raw) To: linux-msdos On Mon, 9 Sep 2002 matt@snip.net wrote: >Awhile back I tried getting graphics to work in dosemu on some linux >distros I was playing with at the time. Sadly, I was totally unsuccessful. >I realized after reading the docs that one had to disable video/bios >shadowing in order to use graphics. The problem is, my computer (HP8570C) >*does not* have any setting in the bios that lets you do this. So how does the HP8570C do shadowing? Perhaps there is a bios upgrade possible that would allow it. Something like is available on vectra. Cheers, Pat ^ permalink raw reply [flat|nested] 20+ messages in thread
[parent not found: <Pine.LNX.4.44.0209091837470.20167-100000@feather.sunbird.s ys>]
* Re: please explain to me why video/bios shadowing must be disabled to use graphics... [not found] ` <Pine.LNX.4.44.0209091837470.20167-100000@feather.sunbird.s ys> @ 2002-09-20 20:52 ` matt 2002-09-21 4:53 ` Pat [not found] ` <Pine.LNX.4.44.0209201954350.30609-100000@feather.sunbird.s ys> 0 siblings, 2 replies; 20+ messages in thread From: matt @ 2002-09-20 20:52 UTC (permalink / raw) To: linux-msdos Sorry about this late reply.. um.. How am i suppose to know how the HP8570C does shadowing? It just does it and there's no way to turn it off through bios setup. I've tried getting graphics to work in dosemu before in the past but everytime i tried to run a game such as wolf3d the thing went black which forced me to switch terminal screens and log back in to kill the dosemu process. I then realized that I probably needed to disable video/bios shadowing.This is what most people seem to suggest when someone asks the question "how do i get graphics to work" (It's also mentioned in the docs included with dosemu). The HP8570C is 3 years old (i bought it back in 99 - was state of the art back then heh :P) so there's no new bios updates for this system. I have the latest and final bios update for it. I realize the problem with wolf3d might have been related to other issues but even old games such as ultima1 or 4 didn't work. I only got ZZT to work (since it's a old text based game that uses pc speaker sound only) but the fonts were screwy since it was using the default terminal font and I never did figure out how to fix that. Oh, I also got QBasic to work too but it appears to be really slow so i'm afraid even games like wolf3d would be coming to a halt on this 450 mhz system. Seems you need like a ghz system to even handle those games if something such as QBasic would act quite slow. Of course, I was doing these tests on a distro that was set up to work on top of the dos partition so perhaps a real linux setup would be 10x faster *shrug*. I intend on messing around with dosemu again in the future with a distro running on top of it's own partition and not dos. I was really hoping there was another solution to getting graphics to work in dosemu without having to really disable video/bios shadowing in the first place. At 07:08 PM 9/9/02 -0700, you wrote: >On Mon, 9 Sep 2002 matt@snip.net wrote: > > >Awhile back I tried getting graphics to work in dosemu on some linux > >distros I was playing with at the time. Sadly, I was totally unsuccessful. > >I realized after reading the docs that one had to disable video/bios > >shadowing in order to use graphics. The problem is, my computer (HP8570C) > >*does not* have any setting in the bios that lets you do this. > >So how does the HP8570C do shadowing? Perhaps there is a bios upgrade >possible that would allow it. Something like is available on vectra. > >Cheers, Pat > > >- >To unsubscribe from this list: send the line "unsubscribe linux-msdos" in >the body of a message to majordomo@vger.kernel.org >More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: please explain to me why video/bios shadowing must be disabled to use graphics... 2002-09-20 20:52 ` matt @ 2002-09-21 4:53 ` Pat [not found] ` <Pine.LNX.4.44.0209201954350.30609-100000@feather.sunbird.s ys> 1 sibling, 0 replies; 20+ messages in thread From: Pat @ 2002-09-21 4:53 UTC (permalink / raw) To: linux-msdos On Fri, 20 Sep 2002 matt@snip.net wrote: >.. How am i suppose to know how the HP8570C does shadowing? It just > does it Well, after paying all the moola to buy such a beast, would think a few more bucks for the hardware manual wouldn't hurt much. But maybe HP doesn't make hardware/software manuals for their equipment like other proprietary systems, ie. apple/sun. Still, that question might prompt another: How would the programmer do shadowing to help the memory-starved program along a bit? Why do shadowing? Because the hardware is too slow, is my guess. And then there is the more detailed matter of directly addressing the video hardware everytime you want to flip a bit or two. And, somewhere in the early install faqs that mention shadowing in linux, why to turn it off, is that linux does a much better job doing its own shadowing. More efficient. Perhaps linux docs will show how it does this shadowing so much better, and it might show how in principle it is done. Is the actual architecture so different? Forgive me, I have no HP to explore, but it would be fun. There is a book, Assembly Language: Step-by-Step, (2nd Ed.) by Jeff Duntemann, publ. Wiley, 2000 It is very easy reading, deals with the basics well. Since I've only begun to use dosemu, I expect to have to check that book out again, because it dealt with the problem of writing to video RAM and even shadowing, I think. >and there's no way to turn it off through >bios setup. So the bios for vectra is significantly different than that of your machine? I have no hp machine to look at. But if I did, I'd want to see where it keeps video data in the first place. The manufacturer of the video chips almost always do publish hardware manuals, otherwise no one would write software for them. The standard video addresses/switches are well-documented. The bios setup program is just software that addresses the settings. Usually there is an address in memory that when referenced, changes state, becomes writable or not it points to another area that is writable. That area could be either video RAM or some other memory. That's as specific as I can get at the moment, but you get the idea. I'd want to know specifically if video hardware on hp is significantly different in some way from any other pc-compatibles. Bet it isn't. It makes no sense there is no hardware switch to turn off shadowing, so now I'm curious what method hp uses. Surely this info would be available to a hardware owner. And if there are no hp-specific publications, perhaps a phone call to one of their engineers that works on video addressing would yield something. Somebody had to decide how things would be done at some point in your machine's history. A direct call might just be the fastest way to get an answer and maybe even a reference or two, or a private privileged (you paid your moneys) online link for users. > I've tried getting graphics to work in dosemu before in the > past but everytime i tried to run a game such as wolf3d the thing went > black which forced me to switch terminal screens and log back in to > kill the dosemu process. Forced how? Did it hang, no response? Going all black might mean just no memory, no pointer to memory, the memory it needs. Wolf3d does have source code available for free. Have you compiled it to work on your system? Somewhere in that code would be the video addressing routines. Compile, run with lots of stderr, study the error messages, find the trouble spot. See how it would be solved in the non-proprietary system. Forgive, all theoretical, you're probably in a hurry to play the darn game. > .. needed to disable video/bios shadowing. This is what most people > seem to suggest when someone asks the question "how do i get graphics > to work" Need a more specific question to get a better answer. There are refs that cover these things, search for "svga programming shadow methods". I tried it, found this to start: http://www.geocities.com/SiliconValley/Park/9784/tut.html 2D Basics, VGA Mode 13h SVGA - vesa, vbe 2 By the way, what kind of video do you have? VESA? Lots of docs on that standard. Find out all the details you can on your video interface, what the range and limits of your monitor/video firmware. > ... but the fonts were screwy since it was using the default terminal > font and I never did figure out how to fix that. But therein lies some secrets. Text on video is done much the same way. Maybe slug through that, find out how it does switch to non-hardware fonts. Map the known. > Oh, I also got QBasic to work too but it > appears to be really slow so i'm afraid even games like wolf3d would > be coming to a halt on this 450 mhz system. It would of course be slow, not comparable to compiled C or assembly code, processed in RAM. Imagine running X with 8 megs free RAM. It would swap on the hardware. Be click and wait. ;) > I was really hoping there was another solution to getting graphics to > work in dosemu without having to really disable video/bios shadowing > in the first place. Not without getting down and dirty, I expect. HP somehow uses its own shadowing algorithms/switches/memory moves. Where and how it does it is documented somewhere or no one could write code for it. Are those routines built into ROM by any chance? Apologies if I'm way off base here. Am new. Will shut up and listen now. Cheers, Pat ^ permalink raw reply [flat|nested] 20+ messages in thread
[parent not found: <Pine.LNX.4.44.0209201954350.30609-100000@feather.sunbird.s ys>]
* Re: please explain to me why video/bios shadowing must be disabled to use graphics... [not found] ` <Pine.LNX.4.44.0209201954350.30609-100000@feather.sunbird.s ys> @ 2002-09-21 8:42 ` matt 2002-09-21 16:04 ` Bart Oldeman ` (2 more replies) 0 siblings, 3 replies; 20+ messages in thread From: matt @ 2002-09-21 8:42 UTC (permalink / raw) To: linux-msdos >I'd want to know specifically if >video hardware on hp is significantly different in some way from any >other pc-compatibles. Bet it isn't. I'm sure it isn't... >It makes no sense there is no hardware switch to turn off shadowing, so >now I'm curious what method hp uses. Well i'm not much of a hardware person so I never really looked to see if there was a hardware switch in the first place. I've heard from other HP users about bad experiences trying to take the case on the HP off. It sounds as if it's a general pain in the a$$. Regardless of whether or not there's a hardware switch in the system, it's still very annoying that HP never decided to put in a setting in the bios setup program to disable video/bios shadowing. >Surely this info would be available to a hardware >owner. And if there are no hp-specific publications, perhaps a phone >call to one of their engineers that works on video addressing would >yield something. Somebody had to decide how things would be done at >some point in your machine's history. A direct call might just be the >fastest way to get an answer and maybe even a reference or two, or a >private privileged (you paid your moneys) online link for users. heh most systems that you buy in the store don't give you detailed manuals and are you suggesting I call tech support because I hate the very idea of that. I never ever had to call tech support for any of my past and present systems. I choose not to because it's a royal pain the a$$ and most of the time they can't help you anyway. You end up wasting money, especially if you were to ring up microsoft's god awful tech support line from HELL (i'm glad I never called them. all the horror stories *gasp*). I seem to get the impression that hp's tech support is crap too, especially from when I use to browse there now semi defunct tech forums. > > I've tried getting graphics to work in dosemu before in the > > past but everytime i tried to run a game such as wolf3d the thing went > > black which forced me to switch terminal screens and log back in to > > kill the dosemu process. > >Forced how? Did it hang, no response? Going all black might mean just >no memory, no pointer to memory, the memory it needs. Yeah the process locked up. The system didn't lock up (if it was winblows it probably would've). >Wolf3d does have source code available for free. Have you compiled it >to work on your system? Somewhere in that code would be the video >addressing routines. Compile, run with lots of stderr, study the error >messages, find the trouble spot. See how it would be solved in the >non-proprietary system. Forgive, all theoretical, you're probably in a >hurry to play the darn game. Yeah I know the source code is available but I don't have the right tools to compile it right now and I don't even think it will compile on linux without having to tweak it some bit. I'm not much of an expert at programming (although i'm learning). > > .. needed to disable video/bios shadowing. This is what most people > > seem to suggest when someone asks the question "how do i get graphics > > to work" > >Need a more specific question to get a better answer. There are refs >that cover these things, search for "svga programming shadow methods". >I tried it, found this to start: > >http://www.geocities.com/SiliconValley/Park/9784/tut.html >2D Basics, VGA Mode 13h > SVGA - vesa, vbe 2 > >By the way, what kind of video do you have? VESA? Lots of docs on that >standard. Find out all the details you can on your video interface, >what the range and limits of your monitor/video firmware. Well the system isn't that old. It's only 3 years old. I bought it back in 99. My video card is an ATI Rage Pro btw. > > ... but the fonts were screwy since it was using the default terminal > > font and I never did figure out how to fix that. > >But therein lies some secrets. Text on video is done much the same way. >Maybe slug through that, find out how it does switch to non-hardware >fonts. Map the known. I get the impression after reading your entire post that you think i'm some sort of programmer <g>? I know some programming (assembly, qbasic, c, c++, etc...) but i'm not that good at it. Like I said, I'm still learning heh <g>. I seem to recall someone once saying on some usenet group that you might need to switch the default console font to a font that supports ibm ascii characters. I don't think any distro I played with came with such fonts. However, I did play around with the console fonts included with the distros. I think I almost got the characters looking right too (ZZT wasn't as messed up but there was some things that were still screwy). So I think what I need is a console font that uses ibm ascii characters. I also think I read somewhere that running the X windows version of dosemu might fix this problem too, that the problem is only with the console. > > Oh, I also got QBasic to work too but it > > appears to be really slow so i'm afraid even games like wolf3d would > > be coming to a halt on this 450 mhz system. > >It would of course be slow, not comparable to compiled C or assembly >code, processed in RAM. Imagine running X with 8 megs free RAM. It >would swap on the hardware. Be click and wait. ;) heh yeah I know that. QBasic wasn't that bad under the console. It loaded up quickly just that the screen being drawn was much slower than it was in native dos (I expected it to be a little slower, but not that slow). I suspect that a game such as wolf3d would be even slower to the point where it might be unplayable. I'm thinking it could've been something else that was making it slower then usual. Perhaps it was because I was running the linux distro, that I was playing with at the time, on top of a dos partition? I haven't yet tested dosemu on a linux distro that runs on it's own partition so i'm hoping it'll be faster when I do. > > I was really hoping there was another solution to getting graphics to > > work in dosemu without having to really disable video/bios shadowing > > in the first place. > >Not without getting down and dirty, I expect. HP somehow uses its own >shadowing algorithms/switches/memory moves. Where and how it does it is >documented somewhere or no one could write code for it. Are those >routines built into ROM by any chance? heh there you go again, asking me as if I should know. Seriously, this HP system is probably like many other pcs out there. I'm sure it does shadowing in a similar fashion. What do you mean no one could write code for it? This system is like any other pc clone/compatable out there. It has an x86 processor (Pentium III) and it's not a sparc or an alpha, etc... Anything written for other pcs or operating systems (windows, linux, etc...) should work on it as long as they don't have any specific hardware requirements (like a graphics accelerator, a particular sound card, more ram, etc...) or operating system requirements. Just so you know, this system came with windows 98 (and a upgrade CD to 98se). If you want more information on it then just browse on over to: http://www.hp.com/cposupport/personal_computing/support_doc/bph05044.html That link takes you to a page with the specs for the system. Keep in mind this system is atleast 3 years old. My bios is a Phoenix bios btw (modified for this system obviously so any other Phoenix bios update that didn't come from HP would probably hose the bios and the system). >Apologies if I'm way off base here. Am new. Will shut up and listen >now. > >Cheers, Pat heh np =P >- >To unsubscribe from this list: send the line "unsubscribe linux-msdos" in >the body of a message to majordomo@vger.kernel.org >More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: please explain to me why video/bios shadowing must be disabled to use graphics... 2002-09-21 8:42 ` matt @ 2002-09-21 16:04 ` Bart Oldeman 2002-09-23 17:33 ` phrostie [not found] ` <Pine.GSO.4.05.10209211648440.21069-100000@sh.enm.bris.ac.u k> 2002-09-22 20:46 ` Pat 2 siblings, 1 reply; 20+ messages in thread From: Bart Oldeman @ 2002-09-21 16:04 UTC (permalink / raw) To: matt; +Cc: linux-msdos On Sat, 21 Sep 2002 matt@snip.net wrote: [about having an ATI Rage Pro where the screen goes black] your problem is mostly not video shadowing, but just that DOSEMU does not support this video card and does not open up enough ports. I remember talking about this before when I still used console DOSEMU. Date: 2000/03/28 On Tue, 28 Mar 2000, Tuomas Jormola wrote: > I've got some problems to enable graphics with Dosemu. I think it's > because of the graphics card, ATI Xpert@Work 8MB AGP. > > +$_chipset = "ati" I don't know much about the X stuff. For the console, the problem is that "ati" refers to older ATI cards. dosemu probably hanged while trying to initialise the video card, that's why you couldn't type exitemu. Try $_chipset = "plainvga" for now. If that still doesn't work, the following can give you a clue: Run "dos -D+i -o /var/tmp/errors" and analyze /var/tmp/errors to see which ports it tries to access and dosemu doesn't understand. You can enable then in the "ports" section. Don't do this is if you're paranoid about security though. If it works you probably won't be able to do console switching, except to and from X. Bart ----- you could also try a development version of DOSEMU with svgalib support compiled-in and $_chipset = "svgalib". And then still, no guarantees, vesa modes may still be broken, the screen can go black, your computer may hang, and you may harm yourself and your monitor (depends a lot on the monitor though, but older fixed-frequency types are easily damaged). Stas tried hard to get DOSEMU working on his ATI Radeon, and Vesa modes do not work for him. Neither do they in NT DOS boxes. Bart ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: please explain to me why video/bios shadowing must be disabled to use graphics... 2002-09-21 16:04 ` Bart Oldeman @ 2002-09-23 17:33 ` phrostie 2002-09-23 19:25 ` Bart Oldeman 0 siblings, 1 reply; 20+ messages in thread From: phrostie @ 2002-09-23 17:33 UTC (permalink / raw) To: Bart Oldeman, matt; +Cc: linux-msdos > not support this video card and does not open up enough ports. > what ports? could you expand on this part? i have a S3 card but have not been able to get dowemu working since MDK 7.0 also, i was wondering, does dosemu currently rely on Xfree being version 4.x or newer? MDK7.0 was the last dist that i've used that came with 3.3.6 as the default. i forget which but there was another application that i was having trouble with that(i was told) required xlibs for 4.x. ===== phrostie Oh I have slipped the surly bonds of DOS and danced the skies on Linux silvered wings. http://pfrostie.freeservers.com/cad-tastrafy/ http://www.freelists.org/webpage/cad-linux __________________________________________________ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: please explain to me why video/bios shadowing must be disabled to use graphics... 2002-09-23 17:33 ` phrostie @ 2002-09-23 19:25 ` Bart Oldeman 0 siblings, 0 replies; 20+ messages in thread From: Bart Oldeman @ 2002-09-23 19:25 UTC (permalink / raw) To: phrostie; +Cc: matt, linux-msdos On Mon, 23 Sep 2002, phrostie wrote: > > not support this video card and does not open up enough ports. > > > what ports? > could you expand on this part? That is video card dependent - you have to run with the debug flags as I explained before to find out which ones. > also, i was wondering, does dosemu currently rely on Xfree being version 4.x or > newer? MDK7.0 was the last dist that i've used that came with 3.3.6 as the > default. i forget which but there was another application that i was having > trouble with that(i was told) required xlibs for 4.x. xdos(emu) does not rely on X being 3 or 4. The dos(emu) we're talking about here, using console graphics, is completely independent of X. dos(emu) in a terminal is X independent too, but without graphics. Bart ^ permalink raw reply [flat|nested] 20+ messages in thread
[parent not found: <Pine.GSO.4.05.10209211648440.21069-100000@sh.enm.bris.ac.u k>]
* Re: please explain to me why video/bios shadowing must be disabled to use graphics... [not found] ` <Pine.GSO.4.05.10209211648440.21069-100000@sh.enm.bris.ac.u k> @ 2002-09-21 20:08 ` matt 0 siblings, 0 replies; 20+ messages in thread From: matt @ 2002-09-21 20:08 UTC (permalink / raw) To: linux-msdos Well I don't have any problem with graphics in native dos so I guess i'll have to go the dual boot route and keep a small dos/windows partition available to run my dos stuff. thanks again. At 05:04 PM 9/21/02 +0100, you wrote: >On Sat, 21 Sep 2002 matt@snip.net wrote: > >[about having an ATI Rage Pro where the screen goes black] > >your problem is mostly not video shadowing, but just that DOSEMU does >not support this video card and does not open up enough ports. > >I remember talking about this before when I still used console DOSEMU. > > Date: 2000/03/28 > >On Tue, 28 Mar 2000, Tuomas Jormola wrote: > > > I've got some problems to enable graphics with Dosemu. I think it's > > because of the graphics card, ATI Xpert@Work 8MB AGP. > > > > +$_chipset = "ati" > >I don't know much about the X stuff. >For the console, the problem is that "ati" refers to older ATI cards. >dosemu probably hanged while trying to initialise the video card, that's >why you couldn't type exitemu. >Try $_chipset = "plainvga" for now. If that still doesn't work, the >following can give you a clue: > >Run "dos -D+i -o /var/tmp/errors" and analyze /var/tmp/errors to see which >ports it tries to access and dosemu doesn't understand. You can enable >then in the "ports" section. Don't do this is if you're paranoid about >security though. > >If it works you probably won't be able to do console switching, except to >and from X. > >Bart > >----- >you could also try a development version of DOSEMU with svgalib support >compiled-in and $_chipset = "svgalib". > >And then still, no guarantees, vesa modes may still be broken, the >screen can go black, your computer may hang, and you may harm yourself >and your monitor (depends a lot on the monitor though, but older >fixed-frequency types are easily damaged). Stas tried hard to get >DOSEMU working on his ATI Radeon, and Vesa modes do not work for him. >Neither do they in NT DOS boxes. > >Bart ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: please explain to me why video/bios shadowing must be disabled to use graphics... 2002-09-21 8:42 ` matt 2002-09-21 16:04 ` Bart Oldeman [not found] ` <Pine.GSO.4.05.10209211648440.21069-100000@sh.enm.bris.ac.u k> @ 2002-09-22 20:46 ` Pat 2 siblings, 0 replies; 20+ messages in thread From: Pat @ 2002-09-22 20:46 UTC (permalink / raw) To: linux-msdos On Sat, 21 Sep 2002 matt@snip.net wrote: >Well i'm not much of a hardware person so I never really looked to see if >there was a hardware switch in the first place. I've heard from other HP >users about bad experiences trying to take the case on the HP off. The "hardware" switch means really a firmware address whose memory can't be accessed except to "look" at it with software, load the accumulator with the value it has just to make it change state--on or off. So don't look for it inside the box. I have an older book, Programmer's PC Sourcebook, by Thom Hogan, that documents this stuff. >sounds as if it's a general pain in the a$$. Only if you don't like to do it. 8) > .. it's still very annoying that HP >never decided to put in a setting in the bios setup program to disable >video/bios shadowing. Am sure it is. >heh most systems that you buy in the store don't give you detailed manuals oh, no, always for sale, not in the store, usually. Not a general public kind of item. Except perhaps in Japan where even little kids build robots. > you suggest I call tech support because I hate the very idea of >that. Yes I agree it is wasteful to call m$oft because they are in business, and all of their subcontractor support companies are in business to extract the money from customers. But they must be the worst example of that. I would have thought that hp would be more supportive though, for its proprietary parts. >I never ever had to call tech support for any of my past and present >systems. I choose not to .... Unfortunate. But I didn't mean to call "tech support", exactly. I see where hp toll-free's on the site you gave me warns the call might be directed to toll number. I meant call, identify the department, perhaps the engineer who decided to leave out the access. Perhaps that is unrealistic for HP. It wouldn't work to call with just general "why" questions because someone has to figure out what you really want to know, and that's what costs money. Sort of like going to a lawyer. The meter is running, have to have the right questions ready. Looks like they have a different number for potential customers. They aren't likely to charge for prospective customer's questions, like "I hear that particular pc has no shadow switch, isn't that unusual? ...I need to know before I buy..." >I get the impression after reading your entire post that you think i'm some >sort of programmer <g>? I know some programming (assembly, qbasic, c, c++, gee, I thought that dosemu was still in the experimental stages, that it would require some programming to get it working. Also, it is dangerous to mess with video without knowing something of how it works, so am hoping I too can learn using the manuals and source. >> HP somehow uses its own >> shadowing algorithms/switches/memory moves. Where and how it does it >> is documented somewhere or no one could write code for it. > ... What do you mean no one could write code for it? This system is > like any other pc clone/compatable out there. Except for no shadow switch... > My bios is a Phoenix bios btw (modified > for this system obviously so any other Phoenix bios update that didn't > come from HP would probably hose the bios and the system). Have an old Phoenix Technical Ref, a guide to ROM-Based system software. It's the hp system programmers who refer to and write code based on these manuals. This one probably too old, but it essentially addresses the video adapter switches, ports and other I/O component switches. Without reference manuals, the Phoenix people wouldn't be able to write the BIOS programs either. Now, am going to see if dosemu will work for me. I have the Quake II cd and Tombraider to get working, hopefully. Cheers, Pat ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: please explain to me why dosemu doesn't do this or that...
@ 2002-09-21 1:59 Stas Sergeev
2002-09-21 3:23 ` Justin Zygmont
0 siblings, 1 reply; 20+ messages in thread
From: Stas Sergeev @ 2002-09-21 1:59 UTC (permalink / raw)
To: linux-msdos
Hello.
Justin Zygmont wrote:
> If we could get all the
> patches, etc in the next release, that would be excellent.
What patches do you want to see in? The fact is
that some patches are judged based on a users
feedbacks, so don't hesitate to name your
favourite ones (and the hated ones, if any).
^ permalink raw reply [flat|nested] 20+ messages in thread* Re: please explain to me why dosemu doesn't do this or that... 2002-09-21 1:59 please explain to me why dosemu doesn't do this or that Stas Sergeev @ 2002-09-21 3:23 ` Justin Zygmont 0 siblings, 0 replies; 20+ messages in thread From: Justin Zygmont @ 2002-09-21 3:23 UTC (permalink / raw) To: Stas Sergeev; +Cc: linux-msdos dpmi_sti4.diff is the one for the sound patch if I remember correctly, that one would be great. I remember hearing about the fact that there were some DPMI issues to be resolved before it could be included in the main tree? On Sat, 21 Sep 2002, Stas Sergeev wrote: > Hello. > > Justin Zygmont wrote: > > If we could get all the > > patches, etc in the next release, that would be excellent. > What patches do you want to see in? The fact is > that some patches are judged based on a users > feedbacks, so don't hesitate to name your > favourite ones (and the hated ones, if any). > > - > To unsubscribe from this list: send the line "unsubscribe linux-msdos" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > ^ permalink raw reply [flat|nested] 20+ messages in thread
end of thread, other threads:[~2002-09-23 19:25 UTC | newest]
Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-09 4:09 please explain to me why video/bios shadowing must be disabled to use graphics matt
2002-09-09 11:26 ` phrostie
2002-09-20 20:57 ` matt
2002-09-20 21:29 ` Bart Oldeman
2002-09-20 22:36 ` please explain to me why dosemu doesn't do this or that Oscar A. Valdez
2002-09-20 23:33 ` matt
2002-09-20 23:42 ` Justin Zygmont
[not found] ` <Pine.GSO.4.05.10209202215490.18306-100000@sh.enm.bris.ac.u k>
2002-09-20 23:37 ` please explain to me why video/bios shadowing must be disabled to use graphics matt
2002-09-21 5:21 ` Pat
2002-09-10 2:08 ` Pat
[not found] ` <Pine.LNX.4.44.0209091837470.20167-100000@feather.sunbird.s ys>
2002-09-20 20:52 ` matt
2002-09-21 4:53 ` Pat
[not found] ` <Pine.LNX.4.44.0209201954350.30609-100000@feather.sunbird.s ys>
2002-09-21 8:42 ` matt
2002-09-21 16:04 ` Bart Oldeman
2002-09-23 17:33 ` phrostie
2002-09-23 19:25 ` Bart Oldeman
[not found] ` <Pine.GSO.4.05.10209211648440.21069-100000@sh.enm.bris.ac.u k>
2002-09-21 20:08 ` matt
2002-09-22 20:46 ` Pat
-- strict thread matches above, loose matches on Subject: below --
2002-09-21 1:59 please explain to me why dosemu doesn't do this or that Stas Sergeev
2002-09-21 3:23 ` Justin Zygmont
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox