QNX RTOS v4 Knowledge Base
QNX RTOS v4 Knowledge Base
Title |
How to increase the primary boot loader delay in QNX2. |
Ref. No. |
QNX.000009555 |
Category(ies) |
Utilities, Configuration |
Issue |
How involved would it be to increase the time on the Partition # prompt? Is it simply a matter of changing the time value & recompiling?
|
Solution |
There is hardly any room in the 512 byte partition block. We can't add anything, we can only change a few things.
The loop for key hit uses the jnz opcode after seeding cx with a value. The current value is #45000 (decimal) which was a good value for general 386's and slow 486's ... gave about 2-3 seconds for override. However, on Pentiums it is quite fast; 1 sec or less. Changing this number from 45000 to 65535 doesn't add a lot but it might help.
To try this do:
- mount the partition block area of your drive e.g. mount disk 5 d=3 o=0 s=32
(mounts a new disk 5 as per drive 3 with offset 0 and size 32K)
- spatch disk 5
- change bytes at 001:08f from b9 c8 af to b9 ff ff
- save and reboot
It won't make much difference on a fast machine, but it's all we can do. |
|