home *** CD-ROM | disk | FTP | other *** search
/ Almathera Ten Pack 4: Demo 1 / almathera_demo1.bin / sourcecode / dexion / a.s < prev    next >
Text File  |  1995-03-17  |  614b  |  39 lines

  1. run:
  2. s:
  3. move.b #$80,lab1+3
  4. lea tabel,a6
  5. lea tabel,a0
  6. s1:
  7. andi.b #64,$bfe001
  8. beq s5
  9. lab1:
  10. cmp.b #$80,$dff006
  11. bne s1 
  12. s2:
  13. move.w farve,$dff180
  14. add.b #1,lab1+3
  15. move.w (a0)+,farve
  16. add.w #$012,(a6)+
  17. cmp.l #endtab,a0
  18. bne s1
  19. move.w $000,$dff180
  20. bra s
  21. even
  22. tabel:
  23. dc.w $010,$020,$030,$040,$050,$060,$070,$080,$060,$050,$040
  24. dc.w $030,$020,$010,$00
  25. dc.w $110,$220,$330,$440,$550,$660,$770,$880,$990,$aa0,$bb0
  26. dc.w $aa0,$990,$880,$770,$660,$550,$440,$330,$220,$110,$000
  27. dc.w $010,$020,$030,$040,$050,$060,$070,$080,$070,$060,$050
  28. dc.w $040,$030,$020,$010,$000
  29. endtab:
  30. even
  31. farve:
  32. dc.w $0
  33. even 
  34. tjekk:
  35. dc.b $00
  36. even
  37. s5:
  38. rts
  39.