Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
57 user(s) are online (47 user(s) are browsing Forums)

Members: 0
Guests: 57

more...

Support us!

Headlines

Forum Index


Board index » All Posts (broadblues)




Re: the best way to remote use of real os4 machine ?
Home away from home
Home away from home


@MartinW
[quote]
I don't want to hijack your thread, but very similarly...

How about keyboard / mouse share? I'm aware of an Amiga specific program in AmiStore, but I'd like to use the same keyboard and mouse between Mac and X5000.
[quote]

Of you can adapt it MAC, I can provide the src code to the linux MKShareClient on the grounds you provide me with the working client ince compiled.

Go to top


Re: the best way to remote use of real os4 machine ?
Home away from home
Home away from home


@pjs

Feel free to spread it

Go to top


Re: Is this a glitch or is it normal?
Home away from home
Home away from home


Hmm I just reviewed my original bug report thread on this, and the problem stopped for me when I changed to a faster card. So it could be the issue wasn't fixed as such.

Go to top


Re: Is this a glitch or is it normal?
Home away from home
Home away from home


@msteed

Quote:

I've got graphics.library 54.248, as supplied with Update 2. As far as I know, that's the latest public release.

But if I read the thread correctly you do not currently see the issue? You sdaw it with your old card? What gfx lib would you have had had installed when using that card?

Go to top


Re: Is this a glitch or is it normal?
Home away from home
Home away from home


It looks like a DMA / VRAM Copying bug that was fixed long ago.

What gfx.library do you have?

Go to top


Re: Is it possible to change the cursor colour of "NotePad" ?
Home away from home
Home away from home


@imagodespira

There is as far as I remeber an enhancement request for a new CURSORPEN.

It needs updates to intuition and then all the gadgets needing it to be updated.

It's not quite as trivial as you might think at first glance.

Go to top


Re: Is it possible to change the cursor colour of "NotePad" ?
Home away from home
Home away from home


@rjd324

The textgadget cursor and other gadgets such as the string.gadget uses the shine pen for it's background.

You can change the colour it uses in GUI prefs

Darkening the shine pen may have unintended consequences though.

Go to top


Re: Redirect STDERR and STDOUT to the same file
Home away from home
Home away from home


Instead of writing a program why not just wrap yout command in an abc-shel call

sh -c "testit 2>&1" >raM:log

Go to top


Re: Redirect STDERR and STDOUT to the same file
Home away from home
Home away from home


In the absense of a proper solution to redirection STderr to Stdout, what you really need is a custom PIPE: that has two inputs amd one output that can mux the output into a single stream.

Go to top


Re: Redirect STDERR and STDOUT to the same file
Home away from home
Home away from home


"&>"

Don't name it that

Weirldy named commands will only cause issues.

Go to top


Re: Redirect STDERR and STDOUT to the same file
Home away from home
Home away from home


The core problem with using the syntax

Command >ram:log *>>ram:log

is that you now have two streams writing to the same file. Neither stream knows what the other has written, so parts of the output will be overwritten.

To expand your simple test above.

#include    <stdio.h>
int main()
{
    
fprintf(stdout,"STDOUT1\n");
    
fflush(stdout);
    
fprintf(stderr,"STDERR1\n");
    
fflush(stderr);
    
fprintf(stdout,"STDOUT2\n");
    
fflush(stdout);
    
fprintf(stderr,"STDERR2\n");
    
fflush(stderr);
    
fprintf(stdout,"STDOUT3\n");
    
fflush(stdout);
    return 
0;
}


9.AmigaOS4:> gcc -o ram:testit test.
9.AmigaOS4
:> ram:testit  >RAM:LOG *>>RAM:LOG
9.AmigaOS4
:> type ram:LOG 
STDERR1
STDERR2
STDOUT3


You need to redirect stderr to stdouts stream. Not 100% sure if you can do that at the shell level.

Historicaly in AmigaDOS pre AmigaOS 4 shells STDERR and STDOUT were the same stream so no extra sysntax would be needed.

