Guest User

Untitled

a guest
Aug 25th, 2018
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include "includes/ti83plus.inc"
  2. #include "includes/ion.inc"
  3. .org progstart-2
  4. .db t2ByteTok, tasmCmp
  5.  
  6.     ld hl,debut_routine
  7.     ld de,gbuf
  8.     ld bc,fin_routine-debut_routine
  9.     ldir
  10.     jp gbuf
  11.  
  12. debut_routine:
  13.     ld  hl,programme_a_executer
  14.     rst 20h ;mov9toop1
  15.     bcall(_ChkFindSym)
  16.     push de
  17.     ex de,hl
  18.     ld a,(hl)
  19.     inc hl
  20.     ld h,(hl)
  21.     ld l,a
  22.     ld de,$9D95
  23.     push hl
  24.     bcall(_InsertMem)   ; hl bytes to de
  25.     pop bc
  26.     pop hl
  27.     inc hl
  28.     inc hl
  29.     inc hl
  30.     inc hl              ;sauter la taille du programme et deux autres octets que je ne sais pas ce'qu'ils font
  31.     ld de,$9D95
  32.     ldir
  33.     call $9D95
  34.     ret
  35. programme_a_executer:
  36. .db ProgObj,"MEGAMAN",0
  37. fin_routine:
Add Comment
Please, Sign In to add comment