[Gambas-user] Importing Power Basic Apps?

ron ronstk at ...239...
Thu Mar 2 09:31:37 CET 2006


On Thursday 02 March 2006 08:02, doc wrote:
> Thanks for allowing me on the list!
> 
> I have a specific interest in porting Amateur Radio
> apps from the MS version of windows over to Linux,
> e.g. the digital mode DominoEX
> http://www.qsl.net/zl1bpu/DOMINO/Index.htm which is
> written in Power Basic for Windows V7.0
> 
> Any chance such an app could be mostly ported over
> from Power Basic to GAMBAS then tweaked?
> 
> What about Visual Basic apps?
> 
> Thanks!  doc
> 

I did see a requirement for sound card.
If the program is doing analyze of the incomming sound 
to decode the information it wil not be easy with gambas.

Gambas is a interpreting system and cant do realy realtime
actions without external libraries.
As a frontend for a receiver or with special constructed library 
for inteface to decode the adio signal it should be no problem.

Whay I mean is that I think you are not able to listen to the audio
and do measure the frequency and phase changes in the signal if
you need a sampletime less than 1ms (1kHz).

Second the sound system in linux (with alsa) is by the way works
not a very flexibel system like windows.

I wil not say it is imposible but it can be a hardtime to do on the 
lowest level if the only thing is sound comming in the linux box.
I think some requirements for C or C++ to create a interface library 
and/or sounddriver for the audio to digital signal can be in need.

Also there are some projects made in the past to do that part, 
no names know to me anymore.

For the screen interface part to handle the rig it could be done.

Porting PowerBasic and VisualBasic as basic language can be done.
This is the generic construction of the program.

Using the ocx componenten in VB, without sourcecode of them to make
clones, can not be done. 
The using of database in VB is also very different and requires a 
complete rewrite to the syntax of gambas.
Also note the difference for file i/o is now very different to VB, 
but the method used by gambas has some more advances compared to VB

Ron (call sign pd0okg, nl)





More information about the User mailing list