TIP: Click on subject to list as thread! ANSI
echo: 80xxx
to: CRAIG HART
from: LEIGH MORRESI
date: 1997-09-15 15:46:00
subject: Bootable code.. offsets

 CH> LM> Well im getting closer to fully understanding bootable code. Ive
 CH> LM> looked at some examples and they say that the DATA offset has to be
 CH> LM> 7C00h, now my problem is... mov ah,09 mov dx,OFFSET string int 21h
 CH> LM> string db 'biteme$' ok now, for you outthere, this just prints a
 CH> LM> string onto the screen, but obvoisuly it wont work, becuase the
 CH> LM> offset is not at 7C00h, so to correct this problem, would i have to
 CH> LM> change the DATA seg to
 CH> what happens all depends on your ORG statement.
 CH> If you code ORG 7c00h then your offsets will be calculated correctly,
 CH> without need of manual adjustment. I have plently of bootsector
 CH> code, let me know if you want any, for examples.
 yes please!, I need all the hlpe i can get, thanxs for your genroisty :)
--- 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™.