Hi..
LM> Well im getting closer to fully understanding bootable code. Ive
LM> looked at some examples and they say that the DATA offset has to be
LM> 7C00h, now my problem is...
LM> mov ah,09 mov dx,OFFSET string int 21h
LM> string db 'biteme$'
LM> ok now, for you outthere, this just prints a string onto the screen,
LM> but obvoisuly it wont work, becuase the offset is not at 7C00h,
LM> so to correct this problem, would i have to change the DATA seg to
what happens all depends on your ORG statement.
If you code ORG 7c00h then your offsets will be calculated correctly, without
need of manual adjustment. I have plently of bootsector code, let me know if
you want any, for examples.
--- FMail/386 1.20+
---------------
* Origin: Comms Barrier BBS +61.3.9585.1112, +61.3.9583.6119 (3:632/533)
|