Author Topic: Bug Reports  (Read 455011 times)

0 Members and 2 Guests are viewing this topic.

Offline Happybobjr

  • James Oldiges
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2325
  • Rating: +128/-20
  • Howdy :)
    • View Profile
Re: Bug Reports
« Reply #1710 on: March 20, 2012, 09:28:14 pm »
I don't think that is a bug.
I might be wrong, but i think that is to tell you the size and location or something.
School: East Central High School
 
Axe: 1.0.0
TI-84 +SE  ||| OS: 2.53 MP (patched) ||| Version: "M"
TI-Nspire    |||  Lent out, and never returned
____________________________________________________________

Offline Darl181

  • «Yo buddy, you still alive?»
  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3408
  • Rating: +305/-13
  • VGhlIEdhbWU=
    • View Profile
    • darl181.webuda.com
Re: Bug Reports
« Reply #1711 on: March 20, 2012, 09:30:02 pm »
{VAR-2}r is the size.
Without the +12, it was copying data that wasn't in the archived program that the file pointed to.

Edit: see edit on other post previous page
« Last Edit: March 20, 2012, 10:36:57 pm by Darl181 »
Vy'o'us pleorsdti thl'e gjaemue

Offline BlakPilar

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 734
  • Rating: +44/-1
    • View Profile
Re: Bug Reports
« Reply #1712 on: March 30, 2012, 08:17:44 am »
I'm not 100% sure if this is all Axe's fault, but whenever my friend goes to compile a program that gets a pointer to an AppVar, the program itself runs fine, but then it closes saying it can't get the AppVar, and whenever he goes to press PRGM afterwards, his calculator freezes and he needs to pull a battery. His OS is 2.53MP and his bootcode is 1.02, if that helps.

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Bug Reports
« Reply #1713 on: March 30, 2012, 01:29:09 pm »
You would have to post the code, as that sounds like a very general problem that would probably have happened to somebody if it was a recurring bug.  Does he have any other hooks installed from other programs?  How was the appvar created?

Offline BlakPilar

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 734
  • Rating: +44/-1
    • View Profile
Re: Bug Reports
« Reply #1714 on: March 30, 2012, 02:55:55 pm »
I don't think he has any other hooks installed, but I do know that after I sent him zStart and Axe, MirageOS's displaying was messed up really bad, he uninstalled zStart, nothing happened, then the next day it fixed itself.

The code for the program though, was just this:
PROGRAM:A
.B
GetCalc("appvLOL",1)->P


We weren't going to use the appvar, I was just teaching him pointers.

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: Bug Reports
« Reply #1715 on: March 30, 2012, 03:03:32 pm »
That was definitely the appv token and not the individual letters, right?
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline BlakPilar

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 734
  • Rating: +44/-1
    • View Profile
Re: Bug Reports
« Reply #1716 on: March 30, 2012, 03:40:12 pm »
Yes, I made sure to check that it was that.

Offline calcdude84se

  • Needs Motivation
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2272
  • Rating: +78/-13
  • Wondering where their free time went...
    • View Profile
