home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / enterprs / c128 / text / examples.arc / BASIC.A < prev    next >
Encoding:
Text File  |  1989-12-01  |  832 b   |  28 lines

  1. ;basic.asm
  2. ;-----------------------------------------
  3. ; user installable command: set basic mode
  4. ;-----------------------------------------
  5.                                   
  6. tx          = $1bfe               
  7. colr        = $1be1               
  8. int0e       = $170e
  9.  
  10. white       = 5
  11.                                   
  12. star        = $0b00               
  13.             .wor  star            
  14.             * = star              
  15.  
  16.             jmp basic
  17.             dw Date
  18.                       
  19. basic       lda tx
  20.             and #%01111111        ;flag basic mode
  21.             sta tx                
  22.             lda #white
  23.             sta colr              
  24.             jsr $ffd2             
  25.             jmp int0e             ;and terminate
  26.                                   
  27.             .end                  
  28.