Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
100 user(s) are online (70 user(s) are browsing Forums)

Members: 0
Guests: 100

more...

Headlines

Forum Index


Board index » All Posts (TSK)




Re: SMTube : new version on OS4Depot
Just can't stay away
Just can't stay away


@AlicePPC

I don't have a config dir in Qt:home to delete.

Rock lobster bit me - so I'm here forever
X1000 + AmigaOS 4.1 FE
"Anyone can build a fast CPU. The trick is to build a fast system." - Seymour Cray
Go to top


Re: SMTube : new version on OS4Depot
Just can't stay away
Just can't stay away


@zzd10h

Clicking a video in SMTube it switches to some kind of browser view showing Youtube page and then hangs the X1000. If I remember it started Mplayer immediately when clicking a link in past. How do I get SMtube to use Mplayer directly ?

Rock lobster bit me - so I'm here forever
X1000 + AmigaOS 4.1 FE
"Anyone can build a fast CPU. The trick is to build a fast system." - Seymour Cray
Go to top


Re: Pidgin 2.13.0 on AmigaOS4
Just can't stay away
Just can't stay away


@ cygnusEd
Sounds great !

@Joeled
I'm admiring your backdrop !

Go to top


Re: Removing an OS4 .library from memory
Just can't stay away
Just can't stay away


@thellier

Try Expunge command.

Rock lobster bit me - so I'm here forever
X1000 + AmigaOS 4.1 FE
"Anyone can build a fast CPU. The trick is to build a fast system." - Seymour Cray
Go to top


Re: Serial Preferences
Just can't stay away
Just can't stay away


@Raziel

I think the idea is every piece of software takes care of serial port setup themselves. There's no need for generic settings. I've forgotten what was the reasoning why the Serial prefs tool haven't been removed. Backwards compatibility or something ?

Rock lobster bit me - so I'm here forever
X1000 + AmigaOS 4.1 FE
"Anyone can build a fast CPU. The trick is to build a fast system." - Seymour Cray
Go to top


Re: How to get my local IP address?
Just can't stay away
Just can't stay away


@ChrisH

I added while loop to the code in the previous post. It's possible to have multiple interfaces actually.

Rock lobster bit me - so I'm here forever
X1000 + AmigaOS 4.1 FE
"Anyone can build a fast CPU. The trick is to build a fast system." - Seymour Cray
Go to top


Re: How to get my local IP address?
Just can't stay away
Just can't stay away


@ChrisH

struct List *netiflist=NULL;
struct Node *node=NULL;
struct sockaddr addr;
int32 res=0;

  
SocketBase=(struct Library *)IExec->OpenLibrary("bsdsocket.library",0);
  if (
SocketBase!=NULL)
  {
   
ISocket=(struct SocketIFace *)IExec->GetInterface(SocketBase,"main",1,NULL);
   if (
ISocket!=NULL)
   {
    
netiflist=ISocket->ObtainInterfaceList();
    if (
netiflist!=NULL)
    {
     
node=IExec->GetHead(netiflist);
     if (
node!=NULL)
     {
      while (
node!=NULL)
      {
       if (
node->ln_Name!=NULL)
       {
        
printf("Network interface %s:\\n",node->ln_Name);
        
// QueryInterfaceTags returns 0 for success, -1 for error
        
res=ISocket->QueryInterfaceTags(node->ln_Name,
                                        
IFQ_Address,&addr,
                                        
TAG_DONE);
        if (
res==0)
        {
 
printf("IP: %u.%u.%u.%u\\n",(uint8)addr.sa_data[2],(uint8)addr.sa_data[3],(uint8)addr.sa_data[4],(uint8)addr.sa_data[5]);
        }
        else
        { 
printf("- Error: Can't query information (%ld)\\n",res); }
       }

       
node=IExec->GetSucc(node);
      }
     }
     else
     {
      
printf("No network interfaces found\\n");
     }

     
ISocket->ReleaseInterfaceList(netiflist);
    }
    
IExec->DropInterface((struct Interface *)ISocket);
   }
   
IExec->CloseLibrary(SocketBase);
  }


Edit: Added while loop to the code.


Edited by TSK on 2018/6/14 19:53:50
Rock lobster bit me - so I'm here forever
X1000 + AmigaOS 4.1 FE
"Anyone can build a fast CPU. The trick is to build a fast system." - Seymour Cray
Go to top


Re: Trying to get a Radeon HD 7750 working in an AmigaOne XE
Just can't stay away
Just can't stay away


@Helloworld

Use Screen prefs to create a screen for the 2nd graphics card. AmigaOS don't have any screen mirroring or other such features.

Rock lobster bit me - so I'm here forever
X1000 + AmigaOS 4.1 FE
"Anyone can build a fast CPU. The trick is to build a fast system." - Seymour Cray
Go to top


Re: SDL1 open issues
Just can't stay away
Just can't stay away


@kas1e+Capehill

I've been fighting with random memory corruption with one of my software recently. (I'm suspecting that GCC doesn't handle multi dimensional arrays correctly still.) So anything is possible on AmigaOS.

Rock lobster bit me - so I'm here forever
X1000 + AmigaOS 4.1 FE
"Anyone can build a fast CPU. The trick is to build a fast system." - Seymour Cray
Go to top


Re: SDL1 open issues
Just can't stay away
Just can't stay away


