Dec 192017
 
C callable function to coldboot your computer. .ASM, .C, .H .LIB files included. Coded in Borland C, Tasm 3.1.
File ICEBOOT.ZIP from The Programmer’s Corner in
Category C Source Code
C callable function to coldboot your computer. .ASM, .C, .H .LIB files included. Coded in Borland C, Tasm 3.1.
File Name File Size Zip Size Zip Type
REBOOT.ASM 1695 527 deflated
REBOOT.C 197 147 deflated
REBOOT.DOC 2929 1264 deflated
REBOOT.EXE 6180 3450 deflated
REBOOT.H 229 155 deflated
REBOOT.LIB 1024 325 deflated

Download File ICEBOOT.ZIP Here

Contents of the REBOOT.DOC file


- This is freeware. This is not cripple ware.

- Special thanx to Tom Swan for the IDEAL mode asm skeleton and the FAR DATA
addressing. Without his writings in Mastering Turbo Assembler, this was
a real PAIN. (ISBN #0 - 672 - 48435 - 8)
(Thank you Mr. Swan, the book is bitchin).

- NO thanx to all of those who said Assembly language wasn't worth learning.
When you guys come up with a tsr _UNDER_ 40k,.....lemme know.

- Files included in this dl are as follows:
REBOOT.C - source code which calls reboot().
REBOOT.H - header file for reboot() function.
REBOOT.LIB - Library with reboot() function.
REBOOT.ASM - Asm source for reboot() function.
REBOOT.DOC - this file.
REBOOT.EXE - the executeable reboot() in all it's shining
glory, just itching to be executed.

- Anyway, you will need REBOOT.C, REBOOT.H and REBOOT.LIB. You DON'T need
REBOOT.OBJ. You will also need a project file.

(If you said "...project file ???" read on.)

/******************/
- Copy REBOOT.C to your C source code directory.
- Copy REBOOT.LIB to your C library directory.
- Copy REBOOT.H to your C header file directory.

- Go into the IDE.
- Select "project" from the menu bar.
- Select "open" from the pulldown.
- Type in the name you want your executable to be named (name of project).
- You should now have a project box on the screen.
- Point-and-Grunt in the project box (if you mouse), to make it active.
- Hit the insert key.
- Type in the name and the path to reboot.c to add it to the project.
- Hit insert again, and add REBOOT.LIB to the project.
- Highlight REBOOT.C in the project box, and hit enter.
- You should now have REBOOT.C staring you in the face.
If the file is blank, start over. You have probably specified the
wrong path to REBOOT.C.

DON'T hit enter on REBOOT.LIB! This can truncate the file if your
not careful.

- Don't run the program from the IDE. You know the thing is gonna reboot,
and you'll just end up with .SWP files all over the fraggin place.
you can compile/link it from the IDE, but don't "run" it.

This is how I use custom libraries and header files. There are other
ways, although.
/****************/

reboot() works for me on a 486dx 33, with AMI bios.
I realize full well that there may be some machines out there
this won't work on, "things don't ALWAYS come together quite the
the way they should." ...(DOS 6.0).

So, that is why the source code is included. If it doesn't work,
tinker around, read some books, make it work.


best regards,
T.M.B.












 December 19, 2017  Add comments

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)