SHARE
TWEET

Untitled

a guest Aug 25th, 2019 79 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ov = $90 ; == $40, initial value for the overflow counter
  2. ct = $D5 ; == $27 / 39, number of passes. Decrementing, finished at -1
  3. sp = $D1 ; == $07C0, pointer to the bottom line (only set after scolling)
  4.  
  5. * = $02E5
  6.  
  7. scroll: jsr $E8EA
  8. loop:   ldy ct
  9.         lda #$A0
  10.         sta $D020, y
  11. p1:     sta $07C0
  12.         sta (sp), y
  13.         inc p1 + 1
  14.         adc ov
  15.         sta ov
  16.         dec ct
  17.         bmi *
  18.         bcc loop
  19.         jmp scroll
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top