Change which key opens BIOS during boot - bios

Is it possible to change what key launches the BIOS menu during boot?
I am trying to use a netbooter to install a specific OS on my laptop. In order to access the netbooter, I have to press F12 at a specific time during boot. However, on the laptop I am currently using, F12 is the key that opens the BIOS. Whenever I try to access the netbooter, the BIOS gets opened instead.
Ideally, I want my device to open the BIOS when F2 or Del is pressed, and leave F12 open for netbooting. Is this possible? Can I change which key launches the BIOS?
Thanks

Unless your BIOS supports it natively I don't think there is an easy way to do it. The open source BIOS Libreboot might be able to do it, but it will be a project.

Some BIOSes have an option to change the keys for setup or the boot menu. Look in the BIOS setup. If the option is there, you can. If the option isn't there, you can't.

Related

FMX debugging Can't bind address, Address already in use

First time debugging from PC to Mobile Phone work fine, when try again get error.
Any solution how fix this when try more debugging.
Add -debugport=54321 to Run->Parameters Parameters. By the way, the "inconsistent certificates" message is because the apk on the device was compiled with a different version of Delphi than the one you are using right now. You will have to uninstall it from the phone first. You can also use -cleaninstall in the Run->Parameters Parameters field.
There is no easy and fast solution.
You may need to:
Restart IDE
Kill adb.exe
Restart Windows
Restart device
Sometimes you will be able to debug again after doing only some of the above steps, however often you will need to do all of them.
Since every try takes plenty of time, I found out that complete Windows restart + device restart is the fastest thing to do.
With Delphi 10.3.3, it is enough to restart the device. After restarting the device problem goes away. It seems after the cancelation of code execution of the project debugged, the debugging service on Android continues to run. At this point, when new debugging started, IDE tries to run a new service with the same id of previous running service.

Usin Griffin Powermate in Dart

I know this sounds weird, but I am making a program in Dart in browser that takes input from the Griffin Powermate USB know controller. So far, I have been using the included drivers and mapped a click on the knob to a click on the mouse. Now I have run into a problem with this: The default drivers send both "buttonDown" and "buttonUp" events at the time of release, and nothing at the time when I would expect "buttonDown"-events.
I assume I will have to ignore the drivers and dive into the details. So I have the following questions:
Is there a magical driver replacement(preferably for OSX, but I can install another OS) that fixes the problem immediately?
Is there a way to access generic USB HID devices in Dart? (like 'node-hid' for node.js)

BlackBerry Simulator not reflecting code changes - needs restart for every change

I am using BlackBerry SDK 5.0.0.36 on eclipse
whenever i am doing any changes i need to restart the simulator
i want to run simulator only once and dont wanna restart it again n again for little changes
i refer to this thread in stackoverflow.com -> "View changes without restarting Blackberry simulator?"
i follow the given procedure in above thread but still my simulator not making it
i also tried it in BlackBerry SDK 6.0 and 7.1 . . .but i am still fighting with same problem
As Mister Smith says, this functionality is not highly reliable. Sometimes it works, and sometimes not.
However, one fixable problem that I encounter somewhat often is that permissions on the JDE plugin folders get restricted so that the BlackBerry simulator cannot write out the proper files to perform hot swapping.
I can often fix this in Windows explorer by going to the root folder for Eclipse (you could probably just go to the JDE plugin folder, if you're concerned about opening up permissions too much). In Windows Explorer, right-click and select Properties. I then uncheck the Read-only checkbox. Then, use the Security tab and make sure that your user account has Full control for that directory, and all of its subdirectories.
I will usually also just transfer ownership of the entire Eclipse directory tree to my user account (e.g. HOSTNAME\username). Do that with the Advanced button on the Security tab.
Also, have a look at this question/answer and this BlackBerry support forum thread on the topic of hot swap file permissions

Delphi: check driver signature enforcement

How to know is driver signature enforcement enabled or disabled in Windows Vista, 7?
It can be disabled using a special software or using F8 on a system startup.
It's very interesting.
The mode where signature enforcement is off is called Test Mode. Many tools for disabling enforcement rely on switching into this mode somehow. The current state is displayed by bcdedit.exe when run from an elevated command prompt (right click on cmd.exe -> run as admin). It displays multiple settings one of them being "testsigning" with a value of "No" or "Yes". So the cheap way of detecting it from Delphi would be to run the bcdedit.exe, parse the output and look for this "testsigning" value.

How to debug .exe started by another .exe in Delphi

I want to debug App2.exe, which is started by App1.exe. If App2.exe were a dll I could specify a host application, but this doesn't seem to work with an .exe.
I now use 'attach to process', but this is useless if App2.exe crashes before I do that.
Is there a way to do this with having to attach to the process manually?
Set the "debug spawned processes" debugging option. It is off by default. When App1 starts the new process, the debugger will pause. If the debugger isn't already attached to the new process automatically, attach to it, and then resume running it.
No, but there might be a way to get it to attach properly. Find something that you know will happen in App2 soon before the crash point, and have it pop up a modal dialog box at that point. Then it won't continue until you dismiss it, giving you time to attach the debugger.
I guess you could launch app2.exe yourself and pass any necessary command line parameters to it.
If you're using windows, there is a built in support for it.
basically, you can tell the windows loader to launch some other process whenever a specific process is launched. for example, you can tell windows to always launch winword.exe whenever you click on notepad.exe
you can use this ability in order to automatically launch a debugger whenever you start your process (this is why this feature was originally introduced, however you are not restricted to launch only debuggers :))
You can read exactly how to do it here.
You can also download the debugging tools for windows package and use GFlags to do it for you.
If both apps are yours and you have the code than I propose the following:
Make a debug mode for both apps. Use external inc file for instance
Start two IDEs and load each app in its own IDE. Build in debug mode
If done right you can now debug the internal communication between apps
I have a project where a server spawns multiple exe worker processes that host each its own dll module. I have a debug mode in which I can specify which dll will be loaded and I can have both processes running and communicationt in between from IDEs. It is the best way I have found so far.

Resources