Search found 684 matches

by Allanon
Mon Sep 26, 2022 6:17 pm
Forum: Showcase
Topic: Date & Time utility functions
Replies: 1
Views: 58

Date & Time utility functions

Hello all, I want to share with you an include file with some utility functions/methods to deal with dates and times. Methods are used with a date object and allow you to manipulate dates comparing, adding, subtracting them with other date objects. It requires some additional libraries of mine that ...
by Allanon
Mon Jul 18, 2022 12:24 pm
Forum: RebelSDL
Topic: Possible bug with FreeBrush()
Replies: 1
Views: 414

Possible bug with FreeBrush()

Hello, I'm working on a configurable clock with newsfeed and other features, for this project I'm trying to use RebeSDL but I've noticed that memory is not released after any FreeBrush() call for hardware brushes, while software ones have not this problem. I free all brushes when a new clock layout ...
by Allanon
Fri Jun 03, 2022 12:04 pm
Forum: Showcase
Topic: SHA and HMAC functions ported to Hollywood
Replies: 10
Views: 3703

Re: SHA and HMAC functions ported to Hollywood

Hi @lazi! Happy that it is working now! If you have updated to the latest version of Hollywood please try the update libSHA I've uploaded just a few minutes ago on GitHub, it should be faster now, no more emulation of bitwise operators since Andreas has fixed this problem on ARM devices :) Let me kn...
by Allanon
Tue Apr 26, 2022 10:28 am
Forum: Announcements
Topic: Hollywood 9.1 out now
Replies: 10
Views: 1760

Re: Hollywood 9.1 out now

Thank you Andreas, the change log is impressive :D
by Allanon
Sun Apr 17, 2022 9:32 am
Forum: Hollywood bugs
Topic: Different results on different systems
Replies: 8
Views: 1584

Re: Different results on different systems

Thank you Andreas for your efforts to fix this problem :)
32 bit precision is fine :D
by Allanon
Fri Apr 15, 2022 4:25 pm
Forum: Hollywood bugs
Topic: Different results on different systems
Replies: 8
Views: 1584

Re: Different results on different systems

Hi jalih, thank you for the suggestion, I'll try your code to see if it's faster than mine :) What I was trying to do is to reduce a 64bit number to a 32bit one ignoring the bits 63-33 so I can use bitwise operators on Linux ARM which currently returns wrong results for number bigger than 32bit, whi...
by Allanon
Fri Apr 15, 2022 9:14 am
Forum: Showcase
Topic: SHA and HMAC functions ported to Hollywood
Replies: 10
Views: 3703

Re: SHA and HMAC functions ported to Hollywood

Hello all :) As you can see in the "bug report" subforum I've found a bug with bitwise operators that was returning a full 32bit value if the number is bigger than 32bit. This is happening only on my Raspberry Pi 4 and not on Windows where the bit greater than 32 bit are simply ignored. I've imopple...
by Allanon
Thu Apr 14, 2022 9:37 am
Forum: Hollywood bugs
Topic: Different results on different systems
Replies: 8
Views: 1584

Re: Different results on different systems

Hello again, I've found a relatively fast way to deal with this bug, for all people facing this problem and want to reduce a number to 32bit without using bitwise operators (which cause problems on ARM devices) here is my solution: Local max32bit = 4294967295 Local overflow = max32bit + 1 Local mb =...
by Allanon
Thu Apr 14, 2022 8:47 am
Forum: Hollywood bugs
Topic: Different results on different systems
Replies: 8
Views: 1584

Re: Different results on different systems

Hello, seems that Cast() has the same problem on ARM machines, a >32bit number cannot be converted into a 32bit one. DebugPrint("CAST() TEST") Local maxvalue = 2^32-1 Local overflow1 = maxvalue+1 Local overflow2 = maxvalue+2^33 DebugPrint(" 1. max 32 bit: ", maxvalue) DebugPrint(" 2. max + 1 : ", ov...
by Allanon
Sun Apr 03, 2022 6:15 pm
Forum: Hollywood bugs
Topic: Different results on different systems
Replies: 8
Views: 1584

Re: Different results on different systems

mmm... ok, I see... so if I split it into two 32bit numbers and do a manual ror/rol on them and then reassemble the "big" number it should work? I will try :)