@kas1e

It's Autolib (-lauto) which gets the interface for ITimer on your behalf. Otherwise you have to get it yourself. I have not checked any of those source files you listed. But one of those init functions handles it most likely. Or in some of the makefiles the Autolib is enabled and in some of them it's missing.

With libraries:
IntuitionBase=(struct Library *)IExec->OpenLibrary("intuition.library",53);
IIntuition=(struct IntuitionIFace *)IExec->GetInterface(IntuitionBase,"main",1,NULL);


With devices:
TimerIO=(struct TimeRequest *)IExec->AllocSysObjectTags(ASOT_IOREQUEST,ASO_NoTrack,FALSE,ASOIOR_ReplyPort,TimerPort,ASOIOR_Size,sizeof(struct TimeRequest),TAG_DONE);
if (
TimerIO!=NULL)
{
 
TimerDev=IExec->OpenDevice("timer.device",UNIT_MICROHZ,(struct IORequest *)TimerIO,0);
 if (
TimerDev==0)
 {
  
ITimer=(struct TimerIFace *)IExec->GetInterface((struct Library *)TimerIO->Request.io_Device,"main",1,NULL);
 }
}


Rock lobster bit me - so I'm here forever
X1000 + AmigaOS 4.1 FE
"Anyone can build a fast CPU. The trick is to build a fast system." - Seymour Cray
Go to top


Re: Do we have an execpl replacement?
Just can't stay away
Just can't stay away


@AmigaBlitter

Replace tr_node with Request and tr_time with Time.
TimerIO->tr_time.tv_micro => TimerIO->Time.Microseconds
TimerIO->tr_time.tv_secs => TimerIO->Time.Seconds

Rock lobster bit me - so I'm here forever
X1000 + AmigaOS 4.1 FE
"Anyone can build a fast CPU. The trick is to build a fast system." - Seymour Cray
Go to top


Re: SDL2
Just can't stay away
Just can't stay away


Quote:
timer device flood

Is SDL using usleep() and sleep() functions of Newlib ?

Rock lobster bit me - so I'm here forever
X1000 + AmigaOS 4.1 FE
"Anyone can build a fast CPU. The trick is to build a fast system." - Seymour Cray
Go to top


Re: Scrollable window with images
Just can't stay away
Just can't stay away


@AmigaBlitter

Quote:
Can ListBrowser shows trasparent or free form images?

I think so, it can.

Rock lobster bit me - so I'm here forever
X1000 + AmigaOS 4.1 FE
"Anyone can build a fast CPU. The trick is to build a fast system." - Seymour Cray
Go to top


Re: Scrollable window with images
Just can't stay away
Just can't stay away


@AmigaBlitter

You can use ListBrowser or PicFlow (on os4depot.net). (Or use Space gadget and implement scrolling on your own.)

Rock lobster bit me - so I'm here forever
X1000 + AmigaOS 4.1 FE
"Anyone can build a fast CPU. The trick is to build a fast system." - Seymour Cray
Go to top


Re: Work on Qt 5.8 has begun :)
Just can't stay away
Just can't stay away


@alfkil

Any news ?

Rock lobster bit me - so I'm here forever
X1000 + AmigaOS 4.1 FE
"Anyone can build a fast CPU. The trick is to build a fast system." - Seymour Cray
Go to top


Re: Embed video in Wokbench screen?
Just can't stay away
Just can't stay away


@AmigaBlitter

www.os4depot.net where else.

Rock lobster bit me - so I'm here forever
X1000 + AmigaOS 4.1 FE
"Anyone can build a fast CPU. The trick is to build a fast system." - Seymour Cray
Go to top


Re: Embed video in Wokbench screen?
Just can't stay away
Just can't stay away


@AmigaBlitter

Can you do C programming ? If you do, try oo.library.

Rock lobster bit me - so I'm here forever
X1000 + AmigaOS 4.1 FE
"Anyone can build a fast CPU. The trick is to build a fast system." - Seymour Cray
Go to top


Re: Odyssey use of an external player
Just can't stay away
Just can't stay away


@white

Check Settings/Preferences and MIME Types page.

Go to top


Re: MickJT-MPlayer
Just can't stay away
Just can't stay away


@MickJT

That -softvol -volume 50 helped.

I didn't know you can play floats through AHI ?! I'm using swresample to convert audio in my own video players.

Rock lobster bit me - so I'm here forever
X1000 + AmigaOS 4.1 FE
"Anyone can build a fast CPU. The trick is to build a fast system." - Seymour Cray
Go to top


Re: USB devices that work with OS4.1 FE
Just can't stay away
Just can't stay away


@TSK

Calibrating Logitech Wingman Formula in AmigaInput prefs, when it asks to move a joystick to upper left corner turn the wheel the farthest left position, hold the gas pedal down and press any of the buttons on the wheel. When it asks to move the joystick to bottom right corner turn the wheel to the farthest right position and hold the brake pedal down and press a button. Even if the small dot inside a square doesn't move correctly the controller works correctly afterwards.

Rock lobster bit me - so I'm here forever
X1000 + AmigaOS 4.1 FE
"Anyone can build a fast CPU. The trick is to build a fast system." - Seymour Cray
Go to top



TopTop
« 1 ... 3 4 5 (6) 7 8 9 ... 53 »




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project