Search found 681 matches

by Allanon
Tue Apr 26, 2022 10:28 am
Forum: Announcements
Topic: Hollywood 9.1 out now
Replies: 9
Views: 700

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: 841

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: 841

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: 7
Views: 2442

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: 841

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: 841

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: 841

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 :)
by Allanon
Wed Mar 30, 2022 11:08 am
Forum: Hollywood bugs
Topic: Different results on different systems
Replies: 8
Views: 841

Different results on different systems

Hello, I've a strange behaviour with my sha library because it works on Windows but fails on Raspberry, digging in the code I've isolated the problem and seems that bit functions are giving different results, here is the test code: Function _ROL(x, y) Return(Rol(x, y)) EndFunction Local v = 51405282...
by Allanon
Sun Jan 16, 2022 12:25 pm
Forum: Showcase
Topic: ANSI Lib
Replies: 5
Views: 4935

Re: ANSI Lib

Thank you very much Andreas!
Yes, I could add many basic stuff like requesters for example :)
This is very useful on Linux servers with just the console.
by Allanon
Wed Jan 12, 2022 1:13 am
Forum: Showcase
Topic: ANSI Lib
Replies: 5
Views: 4935

Re: ANSI Lib

Hello, Latest version is available on GitHub -> https://github.com/Allanon71/Hollywood-MAL-Libraries I've also completed the wiki with proper documentation. Some screenshots: Menu system for quick development of console applications https://i.imgur.com/wqOWPos.png Simple progress bar https://i.imgur...