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

Travis Beaty wrote:
> Int 0x10 is not in rom (0114:0113)
> No VESA bios detected!
> Try running vga_reset.
> Using VGA driver.

judging by that first line, it looks like that's where vector 0x10 is 
pointing to, and that address is too low to be in BIOS(VGA BIOS starts 
at segment 0xC000 as opposed to 0x0114). maybe something revectored your 
int 0x10. i noticed when i tried the raw disk access feature in my xVM 
program, that int 0x13 didn't do anything. is linux perhaps revectoring 
all the BIOS interrupts to an IRET(Interrupt RETurn) instruction?

new topic     » topic index » view message » categorize

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

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 message » categorize

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

Howdy again!

I fixed it.  And I feel like a real knucklehead, too.  After an hour of 
pouring through all *eight* lines of code, it suddenly occurred to me that 
some dumb <ahem> didn't include the call to wait_key() in the Linux version 
of his test program.  Hence, it was working the whole time, but flashed past 
so quickly I never even saw it.  The warning lines I mentioned earlier, oddly 
enough, do not appear when the program is run from the Gnome Terminal.

Now, if everyone will excuse me, the village idiot will now begin banging his 
head against his darn desk as punishment for such a blantant faux pas ...  
sad

-- Travis --

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu