Hi,

I have just compiled freesci 0.3.3 with gcc on irix. I had to give _sp in
 engine/scriptdebug.c another name, since "_sp" is used internally by
the libc, causing freesci to crash.  Sould I submit a patch for that?
imho, the other heap_ptrs should be renamed as well, since variables with
underscores as the first character don't look like a good idea to me.


I have some more problems: LSL3 bombs to the script debugger
almost immediateley (before showing any game graphics):

 Calling LSL3::play()
Script error in file vm.c, line 582: Relative stack underflow
pc=0846 acc=0001 o=2132 fp=83e2 sp=83de
prev=0 sbase=83d4 globls=310e &restmod=0
Step #1951
0846: [W] not
>bt
Call stack (current base: 0):
 0:[ffffffff]  LSL3::play()
    obj@2132 pc=34b9 sp=83d6 fp=83d6
 1:[0]  LSL3::init()
    obj@2132 pc=06d3 sp=83dc fp=83da
 2:[1]  LSL3::newRoom(0078)
    obj@2132 pc=0846 sp=83de fp=83e2


the disks read 0.000.572, but freesci emulates 0.000.685, does that make any
difference? I have tried copying off the disks again to see if there is any
difference, but diff finds none.


Next problem is that MIT-SHM doesn't seem to work. I have got it compiled
in, but freesci disables it on startup:
GFX-XLIB 199: X11: BadAccess (attempt to access private resource denied)
GFX-XLIB 199: X11: BadShmSeg (invalid shared segment parameter)
GFX-XLIB 523:Shared Memory Pixmaps not supported on this system. Disabling!
GFX-XLIB 199: X11: BadPixmap (invalid Pixmap parameter)
GFX-XLIB 199: X11: BadShmSeg (invalid shared segment parameter)

Other applications however work. This is an O2, which offers lots of
visuals to choose from. FreeSCI's speed, however is _almost_
right without MIT-SHM and most of the beautifications turned on. 

Lastly, I have a Roland SC-55mkII connected via the serial port to my
box. Shouldn't it work with the unixraw driver connected with the  port at
38400 8N1? I have finally gotten it to talk to the normal MIDI applications
in irix, which makes me think that just dumping out the midi data to the 
serial port at the right speed should work. Otherwise, i would have to 
write a libmd driver for irix...


regards,

Rainer


Reply via email to