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: need help on A1200/030 board programming
- Date: 29 Feb 1996 14:52:55 GMT
- Organization: Technische Universitaet Muenchen, Germany
- Distribution: world
- Message-ID: <4h4ek7$lp1@sunsystem5.informatik.tu-muenchen.de>
- References: <4gb9ao$104@sunsystem5.informatik.tu-muenchen.de> <1189.6628T141T1560@wr.com.au> <38232664@kone.fipnet.fi> <772.6632T572T2649@manawatu.gen.nz>
- NNTP-Posting-Host: hphalle2i.informatik.tu-muenchen.de
- Originator: fischerj@hphalle2i.informatik.tu-muenchen.de
-
-
- In article <772.6632T572T2649@manawatu.gen.nz>, kurg@manawatu.gen.nz (Damon Davies) writes:
- |> Organization: PlaNet (NZ) Manawatu, Palmerston Nth, New Zealand +64 6 357-9245
- |> Lines: 20
- |> Message-ID: <772.6632T572T2649@manawatu.gen.nz>
- |> References: <4gb9ao$104@sunsystem5.informatik.tu-muenchen.de>
- |> <1189.6628T141T1560@wr.com.au> <38232664@kone.fipnet.fi>
- |> NNTP-Posting-Host: kurg.manawatu.gen.nz
- |> Mime-Version: 1.0
- |> Content-Type: text/plain; charset=iso-8859-1
- |> Content-Transfer-Encoding: 8bit
- |> X-Newsreader: THOR 2.21 (Amiga;TCP/IP)
- |>
- |> >> Yeah, it's not really a problem, as long as the programmer recognises
- |> >> fast ram (which unfortunately a lot of games don't seem to do..).
- |>
- |> >You dont have to "recognise" FAST-ram, just dont force stuff
- |> >into CHIP-ram which does not need to be there, ie. only
- |> >gfx data, samples, display memory etc.
- |>
- |> >-- _
- |> >a Stellar programmer _ //
- |> >"Amiga - back for the future" \X/
- |>
- |> Just an ellaboration:
- |>
- |> This is how you do it in assembler "Section TheCode,code" will put the code
- |> in fast ram preferably, but in chip if there is no fast."Section
- |> TheCode,code_f" will put the code in fast only! and fail if there is none.
-
- Forcing code to fast is imho nonsense.
-
- I only use alloc(fast) one time:
-
- p=alloc(fast)
- if fail (p=alloc(chip); chip=true)
-
- so my code will know if it has to copy to chip if I use a 0-cpu-pass routine.
-
- can't see any other reason for using the memf_fast flag...
-
- |> "Section TheCode,code_c" will put the code in chip memory only. You also
- |> have the directive data,data_F,data_C.
- |>
- |> Damon.
- ------------------------------------------------------------------------
- fischerj@Informatik.TU-Muenchen.DE (Juergen "Rally" Fischer) =:)
-
-