[Contents] [Commodore] [New] [Search] [Home]

Commodore 1571 firmware
Defaults for the Low Cost Controller (LCC)

        .page   'lcco'       
;
cntst=  *        
;
;
;
;     defs for low cost controller
;
;
;     written by glenn stark
;    1/80
;
;
;   (c) commodore business machines
;
timer1   =$1805         ;  timer 1 counter
;
;
;
;   mos 6522
;   address $1c00
;
        *  =$1c00        
;
dskcnt   *=*+1          ;  port b
; disko control lines
; bit 0: step in
; bit 1: step out
; bit 2: -motor on
; bit 3: act led
; bit 4: write protect sense
; bit 5: density select 0
; bit 6: density select 1
; bit 7: sync detect
;
;
data2    *=*+1          ;  port a
; gcr data input and output port
;
ddrb2    *=*+1          ;  data direction control
ddra2    *=*+1          ;  data direction control
;
t1lc2    *=*+1          ;  timer 1 low counter
t1hc2    *=*+1          ;  timer 1 hi countr
;
t1ll2    *=*+1          ;  timer 1 low latch
t1hl2    *=*+1          ;  timer 1 hi latch
;
t2ll2    *=*+1          ;  timer two low latch
t2lh2    *=*+1          ;  timer two hi latch
;
sr2      *=*+1          ;  shift register
;
acr2     *=*+1   
;
pcr2     *=*+1   
;
ifr2     *=*+1   
;
ier2     *=*+1   
;
;
        *  =cntst        
;
;
;
;.end

[Contents] [Commodore] [New] [Search] [Home]
This page has been created by Sami Rautiainen.
Read the small print. Last updated March 24, 1998.