Who's Online |
23 user(s) are online ( 14 user(s) are browsing Forums)
Members: 1
Guests: 22
MamePPCA1,
more...
|
|
Headlines |
-
gifanimdt.lha - datatype/anim
Sep 22, 2023
-
giflib-extras.lha - development/library/graphics
Sep 22, 2023
-
dtconvert.lha - utility/filetool
Sep 22, 2023
-
libx264.lha - development/library/misc
Sep 20, 2023
-
amissl-sdk.lha - development/misc
Sep 20, 2023
-
mce.lha - game/utility
Sep 20, 2023
-
amissl.lha - library/misc
Sep 20, 2023
-
mediathek.lha - network/misc
Sep 19, 2023
-
libwebp.lha - development/library/graphics
Sep 17, 2023
-
reminiscence.lha - game/adventure
Sep 17, 2023
|
|
|
|
Re: ListBrowser's WrapText
|
|
Not too shy to talk 
|
@jabirulo
Thanks for the feedback. I found my problem, when I was adding the List to the ListBrowser, I also had AutoFit and that broke it.
|
“The best thing about a boolean is even if you are wrong, you are only off by a bit.”
|
|
|
ListBrowser's WrapText
|
|
Not too shy to talk 
|
I'm trying to get my text string word wrapped.. but I'm not having any luck .. any one that have mastered this?
LAYOUT_AddChild, GUIObjects[ GID_Status ] = IIntuition->NewObject( ListBrowserClass, NULL,
LISTBROWSER_ColumnInfo, & StatusColumnInfo,
LISTBROWSER_Labels, & StatusList,
LISTBROWSER_Striping, LBS_ROWS,
LISTBROWSER_AutoFit, TRUE,
LISTBROWSER_WrapText, TRUE,
End,
n = IListBrowser->AllocListBrowserNode( 3,
LBNA_Column, 0,
LBNCA_Text, msg->cl_Time,
LBNA_Column, 1,
LBNCA_Text, str,
LBNA_Column, 2,
LBNCA_Text, msg->cl_String,
LBNCA_WordWrap, TRUE,
TAG_END
);
|
“The best thing about a boolean is even if you are wrong, you are only off by a bit.”
|
|
|
Re: gcc 9 and 10
|
|
Not too shy to talk 
|
@joerg Quote: Issue #6: Using .init_array/.fini_array instead of .ctors/.dtors requires changes in the C libraries, maybe even in elf.library. Regarding the constructor/destructor change, is it just a simple modification in crtbegin and crtend? After all, it's just a list of pointers that get called if I'm not mistaken. If we start using the .init_array/.fini_array, we need to add a priority parameter. But other than that, it should be simple, or am I overlooking something? edit: I played a little around with gcc and the linker. it looks like we need an update too adtools as I could not get gcc or the linker use .init_array's.. I tryed with a test source to create .init_array/.fini_array instead of .ctors/.dtors elf sections with this gcc -c tst.c -mcrt=clib2 -Wl,--init-array -z initarray but it did not work :/
Edited by rwo on 2023/8/20 15:43:37
|
“The best thing about a boolean is even if you are wrong, you are only off by a bit.”
|
|
|
Re: Is gprof ever works on os4 ? It is! And can be still!
|
|
Not too shy to talk 
|
@kas1e I looked at the archive you linked to earlier (clib2_profile_library.zip) in the profile_gmon.c there is this line Quote: frompc = 0; /* FIXME: was p->lowpc; needs to be 0 and assumes -Ttext=0 on compile. Better idea? */
Is this your change? Can it be as simple as changing it to 0x01000000 ?
|
“The best thing about a boolean is even if you are wrong, you are only off by a bit.”
|
|
|
Re: What happened to Exec interface's Reschedule function?
|
Posted on: 2022/8/20 19:56
#5
|
Not too shy to talk 
|
@MigthyMaxQuote:
struct Task *task = FindTask(NULL);
// changing the priority will trigger a reschedule
// TODO - User IExec->Reschedule()
oldpri = SetTaskPri(task, -10);
SetTaskPri(task, oldpri);
Well I beleave this will fail to reschedule if the Task already is running at pri. -10.
|
“The best thing about a boolean is even if you are wrong, you are only off by a bit.”
|
|
|
Re: /usr/local/amiga dir
|
Posted on: 2022/8/15 0:11
#6
|
Not too shy to talk 
|
@rjd324 yeah .. I'm trying to follow the instruction on that page but my full compile fails .. so i'm trying to figure out why and when I looked at some of the makefiles like this one https://github.com/sba1/adtools/blob/master/binutils-build/MakefileI can see its compiled with a prefix too /usr/local/amiga so I was wonder if it was be course I dident setup up this directory
|
“The best thing about a boolean is even if you are wrong, you are only off by a bit.”
|
|
|
/usr/local/amigaos dir
|
Posted on: 2022/8/14 23:17
#7
|
Not too shy to talk 
|
Okay I have a stupid question
First i'm playing around with ubuntu trying to setup a cross compiler..
playing around with adtools .. I see refrence to /usr/local/amigaos so I was wondering what is suposed to be put into that dir?
my bet is it mimic our amiga sdk: dir but i'm not sure
|
“The best thing about a boolean is even if you are wrong, you are only off by a bit.”
|
|
|
Re: Enhancer Pack 2 is all you need!!
|
Posted on: 2022/8/13 21:16
#8
|
Not too shy to talk 
|
@nbache
yes .. if it really is a system font. It would indicate that this font is broken or missing. A reinstall would be a good idea.
|
“The best thing about a boolean is even if you are wrong, you are only off by a bit.”
|
|
|
Re: Enhancer Pack 2 is all you need!!
|
Posted on: 2022/8/13 21:12
#9
|
Not too shy to talk 
|
@SinanSam460
ahh yes.. that would work.. I uploaded a new version to Mantis
|
“The best thing about a boolean is even if you are wrong, you are only off by a bit.”
|
|
|
Re: Enhancer Pack 2 is all you need!!
|
Posted on: 2022/8/12 19:50
#10
|
Not too shy to talk 
|
@LiveForIt
I see .. I was under the impression this was a system font release by Hyperion.
Well I do not recall where I got it from :/
|
“The best thing about a boolean is even if you are wrong, you are only off by a bit.”
|
|
|
Re: Enhancer Pack 2 is all you need!!
|
Posted on: 2022/8/12 19:20
#11
|
Not too shy to talk 
|
@SinanSam460
Okay that means its trying to open 'Bitstream Vera Sans.font' size 18 font but it fails.
I have changed the code so it tries diffrent fonts too avoid this in the future with falling back too topaz.font that is always present.
This of course do not help you right now.. I don't know if there currently are planned any hot fixes.
I had this font for so long I do not recall when and where it was released. I guess it should be pressent on the last full ISO/CD release of AmigaOS4
|
“The best thing about a boolean is even if you are wrong, you are only off by a bit.”
|
|
|
Re: Enhancer Pack 2 is all you need!!
|
Posted on: 2022/8/10 18:57
#12
|
Not too shy to talk 
|
@SinanSam460
The reason why it failed to load .. should be printed to serial.
if you could have a look and tell me what it prints.
anyway looking at the startup it I can see it loaded these resources
newlib.lib v50 icon.lib v50 diskfont.lib v50 dos.lib v50 gfx.lib v50 intuition.lib v50 layers.lib v50 utility.lib v50 scroller.gadget v53 'Bitstream Vera Sans.font' / 18 AllocBitmatsTags() 24x24p * 10
So my guess is either the Scroller.gadget or Font opening fails.
Can't you tell me if you have those ?
|
“The best thing about a boolean is even if you are wrong, you are only off by a bit.”
|
|
|
Re: Reactive C Library
|
Posted on: 2022/2/10 13:07
#13
|
Not too shy to talk 
|
@NinjaCyborg
uhh no.. are you?
|
“The best thing about a boolean is even if you are wrong, you are only off by a bit.”
|
|
|
Re: Reactive C Library
|
Posted on: 2022/2/10 12:55
#14
|
Not too shy to talk 
|
@NinjaCyborg
I really dont see any benefits worth mentioning by releasing to .. as long as I'm the only coder .. I don't really see the point.
|
“The best thing about a boolean is even if you are wrong, you are only off by a bit.”
|
|
|
Re: Reactive C Library
|
Posted on: 2022/2/10 9:12
#15
|
Not too shy to talk 
|
@kas1e
For the moment its only me coding on it .. so no point in releasing it ... but to be honest I havent really desited what too do with it.
|
“The best thing about a boolean is even if you are wrong, you are only off by a bit.”
|
|
|
Re: Reactive C Library
|
Posted on: 2022/2/9 22:07
#16
|
Not too shy to talk 
|
ReactiveC.library v1.3 (09-Feb-2022) rolsen
- clock_gettime() added. Only CLOCK_REALTIME and CLOCK_MONOTONIC mode are supported.
- pthread_condattr_setclock(), pthread_condattr_getclock() added.
- pthread_cond_timedwait() nolonger ignore the Timeout value;
- pthread_create(), pthread_join() added.
- pthread_mutex_timedlock() now uses Timer device. Alot more accurate and waste less cpu cycles.
|
“The best thing about a boolean is even if you are wrong, you are only off by a bit.”
|
|
|
Re: Reactive C Library
|
Posted on: 2022/1/28 19:09
#17
|
Not too shy to talk 
|
ReactiveC.library v1.2 (28-Jan-2022) rolsen
- strtol(), strtoll(), strtoimax() source codes replaced by a copy from OpenBSD.
- strtoq(), strtoumax() added.
- replaced scanf() with source codes from OpenBSD. WideChar is disabled, Long Double is just supporting a Double. %lld and %llx are now supported.
|
“The best thing about a boolean is even if you are wrong, you are only off by a bit.”
|
|
|
Re: Introducing Profyler
|
Posted on: 2022/1/21 21:42
#18
|
Not too shy to talk 
|
@msteed
I just read your amigaguide... very well done.
Normaly I only skim throu those but yours very very informative... bravo good work.
|
“The best thing about a boolean is even if you are wrong, you are only off by a bit.”
|
|
|
Re: Is gprof ever works on os4 ?
|
Posted on: 2022/1/21 18:19
#19
|
Not too shy to talk 
|
@kas1e
ld source code may be the same v2.18 ... just a small change to the include files can make huge diffrense on how it compiles and optimizes.. ie diffrent file size.
|
“The best thing about a boolean is even if you are wrong, you are only off by a bit.”
|
|
|
Re: Introducing Profyler
|
Posted on: 2022/1/21 16:44
#20
|
Not too shy to talk 
|
@msteed
Welcome
A profiler is very much welcome, thank you
|
“The best thing about a boolean is even if you are wrong, you are only off by a bit.”
|
|
|