Re: Bug Reports
« Reply #1717 on: April 09, 2012, 03:31:43 pm »
The variable-less version of For( doesn't have its opening parenthesis closed by a newline.
As a result, this simple test program fails to compile:
Code: [Select]
For(10
End
"People think computers will keep them from making mistakes. They're wrong. With computers you make mistakes faster."
-Adam Osborne
Spoiler For "PartesOS links":
I'll put it online when it does something.

Offline Runer112

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: Bug Reports
« Reply #1718 on: April 13, 2012, 10:51:13 pm »
Here's a very minor bug that nobody has noticed for a long time. It's a bug with an optimization I suggested that's so insignificant, nobody (including myself) even realized that the optimization was implemented in Axe 1.0.1, until now.

The optimization was that operations on big-endian values read from a constant address, like +{°A}rr, have an optimized load in the form of ld bc,(pointer) \ ld e,b \ ld d,c. The bug is that the value of the pointer is not included, so any such operations compile to ld bc,(0) \ ld e,b \ ld d,c.

And on a side thought, now that Ar syntax exists for one-byte variable reads, perhaps Arr syntax should exist for big-endian reads?
« Last Edit: April 13, 2012, 10:53:02 pm by Runer112 »

Offline Keoni29

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2466
  • Rating: +291/-16
    • View Profile
    • My electronics projects at 8times8
Re: Bug Reports
« Reply #1719 on: April 26, 2012, 08:59:57 am »
getKey(41)
(the on key)is broken. It worked fine in previous versions
« Last Edit: April 26, 2012, 09:00:27 am by Keoni29 »
If you like my work: why not give me an internet?








Offline Runer112

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: Bug Reports
« Reply #1720 on: April 26, 2012, 04:11:20 pm »
getKey(41)
(the on key)is broken. It worked fine in previous versions

getKey(41) appears to work fine for me. Can you show us the section of code in which it is located and not working?
« Last Edit: April 26, 2012, 04:12:31 pm by Runer112 »

Offline Keoni29

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2466
  • Rating: +291/-16
    • View Profile
    • My electronics projects at 8times8
Re: Bug Reports
« Reply #1721 on: April 27, 2012, 10:15:07 am »
Or number "1" is messing up everything, but that's less likely :P Lemme just pop it in sourcecoder
If you like my work: why not give me an internet?








Offline thepenguin77

  • z80 Assembly Master
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1594
  • Rating: +823/-5
  • The game in my avatar is bit.ly/p0zPWu
    • View Profile
Re: Bug Reports
« Reply #1722 on: May 19, 2012, 10:18:47 pm »
I don't know if you know this, but the old universal unlock exploit actually corrupts the OS.

So use this one:
Spoiler For Spoiler:
Code: [Select]
UnlockFlash:
;Unlocks Flash protection.
;Destroys: pagedCount                       
;          pagedGetPtr
;          arcInfo
;          iMathPtr5
;          pagedBuf
;          ramCode

        di
        in      a, (06)
        push    af

        ld      hl, returnPoint+$8214-$81E3
        ld      de, $8214
        ld      a, e
        ld      (arcInfo), a            ;should be 08-15
        ld      (pagedCount), a         ;just has to be over 2
        ld      bc, $8214-$8167
        lddr
        ld      (iMathPtr5), de         ;must be 8167
        ld      iy, 0056h-25h           ;permanent flags
       
        jp      $81E3+continuePoint-returnPoint

continuePoint:
        add     a, e
        ld      (pagedBuf), a           ;needs to be large, but under 80
        call    $81E3+translatePage-returnPoint
        ld      hl, ($5092)
        ld      a, ($5094)
        call    $81E3+translatePage-returnPoint
        ld      a, $CC
        cpir
        dec     hl
        jp      (hl)

returnPoint:
        ld      hl, $0018
        ld      (hl), $C3               ;dummy write
flashWait:
        ld      iy, flags
        djnz    flashWait               ;wait for write to finish
        add     hl, sp
        ld      sp, hl
        pop     af
translatePage:
        bcall(_NZIf83Plus)
        jr      z, not83
        and     1Fh
not83:
        out     (06), a
        ret

This version is specifically designed for apps btw.
zStart v1.3.013 9-20-2013 
All of my utilities
TI-Connect Help
You can build a statue out of either 1'x1' blocks or 12'x12' blocks. The 1'x1' blocks will take a lot longer, but the final product is worth it.
       -Runer112

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: Bug Reports
« Reply #1723 on: May 24, 2012, 03:00:51 pm »
Is there a problem with the pt-Get Command ?
Before displaying a sprite on the buffer, I use pt-Get to save what is on the screen then I display the sprite, use DispGraph then erase the sprite with the pt-Get thing but I have to add an offset to erase the sprite at the right place ???

Like:
pt-Get(X,Y,L6,L1)
Pt-Off(X,Y,Str0)
DispGraph
Pt-Off(X+8,Y-1,L1)
« Last Edit: May 24, 2012, 03:00:58 pm by Hayleia »
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s

Offline Runer112

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: Bug Reports
« Reply #1724 on: May 24, 2012, 04:53:08 pm »
That actually isn't a bug with pt-Get(), that's an issue with the sprite drawing commands:

Is axe 1.1.1 known to be buggy with arbitrary buffers?

If you mean drawing sprites to arbitrary buffers, this should work fine in Axe 1.1.1. There is currently a bug in drawing sprites to arbitrary buffers in Axe 1.1.2, but it shouldn't have existed before this. However, you should be able to get around this bug in Axe 1.1.2 by adding 11 to the buffer argument in sprite drawing commands.