1. [LNX]Travis' Linux Lament continues ...
- Posted by Travis Beaty <travisbeaty at arn.net> Apr 30, 2001
- 423 views
Howdy y'all! New Linux problem for everyone: I've been playing with the eu_engin.e include file, to produce graphics in Linux. I attempted to run the following short code: -- Test program to switch graphics mode and draw a yellow circle in Linux. -- File located at: /home/Travis/Desktop -- Run from Linux command prompt as root after cd'ing to file location. include eu_engin.e if graphics_mode(19) = 1 then puts(1, "Unable to switch graphics mode!\n") end if ellipse(YELLOW, 0, {10, 10}, {20, 20}) sleep(5) if graphics_mode(-1) then end if -- end code When I attempt to run this, no circle appears on the screen and no ex.err file was produced. However, upon termination, I found these lines: Int 0x10 is not in rom (0114:0113) No VESA bios detected! Try running vga_reset. Using VGA driver. Now then, I know that under DOS, this will run correctly, because I changed "include eu_engine.e" to "include graphics.e" and ran it without problems. In Linux, I could find no documentation, neither in the eu_engin docs or as a man page, on vga_reset. I picked mode 19 so that I could use a VGA driver. Any ideas? Might just be one of those occasions where I have to be smarter than what I'm working with. -- Travis --
2. Re: [LNX]Travis' Linux Lament continues ...
- Posted by Michael Sabal <mikes at notations.com> Apr 30, 2001
- 403 views
eu_engin.e uses the shared library svgalib.so. The error you received is = from svgalib.so, and not any part of Euphoria. Try the following steps to = see if your problem is corrected: 1) Run as root. If OK, try doing chmod 666 /dev/tty (extend console = write permission to world). 2) Try running in mode 18. If OK, your setup is not supporting all modes. = Remember that Linux modes are not necessarily the same as DOS modes. I = think eu_engin.e accounts for the difference,but I don't remember. 3) Do other svgalib programs run fine? If not, try reinstalling your = svgalib package (as a whole). HTH, Michael J. Sabal (kb3gjt) >>> travisbeaty at arn.net 04/30/01 10:32AM >>> Howdy y'all! New Linux problem for everyone: I've been playing with the eu_engin.e include file, to produce graphics in = Linux. I attempted to=20 run the following short code: -- Test program to switch graphics mode and draw a yellow circle in Linux. When I attempt to run this, no circle appears on the screen and no ex.err = file was produced. =20 However, upon termination, I found these lines: Int 0x10 is not in rom (0114:0113) No VESA bios detected! Try running vga_reset. Using VGA driver.