TIP: Click on subject to list as thread! ANSI
echo: 80xxx
to: GLENN VERDINS
from: SAM IZZO
date: 1997-06-07 14:55:00
subject: Re: BootSector!!!

 GV> yeah, just typed it wrong :) i compiled it under A86 does that make
 GV> a differance? i have a program called Bootrite.com, that writes
uhm a86 should work fine.. at least, that's what I used..
 GV> ok, i read yesterday that there sposed to be loaded at 07c0h
 GV> i saw it said sumthing like this:
 GV> Mov Ax,7c0h
 GV> Mov Ds,Ax
 GV> Mov SS,Ax
 GV> Mov Es,Ax
I'm not too sure about this, but in this book i've got (Using Assembly 
Language by Allen L Wyatt) it's got a routine for formatting disks for use 
under DOS, and therefore it has some simple boot sector code which it writes 
to the disk that says insert bootable disk etc etc.. Now the first lines of 
code in this boot sector that are actually executed are
mov ax, 7c0h
mov ds, ax
mov es, ax
and it has a comment saying 'standard loading place for boot sector' so I can 
only guess that that is where the BIOS loads the boot sector into memory, so
maybe put that code in, just in case (although i never put it in and mine 
still worked) Anyone else got any information here?
Sam
--- FMail/386 1.20+
---------------
* Origin: Comms Barrier BBS +61.3.9585.1112, +61.3.9583.6119 (3:632/533)

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™.