0 Members and 2 Guests are viewing this topic.
Both of those bugs should have been fixed with the 1.0.1 update. The issue was that the swap sector was being cleared but I forgot to reset the bit to re-indicate it was the swap sector one compiling finished. A bad flash error means that either the calculator could not find a swap sector or that flash failed to unlock.
.AXEPRGM"Hello World!"->Str1Disp Str1clrHome
In other news, Frey continues kicking unprecedented levels of ass.
Quote from: Quigibo on July 14, 2011, 09:53:54 pmBoth of those bugs should have been fixed with the 1.0.1 update. The issue was that the swap sector was being cleared but I forgot to reset the bit to re-indicate it was the swap sector one compiling finished. A bad flash error means that either the calculator could not find a swap sector or that flash failed to unlock.I was using 1.0.1. The swap sector was cleared, which mean flash was unlocked.I think a better idea, though, is to set the 0xFE byte directly after you erase the page, then use the rest of the sector as you please. After you're done, you won't have to erase it again because the identifier byte is there. (Trust me, I do this with TI-Boy)
Lbl LOACopy(Y1+R,L1+150,144)sub(LDR,L1+150).Random garbage occurs above this linesub(DRU)sub(DRR)If {L1+123}>0For(I,0,{L1+123}-1)sub(DRO,I)EndEnd0->{L1+114}->{L1+115}0->{S+34}sub(PSW)ReturnLbl LDR.r1: DATAPTR0->{L1+123}->{S+186}Fill(S+186,288)For(J,0,11)For(I,0,11)If inData({J*12+r1+I},GDB1O)^(length(GDB1O)+1)!=0{J*12+r1+I}->{{L1+123}*2+S+186}I->nib{{L1+123}*2+S+187*2}J->nib{{L1+123}*2+S+187*2+1}{L1+123}++0->{J*12+I+S+42}Else{J*12+r1+I}->{J*12+I+S+42}EndEndEndsub(MSK)ReturnLbl MSK0->{L1+150}Fill(L1+150,144)For(I,0,143)If inData({I+S+42},GDB1S)^(length(GDB1S)+1)!=01->{L1+I+150}EndEndFor(I,0,min({L1+123}-1,287))sub(OMK^^r,I,1)EndReturn