Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!rutgers!cmcl2!adm!news From: C0361@univscvm.csd.scarolina.edu ( Thomas Jenkins) Newsgroups: comp.lang.pascal Subject: INT 019h question Message-ID: <25207@adm.brl.mil> Date: 6 Dec 90 16:11:16 GMT Sender: news@adm.brl.mil Lines: 67 Hello, I have a question which I'm directing to several lists. I've gotten a request from a section here that deals with PCs. They are updating the config .sys file on pcs, then rebooting. They wanted to have the program reboot the system after changes are complete. When asked, I said call int 019h. This will preform a warm boot. Didn't work. All my references say 19h has no arguments and if a certain memory location contains 1234h, no memory check is done, else a memory check will occur. Now I tried it. No luck. These are my attempts: Turbo Pascal 5.5 : USES DOS; VAR REGS : REGISTERS ; BEGIN Intr ( $19 , REGS ) ; END. Out come: Starts reboot, never clears screen or starts autoexec.bat. System hangs. Turbo Assembler: MODEL IDEAL ....... START: mov ax,@DATA mov ds,ax int 019h mov al,00h mov ah,04ch int 021h ENDS CODE END START ( some code deletion - relavant stuff here ) Out come: Same as above. Now I'm really comfused! So, I look in my handy _Mastering_Turbo_Assembler_ by Tom Swan: Sure enough there's a rebooting module. The code uses the BIOSData segment to load the 1234h and then uses a JMP FAR to the reboot code!!! Here's my question: WHY?!?!?!? Why wont int19h do as written? I have already written the short ( 585 byte ) exe file for them, but I'm still confussed as to why it was done this way. Any ideas are welcomed. Respond tom me or any of these lists as I read them all. Thanks, tom THOMAS E. JENKINS, JR. +--------+ FROM SHOE +--------+ |"IS THE COMPUTER STILL GIVING | PROGRAMMER, | YOU TROUBLE?..." | UNIVERSITY OF SOUTH CAROLINA |"NO, NOT ANYMORE..." | C0361 AT UNIVSCVM.BITNET |"WHAT DID YOU DO?..." | C0361 AT UNIVSCVM.CSD.SCAROLINA.EDU |" I TURNED IT OFF." | +-------------------------------+ Brought to you by Super Global Mega Corp .com