Go to top


Re: SObjs libmng.so.1 is missing, required by 8SVX datatype.
Home away from home
Home away from home


sounds like your MNG.datatype descriptor has matched against some of your ordinary png files.

Multiviewer will display a GUI when displaying sound files that has png elements in it.

Go to top


Re: need clarify about libdl and all dlopen/dlclose calls
Home away from home
Home away from home


There is no libdl.a because under AmigaOS you cannot use the libdl functions if you are not using dynamic linking.

The SDK *should have* a link to libdl.so (in SDK:local/newlib/lib) though to enable linking of programs that use it. A copy of the file will work as well but is then at risk of going out of sync with the installed version.

Go to top


Re: SVG Datatype
Home away from home
Home away from home


@Raziel

SVG support for icons is not 100% a bad idea but

Quote:

detail


You would in fact lose the details of hand drawn pixel based icons as vector graphics is not suited to that, it's good at logos text and shape based gfx.

Compare dull android icons and emojis to the subtletiess of the icons sets create by Mason

A matter of taste though perhaps

Go to top


Re: Last Chance: AmigaOS 4.x hardware vs emulation survey
Home away from home
Home away from home


@geennaam

Quote:

And some drivers seem open source but still need a binary component. Like the ARM MALI drivers for example.


Later MALI chipsets well work with the PanFrost drivers, need quite a recent kernel though

Go to top


Re: ImageFx 4.1 crashes with debug kernel
Home away from home
Home away from home


I have to agree with Joerg and Tony here, attempting to traverse a list whilst modifying it has always been a bad coding behaviour, and the fact you could get away withit was just "luck". Try it with a C++ list where the equivalent node structiue is fully encapsulated and bad stuff will happen if you don't do it the right way.

But as regards to backward compatabilty, the crash is only enforced with the debug kernal, which is for developers and debugging and should not generally be used by end users.

Go to top


Re: The ADTOOLS thread
Home away from home
Home away from home


@rjd324

Quote:

Using Printf from DOS worked and I updated the repository.

The test for STATIC NEWLIB with my public elf.library continues to show the second constructor not being called.


Use Objdump or similar to verify the constructor array doesn't not have any NULLs in it.

The constructor calling code, assumes the array is terminated at both ends by a NULL pointer, but in some unusual cases there can be NULL in the middle which messes it up.

good:

NULL
Const1
Const2
NULL

bad:

NULL
Const1
NULL
Const2
NULL

Go to top


Re: PPaint OS4 questions
Home away from home
Home away from home


@xe1huku


It's fully native PPC port.

You can't hide the extra gadgets, they will grow on you You can hide *all* the gadgets though by pressing F9 (show them again by pressing again).

Go to top


Re: Anyone have success using Audio Evolution 4?
Home away from home
Home away from home


@geennaam

Quote:

Quote:

That what I guestimated based on the numbers given by Hans

Audio frames != buffer sizes.


Quite, I was working in frames....

Quote:

Quote:

From reading ahisrc, the hooks provided by the app get called as part of the hooks passed to the driver, even if the driver doesn't care about specifics.

The buffer is probably / possibly the same size though.


I don't agree:
- A 16bit HIFI mode takes 16bit samples in and always supplies 32bit mixing buffer to the driver
- AHI has to do resampling (and expand or shrink the buffer) when there is a mismatch between "audiomode frequency" and "input sample frequency" .
- The application can determine its own buffer size as input to AHI as long as it is equal or larger to the value returned by AllocAdio() AHIDB_MaxPlaySamples tag.


Again I'm thinking in frames, your right the samples would likely get upgraded to 32bit for many drivers


Quote:

Quote:

Aha! I think this is the issue. AE will be setting the procesing frequency via AHIA_PlayerFreq and expecting the EffectOutputBuffer callback to be caled in sync with that, but your driver has forced AHI to process the data at a faster frequency due to the needs of the PCIe DMA resultng in the callback being called more often and thus it pushes the timer bar on faster than expected.


