TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: KEVIN CAMPBELL
from: NICKOLAS HIRGIJ
date: 1997-08-30 15:26:00
subject: Reset

ddt.demos.su!f400.n5020!f121.n461!uanet.cit-ua.net!uanet.kharkov.ua!useua!f121
.n461!f133.n461!f108.n461!not-for-mail
Hello Kevin!
Sat Aug 23 1997 07:02, Kevin Campbell wrote to Viktor Osadchuk:
 >> asm    {
 >> mov ax,0
 >> mov es,ax
 >> mov ax,1234h
 >> mov di,0472h
 >> mov es:di,ax   /* Error: Memory reference expected */
 >> int 19h
 >> }
 KC> Put square brackets around the reference "mov [es:di],ax".
 KC> Kevin Campbell
And what You say about next hard reset method:
1)
    asm{
            mov     AL,0FEh ; Reboot
            out     64h,AL  ; ᮡá⢥­­®
        }
or C:
        outp(0x64,0xFE);
or (for other compilers):
        outportb(0x64,0xFE);
2) C only (without asm):
   ((void (far*)(void))*(long*)"ðððððððð")();
            Regards,
                        Nickolas Hirgij, Kharkov, Ukraine
---
---------------
* Origin: HNI (2:461/108.5)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.