jumpToSubroutine

print char set for c64 assembly6502

Sep 2nd, 2020 (edited)
328
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ;This little program i made print out the entire commodore 64 character set, enjoy!
  2. ;-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  3. ; 10 SYS (49152);
  4.  
  5. *=$0801
  6.  
  7.         BYTE    $0E, $08, $0A, $00, $9E, $20, $28,  $34, $39, $31, $35, $32, $29, $00, $00, $00
  8.  
  9. *=$C000
  10.  
  11. PRINT
  12.  
  13.        
  14.         lda #<PROMPT
  15.         ldy #>PROMPT
  16.         jsr $AB1E
  17.         jmp INIT
  18.  
  19. PROMPT
  20.         null "text"          
  21. INIT
  22.         ldx #255
  23. LOOP
  24.         stx $CFFF
  25.         lda $CFFF
  26.         sta 1405,X
  27.         dex
  28.         bne LOOP
  29.         jmp LOOP
  30.         brk
Add Comment
Please, Sign In to add comment