Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
59 user(s) are online (32 user(s) are browsing Forums)

Members: 0
Guests: 59

more...

Headlines

Forum Index


Board index » All Posts (Deniil)




Re: Resolving issues
Quite a regular
Quite a regular


It that why my machine always locks up when I go below 6-700MB free mem perhaps?!?

Please disable if it cannot calculate correctly, or execute correctly.

Software developer for Amiga OS3 and OS4.
Develops for OnyxSoft and the Amiga using E and C and occasionally C++
Go to top


Re: Resolving issues
Quite a regular
Quite a regular


@kas1e

Nice!
Is there any changelog, and non-debug build?

Do these version work with the latest MUI now? I forgot the status about this...

Go to top


Re: Odyssey : Is it possible to deactivate internal MediaPlayer ?
Quite a regular
Quite a regular


@samo79

Yeah, like all of webkit it never frees any memory because it was written for systems with (working) swap. But Odyssey and the player gets unstable around when I have 700MB free ram. I never let Odyssey get below 700MB free (about 700MB allocated), preferable not below 1GB free, because it will surely crash very soon or lock up the system.

But I don't think running out of memory the biggest problem of the player. It trashes memory. If it has been started just once on any small video, the system is unstable and will crash after a while in some unexpected way that never happens when that player has not been run.

Software developer for Amiga OS3 and OS4.
Develops for OnyxSoft and the Amiga using E and C and occasionally C++
Go to top


Re: Odyssey : Is it possible to deactivate internal MediaPlayer ?
Quite a regular
Quite a regular


It is unfortunate that it should be so buggy. Even if the mediaplayer itself doesn't crash, the whole system gets unstable after it has been used and often results in a crash or freeze somewhere else in Odyssey, Workbench or anywhere.

It's quite clear that it overwrites memory somewhere, maybe stack overflow?

Software developer for Amiga OS3 and OS4.
Develops for OnyxSoft and the Amiga using E and C and occasionally C++
Go to top


Re: HIGHLIGHTTEXTPEN vs FILLPEN (difficulties colouring MUI text)
Quite a regular
Quite a regular


@ChrisH

I would suggest using the MUI pens as they are supposed to be used, i.e. HIGHLIGHTPEN for highlighting, FILLPEN for fill colour etc. Then if it looks like shit on a custom screen (it always does) the user needs to do some configuration to get it right.

Software developer for Amiga OS3 and OS4.
Develops for OnyxSoft and the Amiga using E and C and occasionally C++
Go to top


Re: Source code of jpeg.library?
Quite a regular
Quite a regular


Yes, there were some special DMA accelerated CopyMem routine on the Sam. But Sam doesn't have Altivec so it becomes irrelevant in this case...

Software developer for Amiga OS3 and OS4.
Develops for OnyxSoft and the Amiga using E and C and occasionally C++
Go to top


Re: SMTube : new version on OS4Depot
Quite a regular
Quite a regular


@zzd10h

Quote:
Warning : AmiUpdate will replace Amiga/DownloadVideo.rexx, saves it if you have modified it.


Maybe you should make external settings (envarc:smTube_dl.prefs) so that no one needs to modify the script, just like the old getVideo.rexx script?

Software developer for Amiga OS3 and OS4.
Develops for OnyxSoft and the Amiga using E and C and occasionally C++
Go to top


Re: Source code of jpeg.library?
Quite a regular
Quite a regular


I kind of doubt newlib is, but maybe exec. Anyway, it's still worth experimenting at at some point.

Software developer for Amiga OS3 and OS4.
Develops for OnyxSoft and the Amiga using E and C and occasionally C++
Go to top


Re: Source code of jpeg.library?
Quite a regular
Quite a regular


Would be interesting to see how CopyMem and SetMem scores here. Can't use CopyMemQuick since the copy data is always totally misaligned due to RGB triplet. The setmem calls otoh. are pretty much always 16-byte aligned due to the altivec source data from libjpeg-turbo.

Software developer for Amiga OS3 and OS4.
Develops for OnyxSoft and the Amiga using E and C and occasionally C++
Go to top


Re: Source code of jpeg.library?
Quite a regular
Quite a regular


Cool!

I just altivec-optimized memcpy and memset from plain byte-loops to altivec-versions created specifically based on statistical analysis and gained between 11-23% speed in decoding ONLY by optimizing memcpy and memset!

Software developer for Amiga OS3 and OS4.
Develops for OnyxSoft and the Amiga using E and C and occasionally C++
Go to top


Re: Source code of jpeg.library?
Quite a regular
Quite a regular


@broadblues

It could of course have been soved using either clib och newlib but I got a headache thinking about it. There are only a few simple stdlib functions I needed so it was faster to implement them rather than try to get newlib or clib in there (at the time). Now I realize newlib is a normal library it could have been fairly easy (on AmigaOS).

This was I can also easily profile the usage of memset and memcpy. And also pretend that fwrite can take a BPTR instead of a FILE*. Makes everything MUCH easier

Software developer for Amiga OS3 and OS4.
Develops for OnyxSoft and the Amiga using E and C and occasionally C++
Go to top


