C64scrwr.asm

Properties Detected jimmyd 4 Views Size: 406 bytes Posted on: Oct 5, 25 @ 10:55 AM
  1. 1*=$0BB8 ; 3000 decimal, address where program should be loaded to.
  2. 2
  3. 3; Program writes an 'A' at top left and bottom right of screen and sets it's color
  4. 4main:
  5. 5 lda #01 ; Screen code of 'A'
  6. 6 sta $0400 ; Write to upper left corner
  7. 7 sta $07E7 ; Write to lower right corner
  8. 8
  9. 9 lda #13 ; Light Green color
  10. 10 sta $D800 ; Top left character
  11. 11 lda #5 ; Green color
  12. 12 sta $DBE7 ; Lower right character
  13. 13 rts

Raw Paste

Comments 0
Login to post a comment.
  • No comments yet. Be the first.
Login to post a comment. Login or Register
We use cookies. To comply with GDPR in the EU and the UK we have to show you these.

We use cookies and similar technologies to keep this website functional (including spam protection via Google reCAPTCHA), and — with your consent — to measure usage and show ads. See Privacy.