Search found 108 matches

by softwarefailure
Tue Apr 07, 2020 1:31 pm
Forum: General Developer Support
Topic: Bug in graphics.library, diskfont.library or charset mappings
Replies: 2
Views: 1278

Bug in graphics.library, diskfont.library or charset mappings

Yesterday I discovered some strange behaviour in MUI and reported about it here: http://muidev.de/ticket/434 However, as it turned out, the bug is not in MUI but in OS4 because everything application shows the behaviour on OS4. Basically, it's this: When using ISO 8859-1 charset, the character 0xa6 ...
by softwarefailure
Sun Dec 08, 2019 4:30 pm
Forum: General Developer Support
Topic: Is it possible to use libpng et al. in a clib2 project?
Replies: 4
Views: 2760

Re: Is it possible to use libpng et al. in a clib2 project?

nbache wrote:Actually, z.library is part of (delivered and maintained with) the OS.
Right, but unfortunately, this is actually rather small. The lion's share is taken up by libpng and libjpeg and those don't seem to be available as shared libraries.
by softwarefailure
Sun Dec 08, 2019 2:44 pm
Forum: General Developer Support
Topic: Is it possible to use libpng et al. in a clib2 project?
Replies: 4
Views: 2760

Re: Is it possible to use libpng et al. in a clib2 project?

That's too bad. If it had been possible I would have been able to reduce executable size by 1 MB like on MorphOS where we have shared libraries like jfif.library, z.library and png.library that are part of the OS.
by softwarefailure
Fri Nov 29, 2019 5:01 pm
Forum: General Developer Support
Topic: Is it possible to use libpng et al. in a clib2 project?
Replies: 4
Views: 2760

Is it possible to use libpng et al. in a clib2 project?

I have a clib2 project. To reduce its executable size I'd like my project to dynamically use SOBJS:libpng.so instead of statically linking it against libpng. Is this possible? Or can those shared objects only be used in newlib projects? Specifically, I'm looking to use libpng.so, libjpeg.so, and lib...
by softwarefailure
Sat Jun 22, 2019 12:07 pm
Forum: General Developer Support
Topic: SystemTagList() inconsistency
Replies: 3
Views: 2378

SystemTagList() inconsistency

Consider the following code: SystemTags("echo hello", SYS_Output, 0, SYS_Input, 0, SYS_Asynch, TRUE, SYS_UserShell, TRUE, NP_StackSize, 32768, NP_Priority, 0, NP_Path, 0, TAG_DONE); On AmigaOS 3 and MorphOS this will print "hello" to the host program's stdout. On AmigaOS 4, howev...
by softwarefailure
Mon Dec 24, 2018 12:46 pm
Forum: General Developer Support
Topic: Serial device: set DTR and RTS status bits
Replies: 1
Views: 1703

Serial device: set DTR and RTS status bits

So I can query the states of the DTR and RTS status bits using SDCMD_QUERY on serial.device but is it also possible to set/clear the states of those bits? I don't see anything in RKRM or autodocs... anyone on here who can tell more? Tks & merry Xmas!
by softwarefailure
Sat Mar 24, 2018 10:06 pm
Forum: General Developer Support
Topic: Do we have a C++11 compatible compiler for OS4?
Replies: 4
Views: 2315

Re: Do we have a C++11 compatible compiler for OS4?

No, it's a wide char issue. Seems like the OS4 gcc doesn't support wide chars at all. Let's hope they can fix it.

See here:
https://github.com/sba1/adtools/issues/46
by softwarefailure
Sat Mar 24, 2018 1:09 pm
Forum: General AmigaOS
Topic: How to disable APPDIR:?
Replies: 2
Views: 2160

How to disable APPDIR:?

I had some very strange behaviour until I noticed that this was caused by the new APPDIR: feature which I didn't know about. Is there any way to disable it? I've currently saved an empty file as ENVARC:APPDIR to make it go away but of course that is a rather brute force solution. Maybe there is a mo...
by softwarefailure
Fri Mar 23, 2018 3:32 pm
Forum: General Developer Support
Topic: Do we have a C++11 compatible compiler for OS4?
Replies: 4
Views: 2315

Re: Do we have a C++11 compatible compiler for OS4?

Thanks. I don't need threads or dynamic linking so it should be fine. Unfortunately, it doesn't work. I tried both the oldest (18/02/17) and latest (29/01/18) of the packages from your link but they both don't work. Here is what I get: In file included from /dh1/Programmieren/adtools-os4-20170218-37...