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

  1. start:
  2. move.l        #$50100,$dff0a0    
  3. move.w        #36000,$dff0a4 
  4. move.w        #300,$dff0a6    
  5. move.w        #65,$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 #$50000,a0
  21. jsr -72(a6)
  22. lea rastport,a1
  23. move.l #$50000,a0
  24. jsr -66(a6)
  25. move.l    #$60000,plane1
  26. lea    rastport,a1
  27. jsr    -198(a6)
  28. move.l    #bitmap,r_bitmap
  29. lea    rastport,a1
  30. jsr    -48(a6)
  31. move.l    #text,taller
  32. move.l    $6c,oldirq+2
  33. move.l    #newirq,$6c
  34. wait:
  35. btst    #6,$bfe001
  36. bne    wait
  37. jmp     slut
  38. newirq:
  39. movem.l    d0-d7/a0-a6,-(sp)
  40. move.l    gfxbase,a6
  41. lea    rastport,a1
  42. move.l    #$01,d0
  43. clr.l    d1
  44. clr.l    d2
  45. move.l    #01,d3
  46. move.l    #336,d4
  47. move.l    #200,d5
  48. jsr    -396(a6)
  49. sub.b    #$01,rows
  50. bne.s    exit
  51. move.b    #$08,rows
  52. lea    rastport,a1
  53. move.l    #320,d0
  54. move.l    #12,d1
  55. jsr    -240(a6)
  56. lea    rastport,a1
  57. move.l    taller,a0
  58. move.l    #$01,d0
  59. jsr    -60(a6)
  60. addq.l    #$01,taller
  61. cmp.l    #end,taller
  62. blt.s    exit
  63. move.l    #text,taller
  64. exit:
  65. movem.l    (sp)+,d0-d7/a0-a6
  66. oldirq:
  67. jmp    $00000000
  68. slut:
  69. move.w #$0001,$dff096
  70. move.l oldirq+2,$6c
  71. move.l gfxbase,a0
  72. move.l oldclist,50(a0)
  73. move.l $04,a6
  74. jmp -414(a6)
  75. newclist:
  76. dc.w    $008e,$2c81,$0090,$f4c1,$0092,$0038,$0094,$00d0
  77. dc.w    $0102,$0000,$0104,$0000,$0108,$0002,$010a,$0002
  78. dc.w    $0100,$1200,$0180,$0000,$0182,$0fff
  79. dc.w    $00e0,$0006,$00e2,$0000,$2e01,$ff00
  80. dc.w    $0180,$0000,$0180,$0111,$3001,$ff00
  81. dc.w    $0180,$0222,$0180,$0123,$3c01,$ff00
  82. dc.w    $0180,$0222,$0180,$0444,$3e01,$ff00
  83. dc.w    $0180,$0444,$0180,$0000
  84. dc.w    $ffff,$fffe
  85. text:
  86. dc.b    "REFLEX CRACKING SQUAD AND THE DANISH DEMO DUO ARE VERY  GOOD"
  87. dc.b    " FRIENDS SO THEREFORE PET GOT THIS GREAT SCROLL !!!!        "
  88. end:
  89. even
  90. taller:
  91. dc.l    0
  92. oldclist:
  93. dc.l    0
  94. gfxbase:
  95. dc.l    0
  96. gfxname:
  97. dc.b    "graphics.library",0
  98. even
  99. bitmap:
  100. blk.w    4,0
  101. plane1:
  102. blk.l    20,0
  103. rastport:
  104. dc.l    0
  105. r_bitmap:
  106. blk.l    30,0
  107. rows:
  108. dc.b    3
  109.