Re: Source code of jpeg.library?
Quite a regular
Quite a regular


@broadblues

Quote:
Why on earth didn't you use newlib? That's what it for?


Because this is a library and I read somewhere that one had to compile with -nostartfiles -nostdlib. Besides, it wouldn't be MOS compatible I suppose. And it's fun to implement stdlib :)

Quote:
If they are amiga hooks make sure you use CallHookPkt() and make sure the argument order is correct.


They are not, they are functions. But the examples have bugs; they don't return 0 from the de/compress hooks as the docs say that should unless they want to abort. Seems the docs are wrong and only the progress hook responds to any return value.

@trixie

Quote:
This sounds like a strange thing to do. I really wonder what stopped you from using newlib, as Broadblues has suggested. In 2015 and in assembly????? I really want to hear the story.


As salass00 said, setjmp/longjmp cannot be implemented in C because they play magic tricks on the C code itself. Need 100% control of register usage and the stack since calling longjmp (from anywhere deep inside other code) causes setjmp, somewhere else in the code, to magically return. longjmp never returns, setjmp returns instead. Pretty cool :)

Software developer for Amiga OS3 and OS4.
Develops for OnyxSoft and the Amiga using E and C and occasionally C++
Go to top


Re: Source code of jpeg.library?
Quite a regular
Quite a regular


Error handlers using setjmp tested and working. Jpeg writer also working.

Had to implement setjmp/longjmp from scratch in assembly, with some help from google, since I have no stdlib. All required parts of stdlib are reimplemented from scratch.

Now testing all the different scenarios using the jpeg_library dev examples. Hooks are untested and apparently doesn't quite work...

Software developer for Amiga OS3 and OS4.
Develops for OnyxSoft and the Amiga using E and C and occasionally C++
Go to top


Re: Source code of jpeg.library?
Quite a regular
Quite a regular


New jpeg.library implementation based on libjpeg-turbo with Altivec acceleration is nearly complete. I just wasted the last 3 days on an ISI crash/hangs, slowly rebooting the X1000 a hundred times, caused by a brainfuck in memset(). It was overrunning 1 byte destroying an error handling function pointer inside libjpeg.

Anyway, FIXED last night! Now all that remains is to implement setjmp, the last hurdle of stdlib, and we are good for beta-testing :)

The reader already works, just need to test the writer.

Software developer for Amiga OS3 and OS4.
Develops for OnyxSoft and the Amiga using E and C and occasionally C++
Go to top


Re: Any altivec experts? (H.264 codec)
Quite a regular
Quite a regular


@tommysammy

I pushed in the last $50. We are now at 100%

Software developer for Amiga OS3 and OS4.
Develops for OnyxSoft and the Amiga using E and C and occasionally C++
Go to top


Re: Aremote Remote control for amiga !!!
Quite a regular
Quite a regular


@sinisrus

Cool! I'll have one of these

But why serial and not USB?

I made a similar thing once, but for the parallel port:
http://www.onyxsoft.se/files/parir.readme
http://www.algonet.se/~deniil/prgpages/parir.html
It also carried audio, could learn any remote control and was designed to transfer over ethernet cable for serious remote controlling.

The X1000 doesn't have a parallel port though, and typically no serial port, but I did order the extension cable for mine in case I would need it.

Software developer for Amiga OS3 and OS4.
Develops for OnyxSoft and the Amiga using E and C and occasionally C++
Go to top


Re: How to relay a varargs function? [SOLVED]
Quite a regular
Quite a regular


@broadblues

How do I use sashimi on OS4/X1000?

Software developer for Amiga OS3 and OS4.
Develops for OnyxSoft and the Amiga using E and C and occasionally C++
Go to top


Re: How to relay a varargs function? [SOLVED]
Quite a regular
Quite a regular


@Thomas

Thanks. I'm not porting 68k code though, and I'm using the SDI macros.

Software developer for Amiga OS3 and OS4.
Develops for OnyxSoft and the Amiga using E and C and occasionally C++
Go to top


Re: How to relay a varargs function? [SOLVED]
Quite a regular
Quite a regular


@xenic

That's it! It was after a warm reboot it stopped working.

How do I fix it? Is there an OS4 command to change the output while running? Is there a CFE setting (X1000) I can set to lock it to the buffer?

Software developer for Amiga OS3 and OS4.
Develops for OnyxSoft and the Amiga using E and C and occasionally C++
Go to top


Re: How to relay a varargs function?
Quite a regular
Quite a regular


@broadblues

Thanks. I'm using the SDI stuff so it should take care of this.

@xenic

Yes, but this is a macro, and about _using_ varargs. Anyway, I let SDI take care of the syntax and put the wrapper in the interface stubs.


Now I have a wierd problem that DebugPrintF() won't output anything to the debug buffer log. I get a crash in a code path I know have several DebugPrintF but no output. Worked yesterday....

Software developer for Amiga OS3 and OS4.
Develops for OnyxSoft and the Amiga using E and C and occasionally C++
Go to top



TopTop
« 1 ... 4 5 6 (7) 8 9 10 ... 27 »




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project