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

  1. start:
  2. move.l        #$50100,$dff0a0    
  3. move.w        #[37560/2],$dff0a4 
  4. move.w        #360,$dff0a6    
  5. move.w        #64,$dff0a8    
  6. move.w        #$8201,$dff096    
  7. move.l    $04,a6
  8. lea    gfxname,a1
  9. jsr    -408(a6)
  10. move.l    d0,gfxbase
  11. move.l    d0,a0
  12. move.l    50(a0),oldclist
  13. move.l    #newclist,50(a0)
  14. move.l    gfxbase,a6
  15. lea    bitmap,a0
  16. move.l    #$01,d0
  17. move.l    #336,d1
  18. move.l    #200,d2
  19. jsr    -390(a6)
  20. move.l    #$60000,plane1
  21. lea    rastport,a1
  22. jsr    -198(a6)
  23. move.l    #bitmap,r_bitmap
  24. lea    rastport,a1
  25. jsr    -48(a6)
  26. move.l    #text,taller
  27. move.l    $6c,oldirq+2
  28. move.l    #newirq,$6c
  29. wait:
  30. btst    #6,$bfe001
  31. bne    wait
  32. jmp     slut
  33. newirq:
  34. movem.l    d0-d7/a0-a6,-(sp)
  35. move.l    gfxbase,a6
  36. lea    rastport,a1
  37. move.l    #1,d0
  38. move.l  #-1,d1
  39. move.l  #250,d2
  40. move.l    #01,d3
  41. move.l    #336,d4
  42. move.l    #200,d5
  43. jsr    -396(a6)
  44. lea rastport,a1
  45. move.l  #1,d0
  46. move.l  #1,d1
  47. move.l  #150,d2
  48. move.l  #1,d3
  49. move.l  #250,d4
  50. move.l  #200,d5
  51. jsr  -396(a6)
  52. lea rastport,a1
  53. move.l  #1,d0
  54. move.l  #-1,d1
  55. move.l  #100,d2
  56. move.l  #1,d3
  57. move.l  #150,d4
  58. move.l  #200,d5
  59. jsr -396(a6)
  60. lea rastport,a1
  61. move.l #2,d0
  62. move.l #0,d1
  63. move.l #0,d2 
  64. move.l #1,d3
  65. move.l #100,d4
  66. move.l #200,d5
  67. jsr -396(a6)
  68. sub.b    #$01,rows
  69. bne.s    exit
  70. move.b    #$8,rows
  71. lea    rastport,a1
  72. move.l    #320,d0
  73. move.l    #100,d1
  74. jsr    -240(a6)
  75. lea    rastport,a1
  76. move.l    taller,a0
  77. move.l    #$01,d0
  78. jsr    -60(a6)
  79. addq.l    #$01,taller
  80. cmp.l    #end,taller
  81. blt.s    exit
  82. move.l    #text,taller
  83. exit:
  84. movem.l    (sp)+,d0-d7/a0-a6
  85. oldirq:
  86. jmp    $00000000
  87. slut:
  88. move.w #$0001,$dff096
  89. move.l oldirq+2,$6c
  90. move.l gfxbase,a0
  91. move.l oldclist,50(a0)
  92. move.l $04,a6
  93. jmp -414(a6)
  94. newclist:
  95. dc.w    $008e,$2c81,$0090,$f4c1,$0092,$0038,$0094,$00d0
  96. dc.w    $0102,$0000,$0104,$0000,$0108,$0002,$010a,$0002
  97. dc.w    $0100,$1200,$0180,$0000,$0182,$0fff
  98. dc.w    $00e0,$0006,$00e2,$0000
  99. dc.w    $ffff,$fffe
  100. text:
  101. dc.b    "REFLEX CRACKING SQUAD                      "        
  102. end:
  103. even
  104. taller:
  105. dc.l    0
  106. oldclist:
  107. dc.l    0
  108. gfxbase:
  109. dc.l    0
  110. gfxname:
  111. dc.b    "graphics.library",0
  112. even
  113. bitmap:
  114. blk.w    4,0
  115. plane1:
  116. blk.l    20,0
  117. rastport:
  118. dc.l    0
  119. r_bitmap:
  120. blk.l    30,0
  121. rows:
  122. dc.b    2
  123.