Search found 62 matches
- May 16, 2018 20:24
- Forum: Windows
- Topic: Translate touch events to mouse events
- Replies: 0
- Views: 1617
Translate touch events to mouse events
I want to build a small program that will convert touch events into mouse events. Ideally it would not send the events to any particular window, but just simulate mouse movement and clicking. Has anyone done this with Windows API before? I don't need a full program, just some snippets would be helpf...
- Jul 04, 2016 23:10
- Forum: Community Discussion
- Topic: Revolutionary Guide to QBASIC - Code Wanted!
- Replies: 1
- Views: 1636
Re: Revolutionary Guide to QBASIC - Code Wanted!
Hello!
I'm not sure if anyone has provided you with the files yet. I happen to have the contents of the disk and have uploaded it to my Google Drive:
https://drive.google.com/open?id=0B0WPO ... i1QdFhDXzA
It's a zip file, and it should contain all the files from the disk.
I'm not sure if anyone has provided you with the files yet. I happen to have the contents of the disk and have uploaded it to my Google Drive:
https://drive.google.com/open?id=0B0WPO ... i1QdFhDXzA
It's a zip file, and it should contain all the files from the disk.
Re: Doom 3
Only Windows is supported, although there is very little OS dependent code. IIRC, the OpenGL initialization code and keyboard/mouse code are the only OS dependent parts.
Re: Doom 3
I updated the first post with new download links. Links are to my Google Drive account and the .zip files will stay there indefinitely. I'm glad this project is of interest to someone. I hope you can get some useful code from it. It's old and messy though. Not an example of good coding techniques. A...
- Feb 14, 2015 17:03
- Forum: Sources, Examples, Tips and Tricks
- Topic: Global Illumination rendering. (CPU killer)
- Replies: 9
- Views: 4074
Re: Global Illumination rendering. (CPU killer)
@MrSwiss: Is it possible you accidentally ran Joshy's code with 256 samples per pixel and fxm's code with 64 samples per pixel? I have a hard time believing your CPU could run 256 samples per pixel in 67.6 seconds. With FBC 1.01.0, on my Core i5 4570 (4x 3.2GHz, no hyperthreading), both codes take 4...
Re: Doom 3
Umm... I suppose it could be considered abandoned. I never closed it, but I don't know if I'll ever continue working on it.
Do you have any questions about it?
Do you have any questions about it?
- Mar 02, 2014 4:56
- Forum: Community Discussion
- Topic: Raspberry PI and Beaglebone Black.
- Replies: 105
- Views: 49920
Re: Raspberry PI and Beaglebone Black.
I use Leaf Labs' Maple IDE. Leaf Labs makes/made a board very similar to Arduino, but it uses a STM32 chip instead of AVR. The link to the download is here . Even if your chip isn't exactly the same as the one they used, I'm sure you'll be able to get it working. You may have to manually upload the ...
- Feb 01, 2014 2:10
- Forum: Community Discussion
- Topic: Raspberry PI and Beaglebone Black.
- Replies: 105
- Views: 49920
Re: Raspberry PI and Beaglebone Black.
My dream is to one day program Cortex-M3 microcontrollers with FreeBASIC. I ordered a tiny and very cheap ~6€ dev board with STM32 F103 ARM Cortex M3 controller for my homemade CNC machine project. Which controller do you use ? Joshy My board has a STM32F103VCT6 mcu. I use it to talk with an ELM327...
- Dec 10, 2013 3:29
- Forum: Community Discussion
- Topic: Error: operand size mismatch for `movupd'
- Replies: 16
- Views: 7450
Re: Error: operand size mismatch for `movupd'
@BurghHouse
This appears to be caused only by using the -vec command-line option. -fpu sse doesn't seem to generate the faulty asm. Have a try compiling with only -fpu sse and not -vec. Depending on your code, this will likely generate the fastest asm anyway.
This appears to be caused only by using the -vec command-line option. -fpu sse doesn't seem to generate the faulty asm. Have a try compiling with only -fpu sse and not -vec. Depending on your code, this will likely generate the fastest asm anyway.
- Dec 09, 2013 18:35
- Forum: Community Discussion
- Topic: Error: operand size mismatch for `movupd'
- Replies: 16
- Views: 7450
Re: Error: operand size mismatch for `movupd'
I will look into this soon. I know this type of bug has showed up a number of times over the years. Previous versions of the assembler and the linker didn't complain about these mismatches and allowed my mistakes to go undetected.
This should be a simple fix.
This should be a simple fix.
- Nov 21, 2013 12:56
- Forum: General
- Topic: SIMD Tutorial ?
- Replies: 30
- Views: 6035
Re: SIMD Tutorial ?
@Velatus, I think it's great to see others interested in vector math! Keep in mind, the -fpu SSE compiler switch will replace traditional x87 floating-point math operations with equivalent scalar SSE math operations. It does not create vector operations. This is almost always faster than traditional...
- Jun 22, 2013 2:34
- Forum: Community Discussion
- Topic: Raspberry PI and Beaglebone Black.
- Replies: 105
- Views: 49920
Re: [offtopic] I got my brand new toys.
The Cubieboard or MarsBoard may also be of interest. They each have 1 SATA port on board. The specs of the MarsBoard are pretty impressive, running at 1.2 GHz and 1GB of DDR3 RAM. Unfortunately, they are probably not as well supported as RPi or Beaglebone. My dream is to one day program Cortex-M3 mi...
- Sep 12, 2012 1:38
- Forum: General
- Topic: fpu SSE thread
- Replies: 28
- Views: 3110
Re: fpu SSE thread
-fpu SSE without -vec 1 or -vec 2 will emit scalar SSE instructions acting as a replacement for standard x87 instructions. It generally will perform well compared to the x87 instructions. I believe modern processors have multiple SIMD pipelines compared to one x87 FPU pipeline. Don't quote me on tha...
- Sep 12, 2012 0:26
- Forum: General
- Topic: fpu SSE thread
- Replies: 28
- Views: 3110
Re: fpu SSE thread
If you're using anything 0.20 or newer, you're fine. I had to go back to 0.18.x to get a version of GAS that complained. Sorry if I wasn't clear. The issue with GAS is only for -vec. It doesn't happen with just -fpu SSE. The problem was when storing a 3 component vector to memory. So, in theory, it ...
- Sep 11, 2012 23:52
- Forum: General
- Topic: fpu SSE thread
- Replies: 28
- Views: 3110
Re: fpu SSE thread
Gonzo, Either you are using a very old version of FBC or none of your code is getting vectorized (-vec 1) because I just tried compiling my project with vectorization turned on, and GAS complained about operand sizes. When I wrote the vectorizer, GAS (Win32) that was included with FBC accepted incor...