Who's Online |
119 user(s) are online ( 66 user(s) are browsing Forums)
Members: 0
Guests: 119
more...
|
|
Headlines |
-
losmalditosdemo.lha - game/adventure
Mar 26, 2024
-
libfreetype.lha - development/library/graphics
Mar 25, 2024
-
ign-addon-ods.lha - office/spreadsheet
Mar 25, 2024
-
meminfo.lha - utility/hardware
Mar 25, 2024
-
libsdl2_ttf.lha - development/library/graphics
Mar 24, 2024
-
thf.lha - game/fps
Mar 24, 2024
-
amigagpt.lha - network/chat
Mar 24, 2024
-
liba52.lha - development/library/audio
Mar 23, 2024
-
libsdl2_mixer.lha - development/library/audio
Mar 23, 2024
-
amiupdate_fin.lha - utility/workbench
Mar 23, 2024
|
|
|
|
Re: Sane native?
|
Posted on: 2011/5/8 15:52
#21
|
Just popping in
|
The author of SCANdal asked for help to port the driver part to OS4 some time ago, I hope he got answers. No need to reinvent the wheel.
Edit: There's nothing preventing SANE from being adapted, AFAIR it features a USB abstraction layer that could be implemented with Sirion.
|
|
|
|
Re: Desperately in need of a working debugger
|
Posted on: 2011/4/27 18:24
#22
|
Just popping in
|
@Raziel Quote: i know now how to and can exactly find the line in the file GrimReaper is pointing to
What exactly is the problem then ? You don't know how you landed into the function which threw that DSI/ISI/whatever... ?
|
|
|
|
Re: Window under mouse?
|
Posted on: 2011/4/18 22:49
#23
|
Just popping in
|
@serpi
IntuitionBase->ActiveScreen
|
|
|
|
Re: Float display
|
Posted on: 2011/4/18 22:32
#24
|
Just popping in
|
Quote: I never understood why they chose to call the "more modern" RawDoFmt-replacement exactly like the full-fledged C runtime call, but dont implement the full functionality (thats a reason to ask where it indeed IS more modern, besides the name).
It seems quite obvious SNPrintf (just like ASPrintf) was only added to fill the gap missing in the RawDoFmt family (since there already was Printf, FPrint, VPrintf etc...), not to be compatible with snprintf. Same goes for StrlCat, StrlCpy... If you need C runtime flavours in a shared library, better use newlib. BTW, the new FormatString32() of locale.library seems quite useless now since AFAIK no system function make use of it.
|
|
|
|
Re: Float display
|
Posted on: 2011/4/18 21:16
#25
|
Just popping in
|
@abalaban Quote: There was a time when mixing DOS I/O calls with C runtime I/O calls wasn't a good idea since then I try to not mix them as safety measure.
Indeed, this is not a good idea to mix them for standard I/O (unless you Flush() DOS streams and fflush() C streams between the two). However, if I got it right you just want to format a buffer, so here using snprintf() is not a problem at all since neither malloc() nor standard streams are involved. And if you are not in a shared library there is no issue with startup code. Maybe portability is not a good reason to use it, but code simplicity is, I would not extract by hand fractional part just to avoid using snprintf("%f")
|
|
|
|
Re: Float display
|
Posted on: 2011/4/12 16:45
#26
|
Just popping in
|
@abalaban Quote: I don't understand what can block inclusion of %f and %g into RawDoFmt now
Double floats alignment issues with 68k args arrays, I would say.
|
|
|
|
Re: Float display
|
Posted on: 2011/4/11 23:24
#27
|
Just popping in
|
Standard C library I'm afraid... You can link with snprintf() in a shared library.
|
|
|
|
Re: New IntuitionPlus for next AmigaOS version !
|
Posted on: 2011/4/1 17:25
#28
|
Just popping in
|
@TSK
The builtin skins are nice.
|
|
|
|
Re: Developper documentation: official status ?
|
Posted on: 2011/3/26 11:33
#29
|
Just popping in
|
@Xenic Quote: There is a lot more information and explanations in the RKMs than you will find in the AutoDocs. I would have never been able to program anything on my Amiga1000 without those manuals.
Well, I never told the contrary. To this list you can add the Amiga Guru Book which is invaluable when it comes to programming with DOS library (handlers, I/O...) since the RKRM don't say a word about it.
|
|
|
|
Re: Developper documentation: official status ?
|
Posted on: 2010/12/5 19:47
#30
|
Just popping in
|
@Mrodfr Quote: -The content of the books could be used to make PDF or internet page with their contents for freely helping the programmers to have a modern method to know the amiga systems ?
Hem... between crawling with AmiPDF orOWB, and using Autodoc Reader or similar, my choice is done. Converting everything to "modern" format does not necesarily means it will be more efficient. Well, maybe for cross-compiling, but is it really worth the time spent ? Not to mention such things should better be generated from the source code like Autodocs.
|
|
|
|
Re: IUtility->SNPrintf bug
|
Posted on: 2010/12/1 22:48
#31
|
Just popping in
|
@tonyw
I've never had trouble using e.g. "%d" to output integers with DebugPrintF(), the documentation does not refer to RawDoFmt-style formatting but standard printf one. Regarding the alignment issue with int64, it may be a limitation of the linear varargs versus standard ABI.
|
|
|
|
Re: IUtility->SNPrintf bug
|
Posted on: 2010/12/1 17:59
#32
|
Just popping in
|
@TSK
This is mentioned in the documentation for RawDoFmt() which is used by (almost) every Amiga API function needing to format a character stream. So you will meet the same requirements for PrintF() & friends, SNPrintF() & friends, requesters, Reaction classes format strings using varargs...
An exception to this is DebugPrintF() (and possibly the only one).
|
|
|
|
Re: Virtual gadget? (was:[Solved]Plain and simple rectangle)
|
Posted on: 2010/11/24 18:17
#33
|
Just popping in
|
@Deniil
Could be, after all there is no example for this in the SDK. Did you try with a custom backfill hook ?
|
|
|
|
Re: MPlayer development thread
|
Posted on: 2010/11/22 19:18
#34
|
Just popping in
|
@varthall Quote: [...] (I'm thinking of CGX vs. P96 - later CGX vs. new OS4 gfx subsystem, ARexx vs. Python, eventually MUI vs. Reaction - later MUI vs. QT)
Ahem, what is QT doing in there ?
|
|
|
|
Re: ListBrowser gadget question
|
Posted on: 2010/11/20 13:34
#35
|
Just popping in
|
@Coder
You can find rather comprehensive examples in sdk:Examples/Reaction/OS4Examples/ListBrowser/.
|
|
|
|
Re: A possible bug in the p96 GetBitMapAttr function
|
Posted on: 2010/11/14 14:16
#36
|
Just popping in
|
@Deniil Quote: Is depth now defined as the amount of legacy pens Workbench managed to allocate or something..?!
No, you still have 256 (software) pens on high/true color screens. Since a screen cannot be transparent it's no surprise it has a 24-bit depth. I suppose window bitmaps on a composited screen are 32-bit deep.
|
|
|
|
Re: A possible bug in the p96 GetBitMapAttr function
|
Posted on: 2010/11/13 19:04
#37
|
Just popping in
|
@Massi From graphics.library autodoc (GetBitMapAttr() section): Quote: Size values returned by this function may not exactly match the values which were passed to AllocBitMap(), due to alignment restrictions.
|
|
|
|
Re: Listbrowser inplace editable nodes
|
Posted on: 2010/11/10 10:04
#38
|
Just popping in
|
@gregthecanuck
Several AOS functions already use SetIOErr() for this purpose (not sure for reaction classes though).
|
|
|
|
Re: [SOLVED] Listbrowser inplace editable nodes
|
Posted on: 2010/11/9 18:33
#39
|
Just popping in
|
@abalaban Quote: thinking again about it I'm wondering if it would not be a good idea to have a default value for that tag rather than potentially crashing ?
So true...
|
|
|
|
Re: Listbrowser inplace editable nodes
|
Posted on: 2010/11/8 18:07
#40
|
Just popping in
|
@abalaban
What did you set for LBNCA_MaxChars ?
|
|
|
|