1. Reboot...
- Posted by Patrick Quist <quistnet at HOTMAIL.COM> Mar 02, 2000
- 475 views
Hy, I got a small problem with something. I want to reboot my machine within a EU programm, I've used the machinestring: rebootstr={234,0,0,255,255,195}-- ReBoot String (RET (195) isn't -- needed actually) -- db EAh 234 --> -- Goto adress -- (Next four bytes):65535 -- dw 0000h 00 --> 0 -- dw FFFFh 255 255 --> 65535 But when I put this in memory and call it, EU crashes because of a CauseWay Error. But when I do a system() call to the fileversion REBOOT.COM, which contains exactly the same string, the computer does reboot. EU crashes in both DOS and WIN when allocate() and even when allocate_low() is used. Why is this happening, could it be fixed somehow, maby using another way? Is there also a way to accomplish a reset-reboot with INT 19h Thanks, PQ ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com
2. Re: Reboot...
- Posted by Bernie Ryan <LockCityData at CS.COM> Mar 02, 2000
- 509 views
I think what you are forgeting is that Euphoria ( DOS and WINDOWS ) is running in protected mode and what you are doing is crashing the Causeway and window DPMI system.
3. Re: Reboot...
- Posted by Darth Maul <Prog_MAtt at YAHOO.COM> Apr 01, 2000
- 483 views
Eu does this because you're literally crashing the computer. Maybe it would be better to suggest making a temporary .COM file. But then, they could soon clutter up the hard disk...
4. Re: Reboot...
- Posted by Darth Maul <Prog_MAtt at YAHOO.COM> Apr 01, 2000
- 469 views
There's also a better way to reboot. If I can remember, I think the code is JMP FAR 0040:0072(that's in hex) You can set the value at that memory position to 1234H for a warm reboot, or something else for a cold reboot(the kind like when you turn on your PC)