home *** CD-ROM | disk | FTP | other *** search
/ 17 Bit Software 2: Collection B / 17Bit_Collection_B.iso / files / 2254.dms / in.adf / docs / Blitter.doc.pp / Blitter.doc
Encoding:
Text File  |  1990-09-13  |  2.3 KB  |  69 lines

  1.                          BLITTER-MFM-CODER V.1.0
  2.                                   DOC
  3.                     
  4.                            by CRUNCHER/ACUME
  5.                             (c)'92 by ACUME
  6.                          Release Date 30/4/92
  7.  
  8. This Utility could be used to code files to an format,which is necessary
  9. for decoding datas,which are loaded with an own Trackloader.These Datas
  10. can be decoded EASY AND FAST with the BLITTER ! But the Datas must be
  11. saved in the MFM-Format on Disk before decoding !
  12.  
  13. I'll give the instruction how to decode the datas in your own sourcecode.
  14.  
  15. Example:
  16.  
  17. The Datas before coding in BLITTER-MFM Format :
  18. %01100111010110001100101011110000
  19. The Datas in BLITTER-MFM Format :
  20. %0 1 0 1 0 0 1 0 1 0 1 1 1 1 0 0  ; All Even bits are linked together and
  21. % 1 0 1 1 1 1 0 0 1 0 0 0 1 1 0 0  ; All Odd  bits are linked together
  22.  
  23.                 =
  24.  
  25. %0101001010111100 1011110010001100
  26.   EVEN             ODD
  27.  
  28. To decode it,you use the Blitter :
  29.  
  30. Set the EVEN Datas in BLITTER-A ADDRESS          (BLTAPT )
  31. Set the ODD  Datas in BLITTER-B ADDRESS          (BLTBPT )
  32. Set BLITTER-C DATA to %1010101010101010          (BLTCDAT)
  33. Set the Destination Address in BLITTER-D ADDRESS (BLTDPT )
  34. Turn on  A,B,D BLITTER-CHANNELS ON         (BLTCON0)
  35. Turn off C     BLITTER-CHANNELS OFF         (BLTCON0)
  36. Set Shift of B on 1                 (BLTCON1)
  37. Set Shift of A on 0                 (BLTCON0)
  38. Set Modulos A,B,D on 0                           (BLTxMOD)
  39. Set Term %11011000                 (BLTCON0)
  40. Set A-Masks on $ffff                  (BLTAxWM)
  41. Set Size correct to the file,if the datas are too long for one blit,
  42. start the blitter some more times !
  43.  
  44. move.l    #EvenAdr,$dff050
  45. move.l    #OddAdr,$dff04c
  46. move.l    #DestAdr,$dff066
  47. move.w    #%1010101010101010,$dff070
  48. clr    $dff064
  49. clr    $dff062
  50. clr    $dff066
  51. move.w    #%0000110111011000,$dff040
  52. move.w    #%1000000000000000,$dff042
  53. move.w    #$ffff,$dff044
  54. move.w    #$ffff,$dff046
  55. move.w    Size,$dff058
  56.  
  57. So thats it ! If there is a big bug or do you have problems , contact me !
  58.  
  59.                          CRUNCHER/ACUME (Coder,Gfx)
  60.                                Daniel Adler
  61.                                Beethovenstr.6
  62.                                3400 Goettingen
  63.                                +49(0)551-44623
  64.  
  65.     Contact me also for swapping LEGAL stuff,friendship,cool chats !
  66.  
  67. Greetinx to EQUI,SIR,ROLLI,ROGER WILCO,DRAGON,HARDBALL,RED KNIGHT,NOX,SMASH
  68.         ALL OTHER ACUME MEMBERS AND ALL OTHER CONTACTS !!!!!!!!!!!!!!!!
  69.