Geekboy

Untitled

Apr 7th, 2012
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ; Program Name: Scogger
  2. ; Author: Tim Keller
  3. ; Version: alpha
  4. ; Date: ...
  5. ; Written for Doors CS 7.0 and higher (http://dcs.cemetech.net)
  6.  
  7. .nolist
  8. #include "ti83plus.inc"
  9. #include "dcs7.inc"
  10. .list
  11.     .org progstart
  12.     .db $BB,$6D
  13. Init:
  14.     xor d
  15.     ret
  16.     jr Start
  17.    
  18.     .dw Description         ;or .dw $0000 if you don't have a description
  19.     .db $07,$00         ;always this string
  20.     .dw Icon            ;or .dw $0000 if you don't have an icon
  21.     .dw $0000               ;usually .dw $0000 if you don't have or know what an ALE is
  22. Start:                              ;main routines
  23.  call cn2_setup
  24.  di
  25.  ld de,0
  26.  ld hl,0
  27.  ld bc,0
  28.  ei
  29. Loop:
  30.  push de
  31.   push bc
  32.    push hl
  33.  bcall(_clrlcdfull)
  34.  bcall(_homeup)
  35.     pop hl
  36.   pop bc
  37.  pop de
  38.  
  39.  
  40.  
  41.  push de
  42.   push bc
  43.    push hl
  44.    bcall(_disphl)
  45.    bcall(_newline)
  46.    pop hl
  47.   pop bc
  48.  pop de
  49.  
  50.  push de
  51.   push bc
  52.    push hl
  53.    push de
  54.    pop hl
  55.    bcall(_disphl)
  56.    bcall(_newline)
  57.    pop hl
  58.   pop bc
  59.  pop de
  60.  
  61.  push de
  62.   push bc
  63.    push hl
  64.    push bc
  65.    pop hl
  66.    bcall(_disphl)
  67.    bcall(_newline)
  68.    pop hl
  69.   pop bc
  70.  pop de
  71.  jp loop
  72.  Description:
  73.     .db "Description",0 ;can be omitted if .dw Description is .dw 0000 above
  74. Icon:               ;a 16x16 icon (can be omitted if .dw Icon is .dw 0000 above)
  75.     .db %11111111,%11111000
  76.     .db %10000000,%00001100
  77.     .db %10111100,%00001010
  78.     .db %10010010,%00001111
  79.     .db %10010010,%01010001
  80.     .db %10010010,%10101001
  81.     .db %10111100,%01010101
  82.     .db %10000000,%00000001
  83.     .db %10101010,%10101001
  84.     .db %10010101,%01010101
  85.     .db %10101010,%10101001
  86.     .db %10000000,%00000001
  87.     .db %10010101,%01010101
  88.     .db %10101010,%10101001
  89.     .db %10000000,%00000001
  90.     .db %11111111,%11111111
Advertisement
Add Comment
Please, Sign In to add comment