You may want to check this page, especially the "setleds"-program: https://wiki.archlinux.org/index.php/Ac ... _on_Bootup
However, a program manipulating the users' keyboard is pretty invasive and not wanted by users 99% percent of the time, are you sure this is what you want?
Search found 16 matches
- Nov 17, 2015 1:45
- Forum: Linux
- Topic: set numlock at start of application
- Replies: 3
- Views: 1969
- Oct 31, 2015 2:34
- Forum: Community Discussion
- Topic: Unofficial FreeBASIC 1.04.0 OS X release
- Replies: 35
- Views: 12838
Re: Unofficial FreeBASIC 1.04.0 OS X release
Just a bit of information to get you excited: I just ran a graphical demo (qbsprite.bas) on OS X without XQuartz. I'm currently writing an SDL2-backend for gfxlib2. It's still in an early stage (no Keyboard support yet, not optimized for non-32bit-modes yet, no OpenGL support...), but it does run on...
- Oct 26, 2015 19:55
- Forum: General
- Topic: Address of variable
- Replies: 4
- Views: 1210
Re: Address of variable
Are you sure your code even compiles? r.asm: Assembler messages: r.asm:31: Error: invalid use of register Afaik the resulting "mov [ebp-8],ebp-12 " is not valid assembly. /edit: My assembly-skills are a bit rusty, but how about this: dim a as integer dim b as byte cls print @b ' Print addr...
- Oct 26, 2015 19:00
- Forum: Community Discussion
- Topic: Unofficial FreeBASIC 1.04.0 OS X release
- Replies: 35
- Views: 12838
Re: Unofficial FreeBASIC 1.04.0 OS X release
Just a quick update: The fix for the warnings has been committed and merged. Once FB 1.05 is released, the warnings will be gone.
- Oct 23, 2015 23:12
- Forum: Community Discussion
- Topic: Unofficial FreeBASIC 1.04.0 OS X release
- Replies: 35
- Views: 12838
Re: Unofficial FreeBASIC 1.04.0 OS X release
See heresrvaldez wrote:thank you venom :)
btw, why the nickname venom = poison?
They're not critical, so you can basically ignore them until I find the time for the next round of patches ;)srvaldez wrote:any advice on how to fix this?
- Oct 18, 2015 15:07
- Forum: Community Discussion
- Topic: Unofficial FreeBASIC 1.04.0 OS X release
- Replies: 35
- Views: 12838
Re: Unofficial FreeBASIC 1.04.0 OS X release
Maybe you know that FBC and its components use (L)GPL licenses? Yes. Personally I would consider it a NO-GO to publish a binary package on Sourceforge without the according source-code (if differing from the 1.04 one) and/or Makefiles/Tools (if needed). (but of course that's something dkl/counting_...
- Oct 13, 2015 22:04
- Forum: Community Discussion
- Topic: Unofficial FreeBASIC 1.04.0 OS X release
- Replies: 35
- Views: 12838
Re: Unofficial FreeBASIC 1.04.0 OS X release
What a day in history of FreeBASIC a MAC port and JavaScript HTML5 webGL backend on one day :-) Well, actually the OS X work is already a few weeks old and was merged together with my patches for NetBSD, FreeBSD and Solaris (which should be usable also, but I was too lazy to assemble a build yet ;)...
- Oct 13, 2015 22:04
- Forum: Community Discussion
- Topic: Unofficial FreeBASIC 1.04.0 OS X release
- Replies: 35
- Views: 12838
Re: Unofficial FreeBASIC 1.04.0 OS X release
What a day in history of FreeBASIC a MAC port and JavaScript HTML5 webGL backend on one day :-) Well, actually the OS X work is already a few weeks old and was merged together with my patches for NetBSD, FreeBSD and Solaris (which should be usable also, but I was too lazy to assemble a build yet ;)...
- Oct 12, 2015 19:28
- Forum: Community Discussion
- Topic: Unofficial FreeBASIC 1.04.0 OS X release
- Replies: 35
- Views: 12838
Unofficial FreeBASIC 1.04.0 OS X release
Hi, I just built FreeBASIC 1.04.0 for OS X and thought that some of you might be interested in this. You can download it here (i don't know how long this link will stay valid, it would be cool if this could be uploaded to sourceforge where the other releases reside). Please note that for building an...
- Aug 25, 2015 0:05
- Forum: Community Discussion
- Topic: Windows 10 Problem.
- Replies: 2
- Views: 1101
Re: Windows 10 Problem.
Since you're not providing enough information, I'll try to guess here. Is your problem the one described in this thread? If yes, this has been fixed in git already, but isn't available in a release version yet. You may want to try one of the nightly builds.
- Aug 04, 2015 1:43
- Forum: Windows
- Topic: windows 10 abend
- Replies: 7
- Views: 2802
Re: windows 10 abend
Well, the msdn doesn't mention passing a nullptr for lpNumberOfCharsWritten is allowed, so I guess this is an excellent example of relying on undefined behavior. This kind of stuff usually kicks you in the butt when you least expect it, so better stick to the documentation. :)
- Jul 04, 2015 23:56
- Forum: Linux
- Topic: Linker problem on FreeBSD i386
- Replies: 5
- Views: 1967
Re: Linker problem on FreeBSD i386
By default, fbc calls FB's exepath() to get its installation directory, but I think exepath() is currently not properly implemented in the freebsd port of the FB rtlib. I sent you a pull request on github ;) However, I didn't rebuild fbc with the fix yet, so I'm not sure if it fixes the entire prob...
- Jul 04, 2015 0:23
- Forum: Linux
- Topic: Linker problem on FreeBSD i386
- Replies: 5
- Views: 1967
Linker problem on FreeBSD i386
Well, technically, this is the wrong subforum, but since there is no subforum for FreeBSD yet... ;) I recently decided to play around with FreeBSD and FreeBASIC, so I got myself a FreeBSD 10 ISO and got started. Since there is no pre-packaged version of FreeBASIC for FreeBSD, I had to build fbc myse...
- Jul 03, 2015 23:49
- Forum: General
- Topic: intrusive linked list feedback
- Replies: 5
- Views: 1302
Re: intrusive linked list feedback
Hey, I know, it's been a while since the last post in this topic, but I thought it would be appropriate to post my current (final?) implementation. The code is now part of my kernel , the respective files are kernel/include/intrusive_list.bi and kernel/src/intrusive_list.bas, it should work outside ...
- Apr 05, 2015 15:39
- Forum: General
- Topic: intrusive linked list feedback
- Replies: 5
- Views: 1302
Re: intrusive linked list feedback
Welcome to the forum! Thanks! A quick remark: - I think the code could be more simple and clear if you pack the procedures as members of list_head: I agree, thats a good idea. Rather than use composition ('l as list_head' in testtype), I prefer use the inheritance ('type testtype extends list_head'...