home *** CD-ROM | disk | FTP | other *** search
- Path: informatik.tu-muenchen.de!fischerj
- From: fischerj@informatik.tu-muenchen.de (Juergen "Rally" Fischer)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: ds.l
- Date: 8 Feb 1996 15:22:50 GMT
- Organization: Technische Universitaet Muenchen, Germany
- Distribution: world
- Message-ID: <4fd4ga$k9m@sunsystem5.informatik.tu-muenchen.de>
- References: <497.6609T1129T586@mbox3.swipnet.se> <4f7j1k$dfs@helios.cto.us.edu.pl> <4fb4fn$3dr@news.ox.ac.uk>
- NNTP-Posting-Host: hphalle4e.informatik.tu-muenchen.de
- Originator: fischerj@hphalle4e.informatik.tu-muenchen.de
-
-
- In article <4fb4fn$3dr@news.ox.ac.uk>, worc0223@sable.ox.ac.uk (Benjamin Hutchings) writes:
- |> Organization: Oxford University, England
- |> Lines: 18
- |> Message-ID: <4fb4fn$3dr@news.ox.ac.uk>
- |> References: <497.6609T1129T586@mbox3.swipnet.se> <4f7j1k$dfs@helios.cto.us.edu.pl>
- |> NNTP-Posting-Host: sable.ox.ac.uk
- |>
- |> In article <4f7j1k$dfs@helios.cto.us.edu.pl>,
- |> Grzegorz Calkowski <calkowsk@usctoux1.cto.us.edu.pl> wrote:
- |> >Patrik Nilsson (patrik.nilsson@mbox3.swipnet.se) wrote:
- |> >: When using FileInfoBlock it must be long word aligned.
- |> >: Q: In asm you have 'ds.l'. Is there any equal in C?
- |> >
- |> >You're wrong!! FIB must be on 8 bytes boundary, not 4 bytes! The best way
- |> >to achieve that is to use AllocDosObject(), which returns an allocated &
- |> >initialized fib for you.
- |>
- |> Go on then, genius. Explain to us all exactly why we need to align our
- |> FileInfoBlocks on 8-byte boundaries. I suppose it is because BPTRs are
- |> shifted right 3 places from APTRs, right? Sort your facts out.
-
- myabe I remember wrong, but I think I did lsl.l #2 for converting the
- BPTR.
-
- |> --
- |> --
- |> Ben Hutchings, student. Finger me on worc0223@sable.ox.ac.uk for various info.
- |> email: benjamin.hutchings@worc.ox.ac.uk WWW: http://sable.ox.ac.uk/~worc0223/
- |> Users of the world unite! You have nothing to lose but your Micro$oft software
- ------------------------------------------------------------------------
- fischerj@Informatik.TU-Muenchen.DE (Juergen "Rally" Fischer) =:)
-
-