A83: Scrolling background...


[Prev][Next][Index][Thread]

A83: Scrolling background...




What's wrong with this code?  Thanks...

---<START USELESS CODE>---

.NOLIST
#define equ .equ
#define EQU .equ
#define end .end
#include "ti83asm.inc"
#include "tokens.inc"
.LIST

.org 9327h

  ld    hl,picture
  ld 	de,PLOTSSCREEN
  ld 	bc,768
  ldir
  call  _grbufcpy_v

  ld    b,96
mainloop:
  push  bc

  ld    hl,PLOTSSCREEN
  ld    b,0
loop1:
  rr    (hl)
  djnz  loop1
loop2:
  rr    (hl)
  djnz  loop2
loop3:
  rr    (hl)
  djnz  loop3

  call  _grbufcpy_v

  pop   bc
  djnz  mainloop

  ret

picture:
  {deleted}

.end
.end

<--END USELESS CODE-->


Follow-Ups: