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.
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
11 # morse (red/black) contents of last address
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
18 # Main message listing. Kept sorted by morse for easy reference.
19 # ---------------------------------------------------------------
22 E ; `expected'; we were told to panic
24 # Regarding communications from the host
25 HX ::t ; host sent unknown command
26 HW ::t ; host sent message which was too long
27 HO ; host RS232 read overrun
28 HF ; host RS232 framing error
29 HN ; host sent too much NMRA - buffers full
31 # Problematic interrupts
32 IH INTCON,INTCON3,PIR1,PIR2,PIR3 ; Interrupt source not found (high pri.)
33 IL INTCON,INTCON3,PIR1,PIR2,PIR3 ; Interrupt source not found (low pri.)
34 IP INTCON ; Interrupt of priority supposedly disabled
36 # Temporary entries for testing and development
37 TM PIE1,SSPSTAT,SSPCON1,SSPCON2 ; Master got I2C interrupt
43 ZM i2clib:st,:sspstat,:sspcon1,:sspcon2 ; for testing
44 X test-sofar:ch ; bad character received from host
46 # Unimplemented things
53 # Messages for i2clib, S*
54 SM i2clib:st,:sspstat,:sspcon1,:sspcon2 ; m.,i., ctrlr bad state
55 SS SSPSTAT,SSPCON1 ; s.,i., controller bad state
56 SK i2clib:slave ; m. couldn't address slave (no ack)
57 SN i2clib:slave ; improper slave number
58 SB i2clib:st ; improper i2cm_{read,write}_start
59 SF i2clib:st ; improper i2cmu_write_next_byte Z
60 SA i2clib:st ; improper i2cm_read_another
61 SD i2clib:st ; impr. i2cm_read_done/i2cs_read_data
63 # Messages for slave detection/i2c
64 DQ FSR2L,::outmsg_end ; previous slave read incomplete
65 DR FSR2L,::outmsg_end ; slave read overrun
66 DX ::t ; slave received wrong message byte
67 DB detect:message_buffer ; slave_add_short_message overrun
69 # Messages for specific peripherals:
70 # R - Reversers (polarity)
71 RS FSR0L ; POLARITY message too short
72 RL FSR0L ; POLARITY message too long
75 PB points:pointmsg ; Firing point when already busy
76 PI points:pointmsg,T3CON ; Unexpected Timer 3 interrupt
77 PU points:pointmsg ; Firing nonexistent point
78 PF ::t ; Flash mentions point not on board