Rom's adress for holland 7.3/vlanderen
Hollande
--------
7D38 Send_Terminal:in r17, 0x3F ; Send R16 To Terminal
7D39 push r17
7D3A cli
7D3B loc_7D3B: lds r19, unk_200955
7D3D lds r18, VarTemp
7D3F ldi r20, 3
BeTV
----
7DE1 Send_Terminal: in r17, SREG
7DE2 push r17
7DE3 cli
7DE4 loc_7DE4: lds r19, unk_100955
7DE6 lds r18, unk_100953
7DE8 ldi r20, 3
----------------------------------------
Hollande
--------
56FF InsB4: cpi r16, 0xB4
5700 brne Next_Ins
5701 lds r16, Len ; FC
5703 cpi r16, 8
5704 ldi r16, 0
5705 breq Ok_B4
5706 Aff6700: ldi r17, 0x67 ; 'g'
5707 loc_5707: rcall Aff_Status
5708 rjmp ErrorB4 ; 6700 et fin
BeTV
----
5718 Suite_Ins: cpi r16, 0xB4
5719 brne Suite_Ins_B
571A InsB4: lds r16, Len
571C cpi r16, 8
571D ldi r16, 0
571E breq Traite_B4
571F loc_571F: ldi r17, 0x67 ; 'g'
5720 loc_5720: rcall Affecte_Status
5721 rjmp loc_5742
-------------------------------------------
Hollande
--------
4B0F Read_Trame: st -Y, r25
4B10 st -Y, r24
4B11 rcall sub_4B68
4B12 cpi r16, 4
4B13 sbci r17, 1
4B14 brcc loc_4B44
4B15 call sub_7D76
4B17 ldi r30, 0x8A
4B18 ldi r31, 8
4B19 ld r18, Z
4B1A ldd r19, Z+1
4B1B subi r18, -1
4B1C sbci r19, -1
4B1D st Z, r18
4B1E std Z+1, r19
4B1F subi r18, 1
4B20 sbci r19, 0
4B21 subi r18, -0x5B
4B22 sbci r19, -0xA
BeTV
----
4B1B Read_Trame: st -Y, r25
4B1C st -Y, r24
4B1D rcall sub_4B74
4B1E cpi r16, 4
4B1F sbci r17, 1
4B20 brcc loc_4B50
4B21 call sub_7E1F
4B23 ldi r30, 0x8A
4B24 ldi r31, 8
4B25 ld r18, Z
4B26 ldd r19, Z+1
4B27 subi r18, -1
4B28 sbci r19, -1
4B29 st Z, r18
4B2A std Z+1, r19
4B2B subi r18, 1
4B2C sbci r19, 0
4B2D subi r18, -0x5B
4B2E sbci r19, -0xA
---------------------------------------------------
Insert EEprom
Hollande
R20 = Char
R17 R16 = Adresse EEprom
416B Insert_EEprom: sbiw r28, 1
416C movw r30, r16
416D out 0x3B, r18
416E ld r22, Z
416F ldi r21, 0
4170 out 0x3B, r21
4171 cp r22, r20
4172 breq loc_417C
4173 st Y, r20
4174 ldi r19, 0
4175 st -Y, r19
4176 ldi r19, 1
4177 st -Y, r19
4178 movw r20, r28
4179 subi r20, -2 ; '¦'
417A sbci r21, -1
417B rcall sub_417E
417C loc_417C: adiw r28, 1
417D ret
BeTV
----
4177 sub_4177: sbiw r28, 1
4178 movw r30, r16
4179 out GICR, r18
417A ld r22, Z
417B ldi r21, 0
417C out GICR, r21
417D cp r22, r20
417E breq loc_4188
417F st Y, r20
4180 ldi r19, 0
4181 st -Y, r19
4182 ldi r19, 1
4183 st -Y, r19
4184 movw r20, r28
4185 subi r20, -2 ; '¦'
4186 sbci r21, -1
4187 rcall sub_418A
4188 loc_4188: adiw r28, 1
4189 ret
---------------------------------------------------------
408B: Write trame dans l'eeprom
BeTV: 4097
OM:4097 Write_Trame: ; CODE XREF: sub_3E4E+6p
ROM:4097 ; sub_3E5F+2j ...
ROM:4097 call sub_7F30
ROM:4099 ldd r19, Y+8 ; Transfert trame Ram vers Eeprom
ROM:409A ldd r1, Y+7
ROM:409B movw r4, r16
ROM:409C mov r6, r18
ROM:409D movw r22, r20
ROM:409E mov r2, r1
ROM:409F clr r0
Hollande
--------
7D38 Send_Terminal:in r17, 0x3F ; Send R16 To Terminal
7D39 push r17
7D3A cli
7D3B loc_7D3B: lds r19, unk_200955
7D3D lds r18, VarTemp
7D3F ldi r20, 3
BeTV
----
7DE1 Send_Terminal: in r17, SREG
7DE2 push r17
7DE3 cli
7DE4 loc_7DE4: lds r19, unk_100955
7DE6 lds r18, unk_100953
7DE8 ldi r20, 3
----------------------------------------
Hollande
--------
56FF InsB4: cpi r16, 0xB4
5700 brne Next_Ins
5701 lds r16, Len ; FC
5703 cpi r16, 8
5704 ldi r16, 0
5705 breq Ok_B4
5706 Aff6700: ldi r17, 0x67 ; 'g'
5707 loc_5707: rcall Aff_Status
5708 rjmp ErrorB4 ; 6700 et fin
BeTV
----
5718 Suite_Ins: cpi r16, 0xB4
5719 brne Suite_Ins_B
571A InsB4: lds r16, Len
571C cpi r16, 8
571D ldi r16, 0
571E breq Traite_B4
571F loc_571F: ldi r17, 0x67 ; 'g'
5720 loc_5720: rcall Affecte_Status
5721 rjmp loc_5742
-------------------------------------------
Hollande
--------
4B0F Read_Trame: st -Y, r25
4B10 st -Y, r24
4B11 rcall sub_4B68
4B12 cpi r16, 4
4B13 sbci r17, 1
4B14 brcc loc_4B44
4B15 call sub_7D76
4B17 ldi r30, 0x8A
4B18 ldi r31, 8
4B19 ld r18, Z
4B1A ldd r19, Z+1
4B1B subi r18, -1
4B1C sbci r19, -1
4B1D st Z, r18
4B1E std Z+1, r19
4B1F subi r18, 1
4B20 sbci r19, 0
4B21 subi r18, -0x5B
4B22 sbci r19, -0xA
BeTV
----
4B1B Read_Trame: st -Y, r25
4B1C st -Y, r24
4B1D rcall sub_4B74
4B1E cpi r16, 4
4B1F sbci r17, 1
4B20 brcc loc_4B50
4B21 call sub_7E1F
4B23 ldi r30, 0x8A
4B24 ldi r31, 8
4B25 ld r18, Z
4B26 ldd r19, Z+1
4B27 subi r18, -1
4B28 sbci r19, -1
4B29 st Z, r18
4B2A std Z+1, r19
4B2B subi r18, 1
4B2C sbci r19, 0
4B2D subi r18, -0x5B
4B2E sbci r19, -0xA
---------------------------------------------------
Insert EEprom
Hollande
R20 = Char
R17 R16 = Adresse EEprom
416B Insert_EEprom: sbiw r28, 1
416C movw r30, r16
416D out 0x3B, r18
416E ld r22, Z
416F ldi r21, 0
4170 out 0x3B, r21
4171 cp r22, r20
4172 breq loc_417C
4173 st Y, r20
4174 ldi r19, 0
4175 st -Y, r19
4176 ldi r19, 1
4177 st -Y, r19
4178 movw r20, r28
4179 subi r20, -2 ; '¦'
417A sbci r21, -1
417B rcall sub_417E
417C loc_417C: adiw r28, 1
417D ret
BeTV
----
4177 sub_4177: sbiw r28, 1
4178 movw r30, r16
4179 out GICR, r18
417A ld r22, Z
417B ldi r21, 0
417C out GICR, r21
417D cp r22, r20
417E breq loc_4188
417F st Y, r20
4180 ldi r19, 0
4181 st -Y, r19
4182 ldi r19, 1
4183 st -Y, r19
4184 movw r20, r28
4185 subi r20, -2 ; '¦'
4186 sbci r21, -1
4187 rcall sub_418A
4188 loc_4188: adiw r28, 1
4189 ret
---------------------------------------------------------
408B: Write trame dans l'eeprom
BeTV: 4097
OM:4097 Write_Trame: ; CODE XREF: sub_3E4E+6p
ROM:4097 ; sub_3E5F+2j ...
ROM:4097 call sub_7F30
ROM:4099 ldd r19, Y+8 ; Transfert trame Ram vers Eeprom
ROM:409A ldd r1, Y+7
ROM:409B movw r4, r16
ROM:409C mov r6, r18
ROM:409D movw r22, r20
ROM:409E mov r2, r1
ROM:409F clr r0