Search found 6 matches

by zx64
Tue May 18, 2021 4:36 am
Forum: Bug reports
Topic: Another bug found
Replies: 1
Views: 546

Another bug found

#include <stdio.h> typedef unsigned short uint16; uint16 x, y; static uint16 printHello() { printf("\nHello"); return 1; } static uint16 hello(uint16 a, uint16 b) { uint16 result = 0; if(a + b > x - y){ result = printHello(); } return result; } void main() { x = 2000; y = 1000; hello(600,...
by zx64
Fri Apr 30, 2021 3:29 am
Forum: Windows
Topic: x32 binaries for windows missing regex2.dll
Replies: 2
Views: 885

x32 binaries for windows missing regex2.dll

Thanks for including 32 bit binaries in the latest nightly builds (this helps a lot, my main development machine is Win XP). However they are missing regex2.dll - m4.exe can't start "because regex2.dll is missing" (this is error message). I found regex2.dll from 2.0 release https://github....
by zx64
Fri Apr 30, 2021 3:10 am
Forum: Bug reports
Topic: Found couple of bugs
Replies: 4
Views: 793

Re: Found couple of bugs

Thanks it works indeed. I will use it as a workaround for now
by zx64
Thu Apr 29, 2021 3:04 am
Forum: Bug reports
Topic: Found couple of bugs
Replies: 4
Views: 793

Re: Found couple of bugs

Bug 2 #include <stdio.h> typedef unsigned long uint32; typedef unsigned short addr16; typedef unsigned short uint16; typedef unsigned char uint8; uint8* memory = 0; void memWrite(uint32 sectorNumber){ uint16 value = 200; uint32* byte51202 = (uint32*)(memory + 51202); *byte51202 = sectorNumber; memor...
by zx64
Thu Apr 29, 2021 3:00 am
Forum: Bug reports
Topic: Found couple of bugs
Replies: 4
Views: 793

Found couple of bugs

Bug 1 #include <stdio.h> typedef unsigned long uint32; typedef unsigned short addr16; typedef unsigned short uint16; typedef unsigned char uint8; uint8* stack = 0; addr16 stackTop = 0; static uint32 stackPeek() { uint8* location = stack + stackTop; return *((uint32*)location); } static uint32 stackP...