[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problems with machine code
- Subject: Re: Problems with machine code
- From: Andy McFadden <fadden@fadden.com>
- Date: Sat, 06 Nov 2004 07:37:31 GMT
- Newsgroups: comp.sys.apple2
- Organization: faddenInternet, Inc.
- References: <O_Yid.40327$T_.34113@bignews4.bellsouth.net> <bi_id.101350$9b.46538@edtnps84>
- Sender: Andy McFadden <fadden@adsl-209-204-141-120.sonic.net>
- User-agent: tin/1.4.7-20030322 ("Suggestions") (UNIX) (Linux/2.4.20-8 (i686))
- Xref: g2news1.google.com comp.sys.apple2:5480
Bender MX <email@addr.ess> wrote:
> Simply add 1 to your initial X and you'll read all the sectors and exit the
> routine cleanly.
>
> So instead of LDX #$0F, try LDX #$10 and see where the day takes you!
I think that will read sectors 16 through 1 rather than 15 through 0.
Which won't work.
I would suggest replacing the BNE (branch if not zero) with a BPL (branch
if positive).
--
Send mail to fadden@fadden.com (Andy McFadden) - http://www.fadden.com/
CD-Recordable FAQ - http://www.cdrfaq.org/
CiderPress Apple II archive utility for Windows - http://www.faddensoft.com/
Fight Internet Spam - http://spam.abuse.net/spam/ & http://spamcop.net/