Overview Features Coding ApolloOS Performance Forum Downloads Products Order Contact

Welcome to the Apollo Forum

This forum is for people interested in the APOLLO CPU.
Please read the forum usage manual.
Please visit our Apollo-Discord Server for support.



All TopicsNewsPerformanceGamesDemosApolloVampireAROSWorkbenchATARIReleases
Information about the Apollo CPU and FPU.

Coding

Gunnar von Boehn
(Apollo Team Member)
Posts 6207
01 Apr 2016 16:49


  move.w 1*16(a0),d1    ** we want this
  move.w 7*16(a0),d0
  PSUBW 0,1,1
  move.w 3*16(a0),d2
  move.w 5*16(a0),d3
  add.w 1*16(a0),d0    ** here again
  PSUBW 2,3,3 
  PADDW 3,1,4
  add.w 5*16(a0),d2
 
 
 
  move.w 1*16(a0),d5    ** we want this
  move.w 7*16(a0),d0
  PSUBW 0,D5,1        ** need change here
  move.w 3*16(a0),d2
  move.w 5*16(a0),d3
  add.w D5,d0    ** here again
  PSUBW 2,3,3 
  PADDW 3,1,4
  add.w 5*16(a0),d2
 
 
 
  2)
 
  move.w 1*16(a0),d5   
  move.w 7*16(a0),d0
  PSUBW 0,D5,1       
  move.w 3*16(a0),d2
  move.w 5*16(a0),d6    this !!!
  add.w D5,d0   
  PSUBW 2,6,3    ** chnage here too! 
  PADDW 3,1,4
  add.w D6,d2    :: HERE
 
 
 


 


Philippe Flype
(Apollo Team Member)
Posts 299
01 Apr 2016 17:02


ok perfect, thx.

posts 2