chiark / gitweb /
new arrangements including points; about to hack for qq test
[trains.git] / detpic / morse.messages
1 # This is the list of morse panic messages.  Each line consists of:
2 #    <morse>  [<address>,<address>...]   [; <description>]
3 # This file is converted to morse.asm by the Perl script morse.asm-gen.
4 # See morse.asm-gen for information about the format of the data stored
5 # in flash.  Only addresses in the Access Bank are supported.
6
7 # Suggested output by on the per-pic-led is:
8 #    morse (red/black)   contents of one address
9 #    morse (red/black)   contents of next address
10 #    ...
11 #    morse (red/black)   contents of last address
12 #    long pause
13 #    go back to start
14 # Contents of addresses should preferably be read into a temporary
15 # buffer space somewhere so that each one is read once and that value
16 # remembered.
17
18 # Main message listing.  Kept sorted by morse for easy reference.
19 IH      INTCON,INTCON3,PIR1,PIR2,PIR3 ; Interrupt source not found (high pri.)
20 IL      INTCON,INTCON3,PIR1,PIR2,PIR3 ; Interrupt source not found (low pri.)
21 IP      INTCON                  ; Interrupt of priority supposedly disabled
22
23 # Messages starting with T are temporary entries for testing and development
24 TM      PIE1,SSPSTAT,SSPCON1,SSPCON2 ; Master got I2C interrupt
25 TS      PIE1,SSPSTAT,SSPCON1,SSPCON2 ; Slave got I2C interrupt
26 TI1                             ; for iwj
27 TI2                             ; for iwj
28 TI3                             ; for iwj
29 TI4                             ; for iwj
30 TI5                             ; for iwj
31 X       test-sofar:ch           ; bad character received from host
32
33 # Unimplemented things
34 UP
35 UL
36 UM
37 UE
38
39 ZM      i2clib:st,:sspstat,:sspcon1,:sspcon2 ; for testing
40 ZS      i2clib:st,:sspstat,:sspcon1,:st_orig ; for testing
41
42 # Messages for i2clib, S*
43 SM      i2clib:st,:sspstat,:sspcon1,:sspcon2 ; m.,i., ctrlr bad state
44 SS      i2clib:st,SSPSTAT,SSPCON1,:st_orig ; s.,i., controller bad state
45 SK      i2clib:slave                    ; m. couldn't address slave (no ack)
46 SN      i2clib:slave                    ; improper slave number
47 SW      i2clib:st                       ; improper i2cm_write_start
48 SF      i2clib:st                       ; improper i2cmu_write_next_byte Z
49 SR      i2clib:st                       ; improper i2cm_read_start
50 SA      i2clib:st                       ; improper i2cm_read_another
51 SD      i2clib:st                       ; impr. i2cm_read_done/i2cs_read_data
52
53 # Messages for slave detection/i2c
54 DW                                      ; slave write (nyi)
55 DQ      FSR2L,:outmsg_end               ; previous slave read incomplete
56 DR      FSR2L,:outmsg_end               ; slave read overrun
57
58 # Messages for specific peripherals
59 RS      FSR0L                           ; POLARITY message too short
60 RL      FSR0L                           ; POLARITY message too long
61
62 PB      points:pointmsg                 ; Firing point when already busy
63 PI      points:pointmsg,T3CON           ; Unexpected Timer 3 interrupt
64 PU      points:pointmsg                 ; Firing nonexistent point
65 PF      points:t                        ; Flash mentions point not on board