Author Topic: Bug Reports  (Read 456790 times)

0 Members and 1 Guest are viewing this topic.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Bug Reports
« Reply #810 on: October 03, 2010, 04:53:34 am »
Oh right I remember that. When exiting games with clear, the homescreen content is cleared almost in an instant.

Couldn't you just put the following code at the end of the program, right before it exits? Or is this something different involving apps in particular.
Code: [Select]
While getKey(15)
End
That might work, actually.

For apps, the home screen is cleared when exiting, it seems, though...

Offline Runer112

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: Bug Reports
« Reply #811 on: October 04, 2010, 04:02:18 pm »
In the Commands.htm file, fPart() and iPart() are reversed. iPart() is the real token for the nib{} command and fPart() is the real token for the float{} command.


EDIT: Here's something completely unrelated, but I don't want to double post:

Dereferencing doesn't seem to be acting right to me... aren't the built-in variables at constant addresses, and loading constants takes 3 bytes? So why does loading a variable's address with the ° modifier (e.g. ) take 6 bytes? And why does it not combine properly with operations? (e.g. A°+1 takes 9 bytes)
« Last Edit: October 04, 2010, 04:50:09 pm by Runer112 »

Offline Quigibo

  • The Executioner
  • CoT Emeritus
  • LV11 Super Veteran (Next: 3000)
  • *
  • Posts: 2031
  • Rating: +1075/-24
  • I wish real life had a "Save" and "Load" button...
    • View Profile
Re: Bug Reports
« Reply #812 on: October 04, 2010, 04:55:35 pm »
The syntax is °A not A°, is that the reason?
___Axe_Parser___
Today the calculator, tomorrow the world!

Offline Runer112

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: Bug Reports
« Reply #813 on: October 04, 2010, 04:57:09 pm »
Yeah, that would probably do it :-[ But why would even compile successfully for that matter?

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Bug Reports
« Reply #814 on: October 04, 2010, 08:20:01 pm »
Hmm, agreed for a feature request: more syntax checking.




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 #815 on: October 04, 2010, 08:36:16 pm »
Maybe more in depth syntax checking with a plethora of more detailed descriptions and errors?

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 #816 on: October 04, 2010, 10:25:51 pm »
I'm not sure if this is intentional, but I can't do oY1; I get an "improper use of file" error...
"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 Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Bug Reports
« Reply #817 on: October 04, 2010, 11:40:53 pm »
Oh, yeah, and I have a question about that: What are files?




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 #818 on: October 05, 2010, 07:56:26 am »
They are a page-address pair used to access archived files.
Basic syntax:
Code: [Select]
GetCalc("appvARCHIVED",Y1
Copy(Y1,L6,768
DispGraph
You can use Copy( and { with them.
Any other use results in a file misuse error. (And they should except for use with the degree symbol.)
« Last Edit: October 05, 2010, 07:56:45 am by calcdude84se »
"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 Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Bug Reports
« Reply #819 on: October 05, 2010, 06:34:27 pm »
Ohh, I see. So they're used exclusively to access archived files?




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 #820 on: October 05, 2010, 06:46:11 pm »
Yes, well, that's the intended use; with the ability to modify them directly, you can use the to read Flash at will. ;D
Example code: (assuming I can use get the address of Y1)
Code: [Select]
0->H
For(P,1,4
P->{°Y1
For(X,E4000,E7FFF
X->{°Y1+1
{X}+H->H
End
End
Yes, it's horribly inefficient (would be better done by reading a whole 16KB instead of one byte at a time), but it works. (It finds a 16-bit checksum of the first sector of flash.)
Of course, it would be better if there were built-in ways to access flash directly and not by a bcall, but something is better than nothing ;D
Edit: As a side note, you can use this code now, but you have to insert the address of Y1 rather than just use °Y1.
« Last Edit: October 05, 2010, 06:47:14 pm by calcdude84se »
"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 Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Bug Reports
« Reply #821 on: October 05, 2010, 06:56:58 pm »
Yes, well, that's the intended use; with the ability to modify them directly, you can use the to read Flash at will. ;D
Example code: (assuming I can use get the address of Y1)
Code: [Select]
0->H
For(P,1,4
P->{°Y1
For(X,E4000,E7FFF
X->{°Y1+1
{X}+H->H
End
End
Yes, it's horribly inefficient (would be better done by reading a whole 16KB instead of one byte at a time), but it works. (It finds a 16-bit checksum of the first sector of flash.)
Of course, it would be better if there were built-in ways to access flash directly and not by a bcall, but something is better than nothing ;D
Edit: As a side note, you can use this code now, but you have to insert the address of Y1 rather than just use °Y1.

Hmm, where are Y1-Y6 stored in RAM?




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 #822 on: October 05, 2010, 06:59:35 pm »
It's Y1-Y0 :)
I do not recall, actually. A quick look at the disassembly in calcsys should answer that.
* calcdude will get around to posting the answer later if Deep Thought doesn't figure it out himself.
« Last Edit: October 09, 2010, 05:24:51 pm by calcdude84se »
"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 Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Bug Reports
« Reply #823 on: October 05, 2010, 07:00:56 pm »
I wonder if dereferencing works on them...

* Deep Thought starts testing...




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 #824 on: October 05, 2010, 08:53:22 pm »
I'm not sure if this is intentional, but I can't do oY1; I get an "improper use of file" error...
You can't, at least not until that bug is fixed :P
"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.