Subversion Repositories svn.mios

Rev

Rev 1072 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1072 Rev 1168
Line 1... Line 1...
1
; $Id: setup_pic18f452_mbfm_v1.asm 1072 2012-07-22 17:29:22Z tk $
1
; $Id: setup_pic18f452_mbfm_v1.asm 1168 2014-06-23 22:13:36Z tk $
2
    LIST R=DEC
2
    LIST R=DEC
3
;
3
;
4
; Prepared Setup File for TK's MIDIbox FM setup
4
; Prepared Setup File for TK's MIDIbox FM setup
5
; In difference to the setup_mbfm_v1.asm configuration it uses a different 
5
; In difference to the setup_mbfm_v1.asm configuration it uses a different 
6
; rotary encoder type and an enabled AOUT interface
6
; rotary encoder type and an enabled AOUT interface
Line 13... Line 13...
13
    ;; some memory
13
    ;; some memory
14
#define CS_ENABLED 1
14
#define CS_ENABLED 1
15
15
16
    ;; specific changes for the sammichFM control surface (requires PIC18F4685!)
16
    ;; specific changes for the sammichFM control surface (requires PIC18F4685!)
17
#define CS_SAMMICH_FM 0
17
#define CS_SAMMICH_FM 0
-
 
18
   
-
 
19
    ;; set this flag to 1 in order to enable 8bit LCD access mode for PIC18F4685 derivatives.
-
 
20
    ;; IMPORTANT: this option requires a modification on the sammichFM hardware:
-
 
21
    ;; Connect:
-
 
22
    ;; - PIC Pin RE1 to J16:D3
-
 
23
    ;; - PIC Pin RE2 to J16:D2
-
 
24
    ;; - PIC Pin RB1 to J16:D1
-
 
25
    ;; - PIC Pin RB0 to J16:D0
-
 
26
    ;; Compare following schematic for sammichFM J16 pinning: http://www.midibox.org/dokuwiki/lib/exe/fetch.php?media=sammichfm:sammichfm_base_pcb_rev_1.pdf
-
 
27
    ;; And following schematic for PIC pinning: http://www.ucapps.de/mbhp/mbhp_core_v3.pdf
-
 
28
#define USE_8BIT_LCD_DRIVER 0
18
   
29
   
19
    ;; new custom char display handler (requires PIC18F4685!)
30
    ;; new custom char display handler (requires PIC18F4685!)
20
#define USE_CUSTOM_CHAR_HANDLER 0
31
#define USE_CUSTOM_CHAR_HANDLER 0
21
32
22
    ;; number of visible menu items on LCD
33
    ;; number of visible menu items on LCD