Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
46 user(s) are online (30 user(s) are browsing Forums)

Members: 0
Guests: 46

more...

Headlines

Forum Index


Board index » All Posts (rwo)




Re: Reactive C Library
Not too shy to talk
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.”
Go to top


Re: Reactive C Library
Not too shy to talk
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.”
Go to top


Re: Reactive C Library
Not too shy to talk
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.”
Go to top


Re: Reactive C Library
Not too shy to talk
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.”
Go to top


Re: Reactive C Library
Not too shy to talk
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.”
Go to top


Re: Introducing Profyler
Not too shy to talk
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.”
Go to top


Re: Is gprof ever works on os4 ?
Not too shy to talk
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.”
Go to top


Re: Introducing Profyler
Not too shy to talk
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.”
Go to top


Re: Hello! I'm Torque
Not too shy to talk
Not too shy to talk


@Torque

Welcome nice too see new faces

“The best thing about a boolean is even if you are wrong, you are only off by a bit.”
Go to top


Re: Reactive C Library
Not too shy to talk
Not too shy to talk


@NinjaCyborg

I have rewritten the IO Parts to use AmigaOS4 64bits dos functions. Where clib2 uses 32bit and some tricks to do 64bits.

So its not so easy to back port to AmigaOS3 .. but ofcoarse its not impossible.

“The best thing about a boolean is even if you are wrong, you are only off by a bit.”
Go to top


Re: Reaction C Library
Not too shy to talk
Not too shy to talk


@kas1e

damn too tired ... you are correct .. its called Reactive

its a third choice for GCC ... but I need someone to update GCC to understand -mcrt=ralib ... currently gcc only understand -mcrt=clib2 and -mcrt=newlib

Thanks for the heads up .. I'll correct the text right away

“The best thing about a boolean is even if you are wrong, you are only off by a bit.”
Go to top


Re: Reaction C Library
Not too shy to talk
Not too shy to talk




## Amiga ##

v1.1 - ArgArrayInit
v1.1 - ArgArrayDone
v1.1 - ArgInt
v1.1 - ArgString
v1.1 - NewList
v1.1 - NewMinList


## Assert ##

v1.1 - assert


## CType ##

v1.1 - isalnum
v1.1 - isalpha
v1.1 - isascii
v1.1 - isblank
v1.1 - iscntrl
v1.1 - isdigit
v1.1 - isgraph
v1.1 - islower
v1.1 - isprint
v1.1 - ispunct
v1.1 - isspace
v1.1 - isupper
v1.1 - isxdigit
v1.1 - tolower
v1.1 - toupper


## Dirent ##

v1.1 - closedir
v1.1 - opendir
v1.1 - readdir
v1.1 - rewinddir


## FCntl ##

v1.1 - creat
v1.1 - fcntl ( Partial )
v1.1 - open


## Inttypes ##

v1.1 - imaxabs
v1.1 - imaxdiv
v1.1 - strtoimax
v1.2 - strtoumax


## Locale ##

v1.1 - localeconv


## Math ##

( Float [4], Double [8], Long Double [12], Double Double [16] )

v1.1 - __signbit (F/D/LD)
v1.1 - ceil (F/D)
v1.1 - copysign (F/D)
v1.1 - fabs (F/D)
v1.1 - fdim (F/D)
v1.1 - floor (F/D)
v1.1 - fpclassify (F/D)
v1.1 - fmax (F/D)
v1.1 - fmin (F/D)
v1.1 - fmod (F/D)
v1.1 - isfinite (F/D)
v1.1 - isinf (F/D)
v1.1 - isnan (F/D)
v1.1 - log (F/D)
v1.1 - log10 (F/D)
v1.1 - nan (F/D)
v1.1 - pow (F/D)
v1.1 - scalbn (F/D)
v1.1 - sqrt (F/D)


## Netdb ##

v1.1 - freeaddrinfo
v1.1 - gai_strerror
v1.1 - getaddrinfo
v1.1 - gethostbyaddr
v1.1 - gethostbyname
v1.1 - getnameinfo
v1.1 - getservbyname
v1.1 - getservbyport


## Poll ##

v1.1 - poll
v1.1 - waitpoll


## PThread ##

