Power Station RAM usage version 30

Locationbank 0bank 1bank 2
00-1FSpecial Function Registers
20
sio_buf
receive and send
drv_t
status of each driver
 
21
22
23
24
25
26
27
28
29
2A
2B
2C
2D
2E
2F
30
xp_buf
transponder
circular
buffer
 
31
32
33
34
35
36
37
38
39
3A
3B
3C
3D
3E
3F
40
so_buf
send only
41
42
43
44
45
46
47
48so_in4 => last byte to send from so_buf
49so_ot - ptr to next byte to send from either buffer
4Axp_in
4Bxp_ot
4Cxp_rp - reporting
4Dm_stat - master status
4Etmr0h
4FOCX_blk - OC / XP rail A or B
50OCX_blk_hw
51OC_samp
52OC_cnt
53OC_retry
54DCC_state
55DCC_subst
56DCC_areg
57DCC_loco - note long address
not supported
58T1
59T2
5AT3
5BT4
5CT5
5DFM_BC - FRAM byte count
5EFM_RA - FRAM RAM address
5FD1 - FRAM data
60D2
61S1 lo lvl
62S2
63IT1 ints
64so_in16 => last byte to send from sio_buf
65si_in => next byte to receive to sio_buf
66si_cksum - checksum of incoming data
67PM_ctl - serial io control
68PM_t1
69PM_t2
6APM_s1
6BPM_s2
6C 
6D
6E
6F
70w_temp
71s_temp
72p_temp
73f_temp
74 
75 
76 
77 
78 
79 
7A 
7B 
7C 
7D 
7E 
7F