home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 2990 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  3.7 KB

  1. Path: informatik.tu-muenchen.de!fischerj
  2. From: fischerj@informatik.tu-muenchen.de (Juergen "Rally" Fischer)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: need help on A1200/030 board programming
  5. Date: 7 Feb 1996 16:53:33 GMT
  6. Organization: Technische Universitaet Muenchen, Germany
  7. Distribution: inet
  8. Message-ID: <4faled$sgu@sunsystem5.informatik.tu-muenchen.de>
  9. References: <4f4hiu$oum@ionews.io.org> <1578.6612T18T1581@wr.com.au>
  10. NNTP-Posting-Host: hphalle1a.informatik.tu-muenchen.de
  11. Originator: fischerj@hphalle1a.informatik.tu-muenchen.de
  12.  
  13.  
  14. In article <1578.6612T18T1581@wr.com.au>, accolyte@wr.com.au (Accolyte) writes:
  15. |> Organization: Information Services, The University of Sydney, NSW, Australia
  16. |> Lines: 41
  17. |> Distribution: inet
  18. |> Message-ID: <1578.6612T18T1581@wr.com.au>
  19. |> References: <4f4hiu$oum@ionews.io.org>
  20. |> NNTP-Posting-Host: dialup36.wr.com.au
  21. |> X-Newsreader: THOR 2.22 (Amiga;TCP/IP) *UNREGISTERED*
  22. |> 
  23. |> 
  24. |> > Hello,
  25. |> >
  26. |> > this will sound strange, but here's what happens.
  27. |> > We have been testing some of the 030 boards for A1200 (Amiga Power,
  28. |> > DKB...), and got some strange results.
  29. |> >
  30. |> > It appears that these boards are almost two times slower when accessing
  31. |> > CHIP RAM, than a basic A1200 (no acel. no extra RAM)!?
  32. acessing... reading ?
  33.  
  34. |> >
  35. |> > 12 gauge, Blizzard and others, on the other hand, are two times faster
  36. |> > (which is normal).
  37.  
  38. not 2 times faster when aceessing chip ram. 8 14MHz cycles.
  39.  
  40. maybe a synchronous one will be 50% fasster in reading, maybe 8 14MHz cycles
  41. instead of the 020-14 needing 12 doing a normal move.l (An),Dn. Sometimes
  42. (movem or instruction fetch) 020-14 manages a 8 cycle read.
  43.  
  44. So imho max 50% faster in reading, 0% faster in writing to chipmem.
  45.  
  46. Maybe you did a copy fast->chip on the 030, which will indeed be 2 times
  47. faster than a chip->chip on vanilla A1200 (if the 030 board is one of
  48. the 7mb/sec speeders).
  49.  
  50. |> >
  51. |> > So, the question is - is there a solution to make these 030s access
  52. |> > CHIP RAM at normal speed?
  53. |> 
  54. |> I had a theory about.. well, let me explain:
  55. |> 
  56. |> Say you have an 030 at 50MHz, and presuming the internal 020 is clocked
  57. |> to 14. As I understand it, this comes from a 28MHz crystal that is
  58. |> sent to the chip-ram and custom chips, etc before being halved and sent
  59. |> to the processor.
  60. |> 
  61. |> If you could replace that 28MHz clock with a 56MHz one, send that straight
  62. |> to the 030, halve it then put the resulting 28MHz signal into the normal
  63. |> pathway that goes to the custom chips and is halved again before reaching
  64. |> the processor. This would give you a slightly overclocked 030 that's
  65. |> perfectly timed with the chip-ram, and hopefully giving optimal performance.
  66. |> 
  67. |> Unfortunately, theorising is the limit of my hardware knowledge. Could
  68. |> some people more experienced in hardware comment on it's feasability?
  69.  
  70. Welllll....
  71. Also async 030 boards are said to still _store_ at 7mb/sec speed.
  72. So iff a board can't do that, it maybe (I GUESS) even won't do
  73. 7mb/sec when clocked synchronous.
  74.  
  75. |> 
  76. |> 
  77. |> For the moment though, the only solution seems to be using fast ram
  78. |> whenever possible if it is present. Certainly for the code, and
  79.  
  80. SURE! 99% of gfx routines just need a render in fastmem and then
  81. copy to chipmem.
  82.  
  83. Do an Allocmem(size,0). If fastmem available, the buffer will be there,
  84. else you get a chipmem buffer.
  85.  
  86. Do not hold any buffers there which are acessed by chipset (planes, 
  87. copper, blitter, audio, disk,...). Use Allocmem(size,2) for them to
  88. always get chipmem.
  89.  
  90. |> for the source bitmaps wherever it's possible. It might mean a seperate
  91. |> routine to replace straight blits, but the result would be great 
  92. |> improvement.
  93. |> 
  94. |> 
  95. |> 
  96. ------------------------------------------------------------------------
  97.    fischerj@Informatik.TU-Muenchen.DE (Juergen "Rally" Fischer)   =:)
  98.  
  99.