equal
deleted
inserted
replaced
2012 call GetSmallPacket2 |
2012 call GetSmallPacket2 |
2013 call popErrorHandleR |
2013 call popErrorHandleR |
2014 call Page7C_2DCF |
2014 call Page7C_2DCF |
2015 ld a, (unk_867C) |
2015 ld a, (unk_867C) |
2016 cp 1 |
2016 cp 1 |
2017 jp z, Page7C_3A0B |
2017 jp z, InitLinkIOContext |
2018 cp 2 |
2018 cp 2 |
2019 jr nz, p7Cloc_4BEF |
2019 jr nz, p7Cloc_4BEF |
2020 ld hl, Page7C_2C79 |
2020 ld hl, Page7C_2C79 |
2021 call pushErrorHandleR |
2021 call pushErrorHandleR |
2022 call p7Csub_418C |
2022 call p7Csub_418C |
2023 call popErrorHandleR |
2023 call popErrorHandleR |
2024 jp Page7C_3A0B |
2024 jp InitLinkIOContext |
2025 ; --------------------------------------------------------------------------- |
2025 ; --------------------------------------------------------------------------- |
2026 |
2026 |
2027 p7Cloc_4BEF: |
2027 p7Cloc_4BEF: |
2028 cp 3 |
2028 cp 3 |
2029 jp nz, ErrLinkXmit |
2029 jp nz, ErrLinkXmit |
4220 |
4220 |
4221 ; =============== S U B R O U T I N E ======================================= |
4221 ; =============== S U B R O U T I N E ======================================= |
4222 |
4222 |
4223 |
4223 |
4224 DeselectAllVars: |
4224 DeselectAllVars: |
4225 ; p7Csub_4B62:Page7C_3A0Bp ... |
4225 ; p7Csub_4B62:InitLinkIOContextp ... |
4226 call p7Csub_5A39 |
4226 call p7Csub_5A39 |
4227 xor a |
4227 xor a |
4228 |
4228 |
4229 p7Cloc_5A56: |
4229 p7Cloc_5A56: |
4230 push af |
4230 push af |
4336 ; End of function Page7C_2CE5 |
4336 ; End of function Page7C_2CE5 |
4337 |
4337 |
4338 ; --------------------------------------------------------------------------- |
4338 ; --------------------------------------------------------------------------- |
4339 ; START OF FUNCTION CHUNK FOR p7Csub_4B62 |
4339 ; START OF FUNCTION CHUNK FOR p7Csub_4B62 |
4340 |
4340 |
4341 Page7C_3A0B: |
4341 InitLinkIOContext: |
4342 call DeselectAllVars |
4342 call DeselectAllVars |
4343 |
4343 |
4344 p7Cloc_5AD0: |
4344 p7Cloc_5AD0: |
4345 set ignoreBPLink, (iy+hookflags1) |
4345 set ignoreBPLink, (iy+hookflags1) |
4346 xor a |
4346 xor a |
4545 jr nz, p7Cloc_5C39 |
4545 jr nz, p7Cloc_5C39 |
4546 bit 1, (hl) |
4546 bit 1, (hl) |
4547 jp nz, resetRam |
4547 jp nz, resetRam |
4548 |
4548 |
4549 p7Cloc_5C36: |
4549 p7Cloc_5C36: |
4550 jp Page7C_3A0B |
4550 jp InitLinkIOContext |
4551 ; --------------------------------------------------------------------------- |
4551 ; --------------------------------------------------------------------------- |
4552 |
4552 |
4553 p7Cloc_5C39: |
4553 p7Cloc_5C39: |
4554 cp 11h |
4554 cp 11h |
4555 jp nz, p7Cloc_5C84 |
4555 jp nz, p7Cloc_5C84 |
4606 p7Cloc_5C81: |
4606 p7Cloc_5C81: |
4607 jp p7Cloc_5C20 |
4607 jp p7Cloc_5C20 |
4608 ; --------------------------------------------------------------------------- |
4608 ; --------------------------------------------------------------------------- |
4609 |
4609 |
4610 p7Cloc_5C84: |
4610 p7Cloc_5C84: |
4611 jp Page7C_3A0B |
4611 jp InitLinkIOContext |
4612 ; --------------------------------------------------------------------------- |
4612 ; --------------------------------------------------------------------------- |
4613 |
4613 |
4614 p7Cloc_5C87: |
4614 p7Cloc_5C87: |
4615 cp 18h |
4615 cp 18h |
4616 jr nz, p7Cloc_5CA5 |
4616 jr nz, p7Cloc_5CA5 |
5148 |
5148 |
5149 ; =============== S U B R O U T I N E ======================================= |
5149 ; =============== S U B R O U T I N E ======================================= |
5150 |
5150 |
5151 |
5151 |
5152 p7Csub_6023: |
5152 p7Csub_6023: |
5153 ; ReceiveVar+690p ... |
|
5154 ld a, 1 |
5153 ld a, 1 |
5155 ld (sndRecState), a |
5154 ld (sndRecState), a |
5156 ret |
5155 ret |
5157 ; End of function p7Csub_6023 |
|
5158 |
5156 |
5159 linkContext: |
5157 linkContext: |
5160 .dw Page7C_2CF1 |
5158 .dw Page7C_2CF1 |
5161 .dw linkcxPPutAway |
5159 .dw linkcxPPutAway |
5162 .dw linkcxPPutAway |
5160 .dw linkcxPPutAway |
5163 .dw linkcxPPUtAway |
5161 .dw linkcxPPUtAway |
5164 .dw Page7C_3A0B |
5162 .dw InitLinkIOContext |
5165 .dw linkcxSizeWind |
5163 .dw linkcxSizeWind |
5166 .db 12h |
5164 .db 12h |
5167 |
5165 |
5168 linkcxPPutAway: |
5166 linkcxPPutAway: |
5169 ld hl, ioFlag |
5167 ld hl, ioFlag |
7561 ret |
7559 ret |
7562 ; End of function LoadDEIndPaged |
7560 ; End of function LoadDEIndPaged |
7563 |
7561 |
7564 ; --------------------------------------------------------------------------- |
7562 ; --------------------------------------------------------------------------- |
7565 |
7563 |
7566 Page7C_3E31: |
7564 .module IsAHLAtValidAppHeader |
|
7565 IsAHLAtValidAppHeader: |
7567 push hl |
7566 push hl |
7568 push de |
7567 push de |
7569 push bc |
7568 push bc |
7570 push af |
7569 push af |
7571 ld b, a |
7570 ld b, a |
7577 ld a, 0Fh |
7576 ld a, 0Fh |
7578 or l |
7577 or l |
7579 ld l, a |
7578 ld l, a |
7580 or a |
7579 or a |
7581 sbc hl, de |
7580 sbc hl, de |
7582 jr nz, p7Cloc_6D4A |
7581 jr nz, {+} |
7583 |
7582 -: pop af |
7584 p7Cloc_6D45: |
|
7585 pop af |
|
7586 ld b, a |
7583 ld b, a |
7587 xor a |
7584 xor a |
7588 jr p7Cloc_6D5A |
7585 jr _ret |
7589 ; --------------------------------------------------------------------------- |
7586 +: pop af |
7590 |
|
7591 p7Cloc_6D4A: |
|
7592 pop af |
|
7593 push af |
7587 push af |
7594 ld h, 0 |
7588 ld h, 0 |
7595 ld l, 0Fh |
7589 ld l, 0Fh |
7596 or a |
7590 or a |
7597 sbc hl, de |
7591 sbc hl, de |
7598 jr z, p7Cloc_6D45 |
7592 jr z, {-} |
7599 pop af |
7593 pop af |
7600 ld b, a |
7594 ld b, a |
7601 ld a, 1 |
7595 ld a, 1 |
7602 or a |
7596 or a |
7603 |
7597 _ret: ld a, b |
7604 p7Cloc_6D5A: |
|
7605 ld a, b |
|
7606 pop bc |
7598 pop bc |
7607 pop de |
7599 pop de |
7608 pop hl |
7600 pop hl |
7609 ret |
7601 ret |
7610 |
7602 .endmodule |
7611 ; =============== S U B R O U T I N E ======================================= |
|
7612 |
|
7613 |
7603 |
7614 p7Csub_6D5F: |
7604 p7Csub_6D5F: |
7615 ; Page7C_2C91+1Bp |
|
7616 call NZIf83Plus |
7605 call NZIf83Plus |
7617 jr nz, p7Cloc_6D69 |
7606 jr nz, p7Cloc_6D69 |
7618 and 7Fh ; '' |
7607 and 7Fh ; '' |
7619 cp 6Ah ; 'j' |
7608 cp 6Ah ; 'j' |
7620 ret |
7609 ret |
7621 ; --------------------------------------------------------------------------- |
|
7622 |
|
7623 p7Cloc_6D69: |
7610 p7Cloc_6D69: |
7624 and 1Fh |
7611 and 1Fh |
7625 cp 16h |
7612 cp 16h |
7626 ret |
7613 ret |
7627 ; End of function p7Csub_6D5F |
|
7628 |
|
7629 |
|
7630 ; =============== S U B R O U T I N E ======================================= |
|
7631 |
|
7632 |
7614 |
7633 p7Csub_6D6E: |
7615 p7Csub_6D6E: |
7634 ld a, 16h |
7616 ld a, 16h |
7635 call NZIf83Plus |
7617 call NZIf83Plus |
7636 ret nz |
7618 ret nz |
7775 ret |
7757 ret |
7776 ; End of function p7Csub_6DDC |
7758 ; End of function p7Csub_6DDC |
7777 |
7759 |
7778 ; --------------------------------------------------------------------------- |
7760 ; --------------------------------------------------------------------------- |
7779 |
7761 |
7780 Page7C_3EAF: |
7762 ResetIOPorts: |
7781 ld a, 0 |
7763 ld a, 0 |
7782 out (0), a |
7764 out (0), a |
7783 ld a, 97h ; '�' |
7765 ld a, 97h |
7784 out (9), a |
7766 out (9), a |
7785 ld a, 0B4h ; '�' |
7767 ld a, 0B4h |
7786 out (0Ah), a |
7768 out (0Ah), a |
7787 out (0Bh), a |
7769 out (0Bh), a |
7788 out (0Ch), a |
7770 out (0Ch), a |
7789 |
|
7790 ; =============== S U B R O U T I N E ======================================= |
|
7791 |
|
7792 |
|
7793 p7Csub_6E1A: |
7771 p7Csub_6E1A: |
7794 ld a, 80h ; '�' |
7772 ld a, 80h |
7795 out (8), a |
7773 out (8), a |
7796 xor a |
7774 xor a |
7797 out (8), a |
7775 out (8), a |
7798 in a, (9) |
7776 in a, (9) |
7799 set silentLinkActive, (iy+silentLinkFlags) |
7777 set silentLinkActive, (iy+silentLinkFlags) |
7800 xor a |
7778 xor a |
7801 ret |
7779 ret |
7802 ; End of function p7Csub_6E1A |
|
7803 |
|
7804 |
|
7805 ; =============== S U B R O U T I N E ======================================= |
|
7806 |
|
7807 |
7780 |
7808 p7Csub_6E29: |
7781 p7Csub_6E29: |
7809 ld hl, 8685h |
7782 ld hl, 8685h |
7810 ld e, a |
7783 ld e, a |
7811 ld d, 0 |
7784 ld d, 0 |
8196 |
8169 |
8197 ; =============== S U B R O U T I N E ======================================= |
8170 ; =============== S U B R O U T I N E ======================================= |
8198 |
8171 |
8199 |
8172 |
8200 p7Csub_6FEA: |
8173 p7Csub_6FEA: |
8201 call page0_1664 |
8174 call command_buf_to_OP1 |
8202 call p7Csub_7022 |
8175 call p7Csub_7022 |
8203 call page0_165F |
8176 call last_entry_to_OP1 |
8204 call p7Csub_7022 |
8177 call p7Csub_7022 |
8205 ld hl, symTable |
8178 ld hl, symTable |
8206 ld b, 0 |
8179 ld b, 0 |
8207 |
8180 |
8208 p7Cloc_6FFB: |
8181 p7Cloc_6FFB: |
8718 ; =============== S U B R O U T I N E ======================================= |
8691 ; =============== S U B R O U T I N E ======================================= |
8719 |
8692 |
8720 |
8693 |
8721 p7Csub_72B2: |
8694 p7Csub_72B2: |
8722 ; p7Csub_725D+16p |
8695 ; p7Csub_725D+16p |
8723 call Page0Call_2B53 |
8696 call j_GetFirstInvalidAppPageToB |
8724 call p7Csub_7ED9 |
8697 call p7Csub_7ED9 |
8725 |
8698 |
8726 p7Cloc_72B8: |
8699 p7Cloc_72B8: |
8727 cp b |
8700 cp b |
8728 jr z, p7Cloc_72E3 |
8701 jr z, p7Cloc_72E3 |
8801 jr z, p7Cloc_732B |
8774 jr z, p7Cloc_732B |
8802 ld b, 0FDh ; '�' |
8775 ld b, 0FDh ; '�' |
8803 call p7Csub_7E85 |
8776 call p7Csub_7E85 |
8804 |
8777 |
8805 p7Cloc_732B: |
8778 p7Cloc_732B: |
8806 call Page0Call_2B53 |
8779 call j_GetFirstInvalidAppPageToB |
8807 ld a, b |
8780 ld a, b |
8808 inc a |
8781 inc a |
8809 call p7Csub_7E97 |
8782 call p7Csub_7E97 |
8810 ld (hl), a |
8783 ld (hl), a |
8811 ld hl, 836Dh |
8784 ld hl, 836Dh |
9150 p7Csub_74CB: |
9123 p7Csub_74CB: |
9151 push af |
9124 push af |
9152 ld a, (unk_8435) |
9125 ld a, (unk_8435) |
9153 add a, 3 |
9126 add a, 3 |
9154 push af |
9127 push af |
9155 call Page0Call_2B53 |
9128 call j_GetFirstInvalidAppPageToB |
9156 pop af |
9129 pop af |
9157 sub b |
9130 sub b |
9158 jr c, p7Cloc_74E8 |
9131 jr c, p7Cloc_74E8 |
9159 ld a, b |
9132 ld a, b |
9160 call p7Csub_74B2 |
9133 call p7Csub_74B2 |
9817 |
9790 |
9818 ; =============== S U B R O U T I N E ======================================= |
9791 ; =============== S U B R O U T I N E ======================================= |
9819 |
9792 |
9820 |
9793 |
9821 p7Csub_7782: |
9794 p7Csub_7782: |
9822 call Page0Call_2B53 |
9795 call j_GetFirstInvalidAppPageToB |
9823 ld a, b |
9796 ld a, b |
9824 rst 28h |
9797 rst 28h |
9825 ; --------------------------------------------------------------------------- |
9798 ; --------------------------------------------------------------------------- |
9826 .dw 80CFh |
9799 .dw 80CFh |
9827 ; --------------------------------------------------------------------------- |
9800 ; --------------------------------------------------------------------------- |
9834 |
9807 |
9835 ; =============== S U B R O U T I N E ======================================= |
9808 ; =============== S U B R O U T I N E ======================================= |
9836 |
9809 |
9837 |
9810 |
9838 p7Csub_778D: |
9811 p7Csub_778D: |
9839 call Page0Call_2B53 |
9812 call j_GetFirstInvalidAppPageToB |
9840 ld a, b |
9813 ld a, b |
9841 ld (unk_8435), a |
9814 ld (unk_8435), a |
9842 call p7Csub_74C1 |
9815 call p7Csub_74C1 |
9843 ld a, b |
9816 ld a, b |
9844 |
9817 |
9921 call p7Csub_7E7F |
9894 call p7Csub_7E7F |
9922 call p7Csub_735B |
9895 call p7Csub_735B |
9923 res 7, (iy+24h) |
9896 res 7, (iy+24h) |
9924 ld b, 0FBh ; '�' |
9897 ld b, 0FBh ; '�' |
9925 call p7Csub_7E85 |
9898 call p7Csub_7E85 |
9926 call Page0Call_2B53 |
9899 call j_GetFirstInvalidAppPageToB |
9927 ld a, b |
9900 ld a, b |
9928 inc a |
9901 inc a |
9929 call p7Csub_7E97 |
9902 call p7Csub_7E97 |
9930 ld (hl), a |
9903 ld (hl), a |
9931 push af |
9904 push af |
10943 |
10916 |
10944 ; =============== S U B R O U T I N E ======================================= |
10917 ; =============== S U B R O U T I N E ======================================= |
10945 |
10918 |
10946 |
10919 |
10947 p7Csub_7C20: |
10920 p7Csub_7C20: |
10948 call Page0Call_2B53 |
10921 call j_GetFirstInvalidAppPageToB |
10949 ld a, b |
10922 ld a, b |
10950 rst 28h |
10923 rst 28h |
10951 ; --------------------------------------------------------------------------- |
10924 ; --------------------------------------------------------------------------- |
10952 .dw 80CFh |
10925 .dw 80CFh |
10953 ; --------------------------------------------------------------------------- |
10926 ; --------------------------------------------------------------------------- |