Menu

#61 rrMoreFlag

3.0b6
pending-fixed
5
2013-07-09
2012-04-08
No

TCPREAD treats the rrMoreFlag like a longword (the size of the remaining data) rather than a Word. This overwrites rrPushFlag and returns the wrong result if the remaining data is a multiple of 65536 bytes.

1127 LDY #rrMoreFlag
1128 PLA
1129 STA [tcRESPONSEBUFFPTR],Y
1130 INY
1131 INY
1132 PLA
1133 STA [tcRESPONSEBUFFPTR],Y

^^ change to:
LDY #rrMoreFlag
PLA
ORA 1,S
STA [tcRESPONSEBUFFPTR],Y
PLA

1193 LDY #rrMoreFlag
1194 LDA :WORKLEN
1195 STA [tcRESPONSEBUFFPTR],Y
1196 INY
1197 INY
1198 LDA :WORKLEN+2
1199 STA [tcRESPONSEBUFFPTR],Y

^^ change to:

LDY #rrMoreFlag
LDA :WORKLEN
ORA :WORKLEN+2
STA [tcRESPONSEBUFFPTR],Y

Discussion

  • Andrew Roughan

    Andrew Roughan - 2013-06-24
    • assigned_to: Richard Bennett --> Andrew Roughan
    • Group: --> Intermittent/non-reproducable
     
  • Andrew Roughan

    Andrew Roughan - 2013-06-24
    • Group: Intermittent/non-reproducable --> Reproducable
     
  • Andrew Roughan

    Andrew Roughan - 2013-07-09
    • status: open --> pending-fixed
    • Group: Reproducable --> 3.0b6
     

Log in to post a comment.

MongoDB Logo MongoDB