v1.3 - pthread_create
v1.1 - pthread_equal
v1.1 - pthread_exit
v1.3 - pthread_join
v1.1 - pthread_once
v1.1 - pthread_self

v1.1 - pthread_attr_init
v1.1 - pthread_attr_destroy

v1.1 - pthread_barrier_init
v1.1 - pthread_barrier_destroy
v1.1 - pthread_barrierattr_init
v1.1 - pthread_barrierattr_destroy

v1.1 - pthread_cond_init
v1.1 - pthread_cond_wait
v1.1 - pthread_cond_signal
v1.1 - pthread_cond_broadcast
v1.1 - pthread_cond_timedwait
v1.1 - pthread_cond_destroy
v1.1 - pthread_condattr_init
v1.1 - pthread_condattr_destroy
v1.3 - pthread_condattr_getclock
v1.3 - pthread_condattr_setclock

v1.1 - pthread_mutex_init
v1.1 - pthread_mutex_lock
v1.1 - pthread_mutex_unlock
v1.1 - pthread_mutex_trylock
v1.1 - pthread_mutex_timedlock
v1.1 - pthread_mutex_destroy
v1.1 - pthread_mutexattr_init
v1.1 - pthread_mutexattr_destroy
v1.1 - pthread_mutexattr_settype
v1.1 - pthread_mutexattr_gettype

v1.1 - pthread_rwlock_init
v1.1 - pthread_rwlock_rdlock
v1.1 - pthread_rwlock_wrlock
v1.1 - pthread_rwlock_unlock
v1.1 - pthread_rwlock_tryrdlock
v1.1 - pthread_rwlock_trywrlock
v1.1 - pthread_rwlock_timedrdlock
v1.1 - pthread_rwlock_timedwrlock
v1.1 - pthread_rwlock_destroy
v1.1 - pthread_rwlockattr_init
v1.1 - pthread_rwlockattr_destroy

v1.1 - pthread_spinlock_init
v1.1 - pthread_spinlock_lock
v1.1 - pthread_spinlock_unlock
v1.1 - pthread_spinlock_trylock
v1.1 - pthread_spinlock_destroy


## Setjmp ##

v1.1 - longjmp
v1.1 - setjmp


## Signal ##

v1.1 - raise
v1.1 - signal


## Stdio ##

v1.1 - asprintf
v1.1 - clearerr
v1.1 - ctermid
v1.1 - fclose
v1.1 - fdopen
v1.1 - feof
v1.1 - ferror
v1.1 - fflush
v1.1 - fgetc
v1.1 - fgetpos
v1.1 - fgets
v1.1 - fileno
v1.1 - flockfile
v1.1 - fopen
v1.1 - fprintf
v1.1 - fputc
v1.1 - fputs
v1.1 - fread
v1.1 - fscanf
v1.1 - fseek
v1.1 - fseeko
v1.1 - fsetpos
v1.1 - ftell
v1.1 - ftello
v1.1 - ftrylockfile
v1.1 - funlockfile
v1.1 - fwrite
v1.1 - getc
v1.1 - getc_unlocked
v1.1 - getchar
v1.1 - getchar_unlocked
v1.1 - perror
v1.1 - printf
v1.1 - putc
v1.1 - putc_unlocked
v1.1 - putchar
v1.1 - putchar_unlocked
v1.1 - puts
v1.1 - remove
v1.1 - rename
v1.1 - rewind
v1.1 - scanf
v1.1 - setbuf
v1.1 - setvbuf
v1.1 - snprintf
v1.1 - sprintf
v1.1 - sscanf
v1.1 - tmpfile
v1.1 - tmpnam
v1.1 - tmpnam_r
v1.1 - ungetc
v1.1 - vasprintf
v1.1 - vfprintf
v1.1 - vsnprintf
v1.1 - vsprintf


## Stdlib ##

