motor_buttons.s 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. display_scanner_buttons
  2. move.l #top_level_list,a0
  3. bsr remove_button_list
  4. move.l #scan_button_list,a0
  5. bsr display_button_list
  6. rts
  7. remove_scanner_buttons
  8. bsr stop_scanning
  9. move.l #scan_button_list,a0
  10. bsr remove_button_list
  11. move.l #top_level_list,a0
  12. bsr display_button_list
  13. rts
  14. *****SCAN BUTTONS
  15. scan_music
  16. dc.w BUTTON_1
  17. dc.w FIRST_ROW
  18. dc.w MAIN_BUTTON_SCREEN ;frame type
  19. dc.b STANDARD_BUTTON ;standard
  20. dc.b NOT_DEPRESSED
  21. dc.b 0
  22. dc.b 0 ;not used
  23. dc.l 0 ;not used
  24. dc.l 0 ;not used
  25. dc.l start_scanning
  26. dc.b "SCAN MUSIC",0
  27. EVEN
  28. stop_scan
  29. dc.w BUTTON_1
  30. dc.w SECOND_ROW
  31. dc.w MAIN_BUTTON_SCREEN ;frame type
  32. dc.b STANDARD_BUTTON ;standard
  33. dc.b NOT_DEPRESSED
  34. dc.b 0
  35. dc.b 0 ;not used
  36. dc.l 0 ;not used
  37. dc.l 0 ;not used
  38. dc.l stop_scanning
  39. dc.b "STOP SCAN",0
  40. EVEN
  41. save_image
  42. dc.w BUTTON_5
  43. dc.w FIRST_ROW
  44. dc.w MAIN_BUTTON_SCREEN ;frame type
  45. dc.b STANDARD_BUTTON ;standard
  46. dc.b NOT_DEPRESSED
  47. dc.b 0
  48. dc.b 0 ;not used
  49. dc.l 0 ;not used
  50. dc.l 0 ;not used
  51. dc.l save_pic
  52. dc.b "SAVE IMAGE",0
  53. EVEN
  54. paper_feed
  55. dc.w BUTTON_2
  56. dc.w FIRST_ROW
  57. dc.w MAIN_BUTTON_SCREEN ;frame type
  58. dc.b STANDARD_BUTTON+HOLD_BUTTON ;standard
  59. dc.b NOT_DEPRESSED
  60. dc.b 0
  61. dc.b 0 ;not used
  62. dc.l 0 ;not used
  63. dc.l 0 ;not used
  64. dc.l move_paper
  65. dc.b "PAPER FEED",0
  66. EVEN
  67. paper_reverse
  68. dc.w BUTTON_2
  69. dc.w SECOND_ROW
  70. dc.w MAIN_BUTTON_SCREEN ;frame type
  71. dc.b STANDARD_BUTTON+HOLD_BUTTON ;standard
  72. dc.b NOT_DEPRESSED
  73. dc.b 1
  74. dc.b 0 ;not used
  75. dc.l 0 ;not used
  76. dc.l 0 ;not used
  77. dc.l move_paper
  78. dc.b "PAPER REV.",0
  79. EVEN
  80. exit_scan
  81. dc.w BUTTON_1
  82. dc.w FOURTH_ROW
  83. dc.w MAIN_BUTTON_SCREEN ;frame type
  84. dc.b STANDARD_BUTTON ;standard
  85. dc.b NOT_DEPRESSED
  86. dc.b 0
  87. dc.b 0 ;not used
  88. dc.l 0 ;not used
  89. dc.l 0 ;not used
  90. dc.l remove_scanner_buttons
  91. dc.b "EXIT",0
  92. EVEN
  93. scroll_up
  94. dc.w BUTTON_4
  95. dc.w FIRST_ROW
  96. dc.w MAIN_BUTTON_SCREEN ;frame type
  97. dc.b CUSTOM_BUTTON+HOLD_BUTTON ;standard
  98. dc.b NOT_DEPRESSED
  99. dc.b 0
  100. dc.b 0 ;not used
  101. dc.l arrow_up ;not used
  102. dc.l 0 ;not used
  103. dc.l scroll_screen_up
  104. dc.b 0
  105. EVEN
  106. scroll_down
  107. dc.w BUTTON_4
  108. dc.w THIRD_ROW
  109. dc.w MAIN_BUTTON_SCREEN ;frame type
  110. dc.b CUSTOM_BUTTON+HOLD_BUTTON ;standard
  111. dc.b NOT_DEPRESSED
  112. dc.b 0
  113. dc.b 0 ;not used
  114. dc.l arrow_down ;not used
  115. dc.l 0 ;not used
  116. dc.l scroll_screen_down
  117. dc.b 0
  118. EVEN
  119. scan_button_list
  120. dc.l save_image,scan_music
  121. dc.l scroll_down,scroll_up
  122. dc.l exit_scan,stop_scan,paper_feed,paper_reverse
  123. dc.l $ffffffff