Author Topic: Bug Reports  (Read 454886 times)

0 Members and 1 Guest are viewing this topic.

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6267
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: Bug Reports
« Reply #30 on: February 19, 2010, 12:37:48 am »
I have encountered what I think is an improper handling of the text shadow on clrHome
Code: [Select]
output(2,2,"hi
clrHome
run that then open a menu and close it again. When you close it 'hi' will show up again...
/e

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 #31 on: February 19, 2010, 02:29:25 am »
Code: [Select]
#^rand->A
throws a BAD SYMBOL error on compilation :(

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 #32 on: February 19, 2010, 02:12:15 pm »
The text shadow is not cleared when you do ClrHome.  I was thinking of adding that to the routine, maybe I will next time.

I'll look into the problem with ^rand.
___Axe_Parser___
Today the calculator, tomorrow the world!

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6267
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: Bug Reports
« Reply #33 on: February 19, 2010, 04:15:55 pm »
Ah ok I thought so...the text showing up again is kind of getting annoying. how much bigger would the routine be if you added that? you could add a routine for clearing the text shadow, and one for displaying it or something...that would be kind of interesting being able to play around with the text shadow and the graph buffer....
/e

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: Bug Reports
« Reply #34 on: February 19, 2010, 10:08:12 pm »
Ah ok I thought so...the text showing up again is kind of getting annoying. how much bigger would the routine be if you added that? you could add a routine for clearing the text shadow, and one for displaying it or something...that would be kind of interesting being able to play around with the text shadow and the graph buffer....
That sounds really cool!  I want a ClrTxtShad command now... ;D

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 #35 on: February 19, 2010, 11:03:54 pm »
It would obviously be another command, tho :P, I am curious which in TI-BASIC...

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 #36 on: February 20, 2010, 12:37:42 am »
No, I think I'll just add it to ClrHome.  Its only 3 additional bytes I think.  That would bring the total size of the ClrHome command to 12 bytes each call.  This is over my limit of 10 bytes for an inline command, so I will optimize it to be a subroutine so it will actually be 18 bytes the first time its called, but only 3 bytes every additional time you call it.

There isn't really much interesting you can do with the text shadow.
« Last Edit: February 20, 2010, 12:38:56 am by Quigibo »
___Axe_Parser___
Today the calculator, tomorrow the world!

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 #37 on: February 20, 2010, 12:44:30 am »
Aaaaah ok I see, I guess it should be fine. 3 bytes seems a bit big though for ClrHome o.O, considering in TI-BASIC it's one single byte :O

Unless you mean 3 byte before compiling?

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6267
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: Bug Reports
« Reply #38 on: February 20, 2010, 12:56:22 am »
No he means the routine to call it due to how it has to call the spot (call location). ASM does not have the luxury of one byte per instruction unfortunatly...
/e

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 #39 on: February 20, 2010, 01:40:13 am »
aaah ok x.x

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 #40 on: February 20, 2010, 03:03:50 am »
False.  In BASIC, its actually 2 bytes since you have to include the [Enter] character or the colon to get to the next instruction (I think only DelVar doesn't require this).  This type of next line character isn't needed in assembly, so its only a 1 byte difference.
___Axe_Parser___
Today the calculator, tomorrow the world!

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 #41 on: February 20, 2010, 04:12:14 am »
Oh wait I forgot about the linebreak/: char, and didn,t realise in ASM it wasn't needed. I guess I should, considering an ASM program in hex code doesn't appear to have linebreaks, sorry x.x
« Last Edit: February 20, 2010, 04:12:55 am by DJ Omnimaga »

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6267
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: Bug Reports
« Reply #42 on: February 22, 2010, 09:24:15 pm »
Found an error with v0.0.5a's output command.
When I try to output the value of B in my alien game it gives me garbage.
This did not happen with v0.0.4a.
Did you change the command?
/e

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: Bug Reports
« Reply #43 on: February 22, 2010, 09:28:03 pm »
Eeems, instead of
:Disp B
You must write
:Disp B>Dec  ([Math] [2])
It make the code smaller and faster, so it's a great (but conflicting) change. :)

*Ztrumpet ninjas Quigibo... ;D
« Last Edit: February 22, 2010, 09:32:15 pm by ztrumpet »

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 #44 on: February 22, 2010, 09:29:16 pm »
Yes I did.  You have to add >Dec when displaying numbers in base 10.  Otherwise, it things you are displaying the string at the location of B.  I really couldn't think of any other way to have the same command be able to display in 2 different formats since it doesn't know which one you're talking about.

Edit: ninjad'
« Last Edit: February 22, 2010, 09:29:40 pm by Quigibo »
___Axe_Parser___
Today the calculator, tomorrow the world!