RE: [LNX]Travis' Linux Lament continues ...

new topic     » goto parent     » topic index » view thread      » older message » newer message

Travis Beaty wrote:
> 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.  smile
> 
> -- Travis --
> 
> 

Travis:

  I ran your code on REDHAT 6.2 using svga ver 1.4.1
  and it runs OK.

  The error is not coming from eu_engin.e but from svga lib
  It maybe your svga settings in libvga.config or your video card
  is not supported by svga lib. Maybe you should read the svga
  lib docs about that message

> Try running vga_reset.
> Using VGA driver.

  about resetting the driver.

  Like Mike said try running different modes.

Bernie

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu