Search found 3673 matches

by Baker
Tue Sep 19, 2017 10:49 pm
Forum: General Discussion
Topic: [TO ADMINS]Forum logout session time
Replies: 13
Views: 16106

Re: [TO ADMINS]Forum logout session time

There's still some active adiministrator that manages this site? Because, since we migrated from inside3d we lost tons of users and forum activity is getting lower and lower..plus home page is never updated, so CSQC sticky section (and during 2016/2017 there have been TONS of new things to publish ...
by Baker
Sun Aug 27, 2017 4:22 am
Forum: Engine Programming
Topic: Calling Conventions/Stack
Replies: 14
Views: 10161

Re: Calling Conventions/Stack

Ghost town update, haha :razz: Constructing IDE. Mostly to test setting breakpoints and then "edit and continue". With edit and continue, I'm trying to sort out a logical way to determine what code has changed. I think as a matter of low common denominator it can only be code inside a sing...
by Baker
Wed Aug 09, 2017 4:22 am
Forum: Engine Programming
Topic: Calling Conventions/Stack
Replies: 14
Views: 10161

Re: Calling Conventions/Stack

The wiring this kind of thing involves is astounding and very boring, but puts fun computer science challenges in front of you. Even with support for numerous datatypes in the opcodes, did a speed test and get 2,000,000+ byte code instructions per second. Fundtion calls, which have to load up the st...
by Baker
Wed Aug 02, 2017 2:35 am
Forum: Engine Programming
Topic: Calling Conventions/Stack
Replies: 14
Views: 10161

Re: Calling Conventions/Stack

Funny the mind-bending problems something like this smacks you with. :biggrin: You kept jacking up the specs and rewriting everything ... Then suddenly you realize you have it running. And it scares you a little bit. :razz: Sure there are 12 more complex things to do. But when you've done the hardes...
by Baker
Wed Jul 19, 2017 1:17 pm
Forum: Engine Programming
Topic: Max_mode_list
Replies: 4
Views: 5179

Re: Max_mode_list

Does Quakespasm have this problem on your Windows 10 machine? If no, then it isn't EnumDisplaySettings being slow. Although Quakespasm is SDL, the SDL functions for getting available video modes just callls EnumDisplaySettings. You may also try a different NVIDIA driver version, it is remarkable how...
by Baker
Tue Jul 18, 2017 1:32 am
Forum: Engine Programming
Topic: Calling Conventions/Stack
Replies: 14
Views: 10161

Re: Calling Conventions/Stack

JIT actually means that functions are converted to native machine code only when the function's actually executed. Q3 takes the lazy choice and does Ahead-Of-Time compilation instead. Basically just convert the entire thing at load time instead of run time. Ahead of time compilation, although not a...
by Baker
Fri Jun 30, 2017 11:38 am
Forum: Engine Programming
Topic: Calling Conventions/Stack
Replies: 14
Views: 10161

Re: Calling Conventions/Stack

If just for curiosity you could have a look at doom3's menu system, its pretty standard xml albeit written in C++, but it might give you some ideas. I've been digging down and studying the Java virtual machine, the C# one and looking at assembly. While it is not obvious, asm actually contains a sho...
by Baker
Tue Jun 13, 2017 5:12 am
Forum: Engine Programming
Topic: Calling Conventions/Stack
Replies: 14
Views: 10161

Re: Calling Conventions/Stack

just use menuqc. implement the core builtins from https://github.com/xonotic/darkplaces/blob/master/dpdefs/menudefs.qc while skipping the all the network+font crap, while throwing in sprintf+the easier fte_strings builtins. hopefully autocvars too. Had to do a coin flip between truth or dare. Came ...
by Baker
Mon Jun 12, 2017 7:31 pm
Forum: Engine Programming
Topic: Calling Conventions/Stack
Replies: 14
Views: 10161

Re: Calling Conventions/Stack

Have you checked out libffi Baker? This lets you call compiled code at runtime given the function name as a string. https://en.wikipedia.org/wiki/Libffi That could be helpful. I've actually already written up a C external library loader (I have long had multi-target rendering ... DX8/DX9/Open GL, n...
by Baker
Mon Jun 12, 2017 5:41 am
Forum: Engine Programming
Topic: Calling Conventions/Stack
Replies: 14
Views: 10161

Calling Conventions/Stack

Here is a great guide to structure of the stack and what goes on in a function call. http://www.tenouk.com/Bufferoverflowc/Bufferoverflow2a.html (detailed function call) http://dwarfstd.org/DownloadDwarf5.php (how debug information for gdb is stored) https://en.wikipedia.org/wiki/X86_instruction_lis...
by Baker
Fri May 19, 2017 11:49 pm
Forum: General Discussion
Topic: Quake "champions"
Replies: 46
Views: 42422

Re: Quake "champions"

Microsoft released a patch for the SMB vulnerability back in March. Those with the patch installed were immune. Russia and China got hit hard because they use pirated copies of Windows that don't get patches. https://support.microsoft.com/en-us/help/4012212/march-2007-security-only-quality-update-fo...
by Baker
Wed May 17, 2017 4:41 pm
Forum: General Discussion
Topic: Quake "champions"
Replies: 46
Views: 42422

Re: Quake "champions"

Wannadecryptor spread through port 445. You aren't supposed to have open ports facing the internet if you are business. It won't end until businesses end up fined for poor security. No business should have ports available to the internet. And they do it all the time, and people's credit card numbers...
by Baker
Sat May 06, 2017 8:37 pm
Forum: General Programming
Topic: How to compile WinQuake in 2017?
Replies: 6
Views: 4650

Re: How to compile WinQuake in 2017?

I haven't thought about assembly language in a while. But now that I look, I don't have any .asm files in Mark V's Visual Studio project. I have .s files. Both the Visual Studio 2008 and CodeBlocks use the .s files, although they are upper .S files because of CodeBlocks. Apparently, I came up with a...
by Baker
Sat May 06, 2017 12:49 pm
Forum: General Programming
Topic: How to compile WinQuake in 2017?
Replies: 6
Views: 4650

Re: How to compile WinQuake in 2017?

Mark V compiles with assembly language out-of-the-box in: 1) Code Blocks 2) Visual Studio 2008 Express http://download.microsoft.com/download/8/B/5/8B5804AD-4990-40D0-A6AA-CE894CBBB3DC/VS2008ExpressENUX1397868.iso SP1 patch: http://download.microsoft.com/download/E/8/E/E8EEB394-7F42-4963-A2D8-29559B...
by Baker
Mon Feb 20, 2017 5:06 am
Forum: Engine Programming
Topic: FitzQuake Mark V - Easy to compile and ...
Replies: 115
Views: 419538

Re: FitzQuake Mark V - Easy to compile and ...

revelator wrote:https://sourceforge.net/projects/cbadva ... les/Tools/ grab the realm.zpaq file.
Nothing on Windows 7 can open that file, I tried every zpaq utility and none of them work on my computer. :confused: