Ryan —
I compile with -masm=intel
Running on host it works fine. Memory is valid and zeroed.
I based m…
How exactly are you compiling that code? Because that inline assembly seems to use intel syntax? …
Ryan —
I changed result to s64 result = 0; but I still get the same invalid memory.
Your result variable is 32-bit int. Syscall returns result in rax register which is 64-bit. It pr…
Ryan —
I seem to have encountered an issue with qemu memory allocation.
1
2
3
4
5
6
7
8
9
10
1…
I really wanted to like Zig, mainly because it seemed simpler than all the fad `C-killer` languag…
If you define a subset of functions that can only have fully defined operations without global va…
C_Worm —
Allright big thanks!
I also found a small bug in the naming of variables in the shader, but now …
I'm rusty about all the OpenGL setup, but here are some things you may want to check:
- The valu…
C_Worm —
Hi!
Im trying to use two VBO's, one for sprites and one for font/text rendering.
However the gl…
spx —
I just checked on windows 7 and the problem happens for me as well.
From what I have gathered so …
Koen —
Getting told to shut down a process is kind of like getting told to chop down a tree. Making a si…
An operating system can just remap memory pages to extend a continuous space of virtual memory ad…
lets take a worst case scenario:
A big RAM hungry process that has been up for most of the day …
Kidzor —
https://devblogs.microsoft.com/oldnewthing/20120105-00/?p=8683
In the above article by Raymond C…
Ryan —
Thank you for sharing that. Viewing it like that demystified the complexities of linking (disrega…
No, he doesn't.
You can take a look at Episode 88: Push Buffer Rendering and 89: Renderer Push B…
C_Worm —
Hi!
Im wondering if casey, when he implements OpenGL core (3.3 and greater) stores vertex inform…
If you want to dynamically load your own .so files without depending on system .so files then you…
Ryan —
Ah I see. Informative as always Mārtiņš.
Sorry to bother you with something unrelated: How would…
Including other files in anonymous namespace is OK as long as you understand that you cannot put …
poe —
EDIT: Don't do this; it adds all kinds of nonsense to the compiler error messages.
I too was not…
Hello everyone! It's been a busy couple months around the network and we've got lots of exciting …
Could you share your code (and build script) so we could have a look ? What OS and what graphics …
If one uses exclusive full-screen to lower the screen resolution, the GPU drivers might add an ad…
That only lists usable memory that is not taken by any other device. Not total memory of system.
…
Ryan —
Thanks for the information regarding the use-cases for linux headers.
Follow up questions regard…
Haven't looked in detail, but that probably also includes there count of currently running kernel…
Ryan —
You're right about the include paths. My mistake.
I'm not building a kernel module. I'm making v…
I'm pretty sure doing -I/usr/src/{headers} will make <asm/bug.h> include too look in /usr/s…