TIP: Click on subject to list as thread! ANSI
echo: 80xxx
to: LEIGH MORRESI
from: BRIAN MCCLOUD
date: 1997-09-17 04:19:00
subject: Bootable code.. offsets

-> Well im getting closer to fully understanding bootable code.
-> Ive looked at some examples and they say that the DATA offset has to be
-> 7C00h, now my problem is...
->
->      mov ah,09
->      mov dx,OFFSET string
->      int 21h
->
->      string db 'biteme$'
->
-> string db+7C00h
->
-> mov dx,OFFSET+7C00h string
I don't think either one would work... both would produce a syntax error (not
certain the first would)... try this:
.DATA
ORG 7C00h
string  DB      "whatever"
((Cloud))
MauveCloud@juno.com
--- PCBoard (R) v15.3/M 10
---------------
* Origin: Next time, Dial The Wrong Number! (209) 943-1880 (1:208/205)

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