Search found 2146 matches

by Inf0Byt3
Tue Aug 23, 2016 9:43 am
Forum: Off Topic
Topic: complete absurdity in the 21 century
Replies: 2
Views: 2371

Re: complete absurdity in the 21 century

Sadly nothing about this child beheaded by the 'moderate opposition' made the news: http://www.dailymail.co.uk/news/article-3697770/US-backed-Nour-al-Din-al-Zenki-behead-boy-accused-al-Quds-spy-Assad.html And many others like that. Who cried for him? People who use their brains will see through the ...
by Inf0Byt3
Fri Jul 01, 2016 2:14 am
Forum: Coding Questions
Topic: Questions to canvas
Replies: 2
Views: 1128

Re: Questions to canvas

In theory you should be able to use GrabDrawingImage() while drawing on WindowOutput() to get the piece of window drawn under the canvas. This will also work when the window hasn't got a consistent color (e.g. when using themes). Then you could draw this piece as a background (to mimic transparency)...
by Inf0Byt3
Fri Sep 25, 2015 3:25 pm
Forum: Linux
Topic: PB 5.40 Beta 6 x64 - Progressbar height ignored
Replies: 6
Views: 3870

Re: PB 5.40 Beta 6 x64 - Progressbar height ignored

I'm using KDE here (it shouldn't matter I guess). I installed many GTK3 themes before posting the report and strangely they all had this problem. But I think you are right, there must be a problem with the themes since I installed the kde-config-gtk-style-preview and the progressbars are shown small...
by Inf0Byt3
Sun Sep 20, 2015 12:50 am
Forum: Linux
Topic: PB 5.40 Beta 6 x64 - Progressbar height ignored
Replies: 6
Views: 3870

PB 5.40 Beta 6 x64 - Progressbar height ignored

Not sure if this is a problem with GTK itself / my current theme or PB, but the rendered height of the progress bar seems to remain fixed no matter what value is used: If OpenWindow(0, 0, 0, 320, 160, "ProgressBarGadget", #PB_Window_SystemMenu | #PB_Window_ScreenCentered) TextGadget (0, 10...
by Inf0Byt3
Thu Aug 06, 2015 8:10 am
Forum: Tricks 'n' Tips
Topic: ChaCha cipher module
Replies: 15
Views: 4875

Re: ChaCha cipher module

Nice code Wilbert, thanks! It's lightning fast too.
by Inf0Byt3
Fri Jun 05, 2015 1:52 am
Forum: Tricks 'n' Tips
Topic: BLAKE hash function include (x86) (5 Jun 2015)
Replies: 4
Views: 3093

Re: BLAKE hash function include (x86) (12 Jun 2014)

Hi. Found the problem. It seems that I forgot to write ProcedureReturn in _blake_BSWAP64() :P. Updated the code in the first post and it passes the test vectors now (tested on Debian 64bit with PB 5.31).
by Inf0Byt3
Sun Apr 26, 2015 6:33 pm
Forum: Assembly and C Programming in PureBasic
Topic: Preserving EBX register
Replies: 3
Views: 3825

Re: Preserving EBX register

Thank you both for the explanation, it's perfectly clear now. I'll save the register in a variable as advised. Still got many things to learn :mrgreen:.
by Inf0Byt3
Sun Apr 26, 2015 5:15 pm
Forum: Assembly and C Programming in PureBasic
Topic: Preserving EBX register
Replies: 3
Views: 3825

Preserving EBX register

I've got this procedure where I need an extra register besides eax, ecx and edx. ebx seems to be good for the task, but I can't seem to be able to preserve it. For example consider the following code: Procedure myproc(bbb.l) CompilerIf #PB_Compiler_Processor = #PB_Processor_x64 !push rbx CompilerEls...
by Inf0Byt3
Fri Apr 17, 2015 11:03 am
Forum: Bugs - IDE
Topic: 5.31 x64 - IDE: Session history + IDE slowdown
Replies: 0
Views: 1915

5.31 x64 - IDE: Session history + IDE slowdown

1. On a new installation of PureBasic 5.31, if the 'Enable recording of history' checkbox is disabled in settings then OK is pressed, the IDE will lock up and not respond to input (CPU usage increased as well). The settings dialog will not close anymore. 2. After compiling a big project (~20k lines)...
by Inf0Byt3
Wed Apr 08, 2015 1:25 pm
Forum: Feature Requests and Wishlists
Topic: [IDE] Compiled file (executable) name
Replies: 3
Views: 2010

Re: [IDE] Compiled file (executable) name

I think that is the way most (Windows) save dialogs work, unless "All Files (*.*)" is selected, then no extension will be added. BUT it seems like the IDE always defaults to "Executable" so you have to select "All Files" every time... maybe the IDE should remember your...
by Inf0Byt3
Wed Apr 08, 2015 12:50 pm
Forum: Feature Requests and Wishlists
Topic: [IDE] Compiled file (executable) name
Replies: 3
Views: 2010

[IDE] Compiled file (executable) name

Two suggestions regarding the executable creation / compilation: Currently, each time we select 'Create executable' from the menu, a dialog to select the output filename appears. This dialog also has a filter for the file extension, but it seems that the extension gets added automatically to the out...
by Inf0Byt3
Wed Mar 25, 2015 10:50 pm
Forum: Coding Questions
Topic: CPU registers in 64-bit
Replies: 4
Views: 1514

Re: CPU registers in 64-bit

Good information, thanks. It's nice to know there are more volatile registers available for use, as things can get slow when dealing with memory alone. Working with registers makes quite the difference, especially for hash and encryption algos.
by Inf0Byt3
Wed Mar 25, 2015 12:00 am
Forum: Coding Questions
Topic: CPU registers in 64-bit
Replies: 4
Views: 1514

Re: CPU registers in 64-bit

Thanks for the confirmation.
by Inf0Byt3
Tue Mar 24, 2015 9:56 pm
Forum: Coding Questions
Topic: CPU registers in 64-bit
Replies: 4
Views: 1514

CPU registers in 64-bit

In the manual it is written that: - On x86 processors, the available volatile registers are: eax, ecx and edx. All others must be always preserved. - On x64 processors, the available volatile registers are: rax, rcx, rdx, r8, r9, xmm0, xmm1, xmm2 and xmm3. All others must be always preserved. In thi...
by Inf0Byt3
Fri Mar 13, 2015 8:09 pm
Forum: Feature Requests and Wishlists
Topic: Possibility to compile for x86 under x64 Linux
Replies: 0
Views: 1308

Possibility to compile for x86 under x64 Linux

Hi, I tried following one of the blog posts in order to compile an x86 program on a Debian Wheezy 7.8 x64 box with PureBasic 5.31 x86, but ran into some problems. The IDE launches fine, however at compilation I get many errors looking like this: /urs/bin/ld: i386 architecture of input file 'purebasi...