v1.1 - _Exit
v1.1 - abort
v1.1 - abs
v1.1 - arc4random
v1.1 - arc4random_buf
v1.1 - arc4random_stir
v1.1 - arc4random_uniform
v1.1 - arc4random_addrandom
v1.1 - atexit
v1.1 - atof
v1.1 - atoi
v1.1 - atol
v1.1 - atoll
v1.1 - bsearch
v1.1 - calloc
v1.1 - div
v1.1 - exit
v1.1 - free
v1.1 - freezero
v1.1 - getenv
v1.1 - getprogname
v1.1 - initstate
v1.1 - jrand48
v1.1 - labs
v1.1 - ldiv
v1.1 - llabs
v1.1 - lldiv
v1.1 - lrand48
v1.1 - malloc
v1.1 - mblen
v1.1 - mbtowc
v1.1 - mrand48
v1.1 - nrand48
v1.1 - qsort
v1.1 - rand
v1.1 - rand_r
v1.1 - random
v1.1 - realloc
v1.1 - reallocarray
v1.1 - recallocarray
v1.1 - setprogname
v1.1 - setstate
v1.1 - srand
v1.1 - srand48
v1.1 - srandom
v1.1 - strtod
v1.1 - strtof
v1.1 - strtol
v1.2 - strtoq
v1.1 - strtoll
v1.1 - strtoul
v1.1 - strtoull
v1.1 - system


## String ##

v1.1 - ffsl
v1.1 - ffsll
v1.1 - memccpy
v1.1 - memchr
v1.1 - memcmp
v1.1 - memcpy
v1.1 - memmem
v1.1 - memmove
v1.1 - memset
v1.1 - stpcpy
v1.1 - stpncpy
v1.1 - strcat
v1.1 - strchr
v1.1 - strcmp
v1.1 - strcoll
v1.1 - strcpy
v1.1 - strcspn
v1.1 - strdup
v1.1 - strerror
v1.1 - strerror_r
v1.1 - strlcat
v1.1 - strlcpy
v1.1 - strlen
v1.1 - strncat
v1.1 - strncmp
v1.1 - strncpy
v1.1 - strndup
v1.1 - strnlen
v1.1 - strpbrk
v1.1 - strrchr
v1.1 - strsep
v1.1 - strspn
v1.1 - strstr
v1.1 - strtok
v1.1 - strtok_r
v1.1 - strxfrm
v1.1 - timingsafe_memcmp


## Strings ##

v1.1 - bcmp
v1.1 - bcopy
v1.1 - bzero
v1.1 - explicit_bzero
v1.1 - ffs
v1.1 - index
v1.1 - rindex
v1.1 - strcasecmp
v1.1 - strncasecmp
v1.1 - timingsafe_bcmp


## SysLog ##

( Call to SysLog are forwarded to SysLog.library )

v1.1 - closelog
v1.1 - closelog_r
v1.1 - openlog
v1.1 - openlog_r
v1.1 - setlogmask
v1.1 - setlogmask_r
v1.1 - syslog
v1.1 - syslog_r
v1.1 - vsyslog
v1.1 - vsyslog_r


## Time ##

v1.1 - asctime
v1.1 - asctime_r
v1.1 - clock
v1.3 - clock_gettime
v1.1 - ctime
v1.1 - ctime_r
v1.1 - gmtime
v1.1 - gmtime_r
v1.1 - localtime
v1.1 - localtime_r
v1.1 - mktime
v1.1 - time
v1.1 - timegm


## Unistd ##

v1.1 - _exit
v1.1 - close
v1.1 - ftruncate
v1.1 - getcwd
v1.1 - getpagesize
v1.1 - getpid
v1.1 - getppid
v1.1 - getwd
v1.1 - isatty
v1.1 - lseek
v1.1 - pread
v1.1 - pwrite
v1.1 - read
v1.1 - rmdir
v1.1 - swab
v1.1 - write


## UTime ##

v1.1 - utime


## WChar ##

v1.1 - wcscat
v1.1 - wcschr
v1.1 - wcscmp
v1.1 - wcslcat
v1.1 - wcslcpy
v1.1 - wcslen
v1.1 - wmemchr
v1.1 - wmemcmp
v1.1 - wmemcpy
v1.1 - wmemmove
v1.1 - wmemset


## Sys / Socket ##

v1.1 - accept
v1.1 - bind
v1.1 - connect
v1.1 - getpeername
v1.1 - getsockname
v1.1 - getsockopt
v1.1 - inet_addr
v1.1 - inet_ntoa
v1.1 - inet_ntop
v1.1 - inet_pton
v1.1 - listen
v1.1 - recv
v1.1 - recvfrom
v1.1 - select
v1.1 - send
v1.1 - sendto
v1.1 - setsockopt
v1.1 - shutdown
v1.1 - socket
v1.1 - waitselect


