Advertisement
hayesmaker

Untitled

Jun 10th, 2020
3,229
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. .encoding "screencode_upper"
  2.     MyLabel1: .text "OPTIONS@"
  3.     MyVersionTxt: .text "VERSION 1.1@"
  4.  
  5. printVersion: {
  6.     .const row = 23
  7.     .const col = 28
  8.  
  9.     ldx #0
  10.      !loop_text:
  11.      lda MyVersionTxt,x       //; read characters from line1 table of text..
  12.      beq !next+
  13.      sta screen_ram + row*$28 + col, x
  14.      inx
  15.      jmp !loop_text-
  16.      !next:
  17.  
  18.     rts
  19.   }
Advertisement
RAW Paste Data Copied
Advertisement