I don't know what the EffectOutputBuffer is. Is this the 16bit stereo sample buffer provided by AE4 to AHI?



No it's a buffer provided back to the application by AHI containing the final mix data, to enable it to implement VUs etc.

AE4 is using it for that purpose but also to 'count' the data finally written to the sound card.

Quote:

Anyways, it indeed looks like AE4 is making wrong assumptions again:
- AHIA_PlayerFreq tag determines the frequency of application buffers supplied to AHI based on the following formula:

"Application buffer size" >= "driver buffer size" * "sample frequency" / "audiomode frequency"

AHIA_PlayerFreq = "sample frequency" / "Application buffer size"

So AHIA_PlayerFreq determines the rate at which frame buffers going into AHI. The wrong assumption by AE4 is that frame buffers will exit AHI to the driver at the same rate.

This could be the case when the driver relies on timing provided by AHI. In case of a "sample frequency" and "audio mode frequency" mismatch, AHI could resample and adjust buffer size to the driver but keep the buffer rate to the driver the same. So effectively the application is providing timing to the driver instead of AHI. And the driver needs to adapt it's own timing base on provided buffer sizes.

But in case of my driver, the audio hardware determines the buffer output rate:
If the sample frequency and audiomode frequency are both 48kHz then the minimum application buffer must be 1024*48kHz/48kHz = 1024. If the AE4 application buffer is set to 2000 than the player frequency is set to 48000/2000 = 24Hz. But my driver requests data from AHI at 48000/1024 = 46.875Hz. So if the AE4 cursor somehow counts how many times data is going out to the driver and compares this the value of the AHIA_PlayerFreq tag then the cursor will play at almost twice the speed in this example.


Er yes, that's roughly what I said above (with more technical details ) .

A possible solution without too much redesign of AE4 is to check the number of frames passed back in the hook and calculate from there.

I'd be interested to know how you set up the driver based timing, as I have virtual driver project (that sent audio data to HDRecs mixer from external apps) that I could get to play but was always broken audio, probably because of timeing mismatches.

Quote:

Quote:

If a solution can be found, then I could ask if an update could be made. He might say no though....

Maybe you can only ask one question: When will you make the source available as you've announced in the AE4 readme on os4depot.


Don't know why he never released it. Perhaps because it was incomplete and didn't build. (I've regenerated the bits that were missing). Maye he just chnaged his mind

Go to top


Re: Anyone have success using Audio Evolution 4?
Home away from home
Home away from home


@Hans

Quote:

At broadblues' suggestion, I tried changing AE4's sample buffer size (Options=>Preferences=>Performance), and it affects where the cursor ends after playback. Dropping it down to 1 extends the end position to 25.5 seconds. Putting it back to 10 returns it to the original ~24.7 seconds.


That was less of a change than I originally expected, with my new logic above it shouldn't change much at all, but the changes could just be down to the number of whole buffers that get processed.

Quote:

Anyway, once we figure out what AE4 is doing, perhaps we could update the ahi.device to hide the driver differences. I know it uses the low-level API but it shouldn't be so low-level that the application needs to know the mixing method.


I think it must already as otherwise AE4 wouldn't be playing back smoothly, it's just this particular side effect of the rate the effectoutputbufferhook callback is called that can't be.
(If I'm right).

Quote:

Alternatively, does anyone still have contact with Davy?


Actually yes, I have. Albeit very occasional. Usually in the context of the android AE5.

In fact I have had the AE4 source for about 6 months or so, but didn't want to say in public earlier as it's on a strictly personal use, ask Davy no questions about it, basis. I didn't want to mention this earlier as I didn't want to abuse the special favour he gave me in sharing it, better to reply usiong the publicly availabe AE3 src as reference. (This aspect is the same, although the hook itself is more sophisticated).

If a solution can be found, then I could ask if an update could be made. He might say no though....

Go to top



TopTop
« 1 2 (3) 4 5 6 ... 109 »




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project