## Sys / Stat ##

v1.1 - fstat
v1.1 - mkdir
v1.1 - stat


## Sys / Time ##

v1.1 - gettimeofday


## Sys / Uio ##

v1.1 - readv
v1.1 - writev



Edited by rwo on 2022/1/28 19:09:28
Edited by rwo on 2022/2/9 22:07:45
“The best thing about a boolean is even if you are wrong, you are only off by a bit.”
Go to top


Reactive C Library
Not too shy to talk
Not too shy to talk


Hello I have uploaded a new c library to OS4Depot.

Its something I have been working on and off for some time but I need to motivation... so I released it in it current form.

This clib should be treated as a alpha release so you should proberly not relay too much on it as its proberly full of bugs.

about the name, while it has the name Reactive its not relient on any external library other than AmigaOS4 offcial libraries.

Regards
René W. Olsen


-- Readme.txt

Reactive C Library is based on clib2 by Olaf Barthel just in Shared Amiga Library format.


-- Warning GCC only support Newlib or clib2 modes .. So I have overwritten the clib2 sdk includes files, so bakcup the old dirs first --


-- Diffrences between clib2/newlib and this clib

time_t - This is a 64 bits where its possible to go past 2038. But there would be
convertion problem going back and to Amiga dates.

off_t - This is a 64 bits where some of the stdio functions can return a file value.
eg. tello() will return a 64 bit file pos.

fpos_t - This is a 64 bits where some of the stdio functions can return a file value.
eg. fgetpos()

clock_t - This is a 64 bits

'struct timeval' uses the 'time_t' define.. so it also uses 64bit

wchar_t is defined as a uint32, clib2 has 16bits, newlib has 32bit



Edited by rwo on 2022/1/14 22:33:30
“The best thing about a boolean is even if you are wrong, you are only off by a bit.”
Go to top


Re: Amiga X5k CPU Cooler
Not too shy to talk
Not too shy to talk


@kas1e

I watched you video .. and its was easy to exchange the cooler.

I added a limiter so its not running at 3000 but only the 2400 rpm ... and so far every thing is stable.

“The best thing about a boolean is even if you are wrong, you are only off by a bit.”
Go to top


Re: Amiga X5k CPU Cooler
Not too shy to talk
Not too shy to talk


@walkero

Thank you .. exactly what I needed .. I odered one now .. lets hope its very silent

“The best thing about a boolean is even if you are wrong, you are only off by a bit.”
Go to top


Amiga X5k CPU Cooler
Not too shy to talk
Not too shy to talk


My Amiga X5k CPU Cooler is killing me slowly with a loud noise it makes..

Do anyone have a good tip for a new cooler?

Or maybe if you know what type of cooler to use .. as it is now a days cpu cooler spec are down to x86 cpu types.

Help please

Regards
René

“The best thing about a boolean is even if you are wrong, you are only off by a bit.”
Go to top


Re: How to get my local IP address?
Not too shy to talk
Not too shy to talk


well if you want to get the ip addr from a shell you can use my util rIPConfig but if you want to get it from code you can use BSD Socket library

call Queryinterface with IFQ_Address

René

“The best thing about a boolean is even if you are wrong, you are only off by a bit.”
Go to top


Re: ILBM or IFF
Not too shy to talk
Not too shy to talk


@thomas

calling it .iff is not very informative.. as it could be grapahics, sound, text or other stuff

personaly I sort of like .lbm

René

“The best thing about a boolean is even if you are wrong, you are only off by a bit.”
Go to top


Re: The Xena Research Project Part 1
Not too shy to talk
Not too shy to talk


@apsturk

Nice article.. enjoyed reading it..

looking forward to the next.. for I think it could be fun playing around with the xmos chips

“The best thing about a boolean is even if you are wrong, you are only off by a bit.”
Go to top


Re: ProcessPixelArray() rewrite
Not too shy to talk
Not too shy to talk


@kas1e

This Color values is swapped.. so if you want to use it under AOS4 you need a AARRGGBB format not BBGGRRAA.

Edit: Just commenting your source code for Brighten/Darken.

“The best thing about a boolean is even if you are wrong, you are only off by a bit.”
Go to top



TopTop
(1) 2 3 4 ... 13 »




Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project