Omnimaga: The Coders Of Tomorrow
Welcome, Guest. Please login or register.
 
Omnimaga: The Coders Of Tomorrow
20 June, 2013, 04:59:45 *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   home   news downloads projects tutorials misc forums rules new posts irc about Login Register  
+-OmnomIRC

You must Register, be logged in and have at least 40 posts to use this shout-box! If it still doesn't show up afterward, it might be that OmnomIRC is disabled for your group or under maintenance.

Note: You can also use an IRC client like mIRC, X-Chat or Mibbit to connect to an EFnet server and #omnimaga.

Pages: 1 ... 115 116 [117] 118 119 ... 124   Go Down
  Print  
Author Topic: Bug Reports -  (Read 95942 times) Bookmark and Share
0 Members and 1 Guest are viewing this topic.
Runer112
Project Author
LV10 31337 u53r (Next: 2000)
*
Online Online

Gender: Male
Last Login: Today at 04:55:11
Date Registered: 02 July, 2009, 06:38:05
Posts: 1696


Total Post Ratings: +499

View Profile
« Reply #1740 on: 19 June, 2012, 05:28:16 »
0

I can't see why that would cause an issue, MGOS. Undecided Since I can't seem to replicate the issue in a small test program, perhaps the issue is a context/size issue. If you could post either the source program or the compiled executable, perhaps someone could discover the problem through debugging. If it's for a contest, be careful not to post anything that the contest rules forbid posting.

And you should be able to use {L1}++ just fine, I see no sign that this would trigger any bugs.
« Last Edit: 19 June, 2012, 05:30:43 by Runer112 » Logged
MGOS
LV5 Advanced (Next: 300)
*****
Offline Offline

Gender: Male
Last Login: Yesterday at 20:43:31
Date Registered: 29 July, 2011, 16:54:53
Location: Germany
Posts: 297


Total Post Ratings: +74

View Profile
« Reply #1741 on: 19 June, 2012, 06:28:02 »
0

Ok. I can't post more, and I don't think it will help that much. The executable is now about 4k large and compiled to axe fusion atm. I will change that to an App because I will never be able to be under the 8k limit. It uses a lot of Filling/Copying for fast drawing on parts of the screen and the whole data is stored in L1 and L2 if that helps.The rest is just very standard axe stuff.
Logged

Click those to see more information Smiley
Current   
Projects: 
kindermoumoute
LV8 Addict (Next: 1000)
********
Offline Offline

Last Login: 15 June, 2013, 17:17:59
Date Registered: 15 May, 2010, 17:53:56
Posts: 837


Total Post Ratings: +51

View Profile
« Reply #1742 on: 23 June, 2012, 14:40:36 »
0

There is a bug with inData command : "If not found, 0 is returned.", it don't work, it returns the zero's location in list. Currently I can't use inData() without this syntax : inData(XX,XXX)-29??0,+29 ==> that's an ugly piece of code. x)

Can you solve this bug ?
Logged

Projects :

Worms armageddon z80 :
- smoothscrolling Pixelmapping : 100%
- Map editor : 80%
- Game System : 0%

Tutoriel français sur l'Axe Parser
- 1ère partie : en ligne.
- 2ème partie : en ligne.
- 3ème partie : en ligne.
- 4ème partie : 10%
- Annexe : 100%
jacobly
LV5 Advanced (Next: 300)
*****
Offline Offline

Last Login: Today at 02:30:21
Date Registered: 09 October, 2011, 01:53:09
Posts: 200

Total Post Ratings: +150

View Profile
« Reply #1743 on: 23 June, 2012, 18:49:51 »
+1

The only reason inData( would return the index of the 0, is if you were searching for 0.

Edit: If you wanted 0 if byte is 0, you could do BYTE?inData(,PTR).
Also, I can't help but mention that inData(BYTE,PTR)-29??0,+29 optimizes to inData(BYTE,PTR)-29?+29. Wink

Edit 2: Alternatively, if BYTE can not be 255, you can do inData(BYTE+1,PTR), where every byte in PTR has been incremented by 1.
« Last Edit: 23 June, 2012, 19:04:28 by jacobly » Logged
squidgetx
Food.
Coder Of Tomorrow
LV10 31337 u53r (Next: 2000)
*
Offline Offline

Gender: Male
Last Login: Yesterday at 17:53:05
Date Registered: 30 May, 2010, 19:54:18
Location: eating somewhere
Posts: 1849


Total Post Ratings: +480

View Profile
« Reply #1744 on: 06 July, 2012, 19:15:56 »
0

I think that app writing freezes if garbage collection needs to be done and/or at least not enough free space for the app

(What happened:

-Writing 0% freeze -> battery pull -> RAM clear -> repeat -> unarchive program (11k) -> changed name of executable -> rearchive -> prompt garbage collect -> garbage collect -> now it works )
« Last Edit: 06 July, 2012, 19:27:01 by squidgetx » Logged

Read my webcomic! | My SoundCloud
Projects:

Check out the demo now!- Current progress: battle engine and stuff
Proud author of: Cuberunner | SpaceDash | The Psyche | XXEdit | AxeSynth | StickNinja | Gravity Guy | Embers:Phoenix | Zombie Gun
Axe: Need help optimizing?
User of Axe | zStart | TokenIDE | CalcGS | MirageOS
Runer112
Project Author
LV10 31337 u53r (Next: 2000)
*
Online Online

Gender: Male
Last Login: Today at 04:55:11
Date Registered: 02 July, 2009, 06:38:05
Posts: 1696


Total Post Ratings: +499

View Profile
« Reply #1745 on: 10 July, 2012, 05:01:03 »
0

Here's a bug that seems to have plagued Stefan Bauwens in the recent contest. Undecided It boils down to these three lines of code:


1
2
3
4
Buff(54)→°CA
#Realloc(°CA)
°A-2→°CE

The issue appears to be that, during the first pass, the A-theta variables haven't been assigned their proper addresses because °CA is not yet known. This then results in °CE being defined with a false value. I would say the bug isn't that °CE is defined with the incorrect value, but that an error isn't thrown. Pointers to variables should not be allowed to be used in constant definitions.
« Last Edit: 10 July, 2012, 05:02:51 by Runer112 » Logged
Hayleia
Programming Absol
LV11 Super Veteran (Next: 3000)
***********
Offline Offline

Last Login: Yesterday at 21:21:11
Date Registered: 01 June, 2011, 20:12:47
Location: ud-ud ?
Posts: 2119


Total Post Ratings: +264

View Profile
« Reply #1746 on: 26 July, 2012, 09:39:16 »
0

I have a stupid error.
See, each time the source is archived, the parser finds an "INVALID TOKEN" but not always at the same place. Sometimes it is 11113, sometimes it is 11727 Huh?

Usually, when I get an invalid token, unarchiving, recompiling, rearchiving and recompiling fixes the problem but there it doesn't.

(note that I am not talking about the "Out of memory" thing that obviously comes from the fact that I run out of memory)


* BUG.gif (978.88 KB, 192x128 - viewed 208 times.)
Logged





Spoiler for what I am according to...:
me: useless
Pokemon Test: an Absol
turiqwalrus: an eggplant
p2: A HUMAN BEING !
Blackpilar and p2: iplantonlyplantwantplanttoplantknowplantifplantyouplantareplantaplantboyplantorplantaplantgirlplant
click here to know where you got your last +1s
Freyaday
The One And Only Serial Time Killing Catboy-Loli-Ballerino
LV10 31337 u53r (Next: 2000)
**********
Offline Offline

Gender: Male
Last Login: Today at 02:43:59
Date Registered: 24 February, 2011, 17:10:56
Location: ¿¿¿
Posts: 1893


Total Post Ratings: +110

View Profile WWW
« Reply #1747 on: 31 July, 2012, 19:59:50 »
0

This has been plaguing me for a while.
Nymless crashes when you win, but only if compiled in 1.1.2
I caught it in Wabbit though.
Everything is in the .zip file.

* Nymless v.83 Crash.zip (771.51 KB - downloaded 35 times.)
« Last Edit: 31 July, 2012, 20:00:44 by Freyaday » Logged

In other news, Frey continues kicking unprecedented levels of ass.
Proud member of LF#N--Lolis For #9678B6 Names


Beware the Bitulator! ,.,./`My Artwork!
Hayleia
Programming Absol
LV11 Super Veteran (Next: 3000)
***********
Offline Offline

Last Login: Yesterday at 21:21:11
Date Registered: 01 June, 2011, 20:12:47
Location: ud-ud ?
Posts: 2119


Total Post Ratings: +264

View Profile
« Reply #1748 on: 15 August, 2012, 21:48:50 »
0

I don't know if that was already reported but here is an easy to fix bug: there is a typo in "Invalid file use"


* wabbitemu.gif (1.46 KB, 192x128 - viewed 146 times.)
Logged





Spoiler for what I am according to...:
me: useless
Pokemon Test: an Absol
turiqwalrus: an eggplant
p2: A HUMAN BEING !
Blackpilar and p2: iplantonlyplantwantplanttoplantknowplantifplantyouplantareplantaplantboyplantorplantaplantgirlplant
click here to know where you got your last +1s
Runer112
Project Author
LV10 31337 u53r (Next: 2000)
*
Online Online

Gender: Male
Last Login: Today at 04:55:11
Date Registered: 02 July, 2009, 06:38:05
Posts: 1696


Total Post Ratings: +499

View Profile
« Reply #1749 on: 17 August, 2012, 03:51:37 »
0

Spot the problem!


1
2
3
4
5
6
7
8
9
10
11
p_TextStrApp:
.db __TextStrAppEnd-$-1
__TextStrAppLoop:
ld a,(hl)
or a
ret z
inc hl
B_CALL(_VPutMap)
jr nc,__TextStrAppLoop
__TextStrAppEnd:
Logged
calc84maniac
Epic z80 roflpwner
Coder Of Tomorrow
LV11 Super Veteran (Next: 3000)
*
Offline Offline

Gender: Male
Last Login: Today at 03:06:06
Date Registered: 28 August, 2008, 05:09:05
Location: Right behind you.
Posts: 2738


Total Post Ratings: +376

View Profile
« Reply #1750 on: 17 August, 2012, 05:13:32 »
0

Took me a little while, but... no ret at the end?
Logged

"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman
Freyaday
The One And Only Serial Time Killing Catboy-Loli-Ballerino
LV10 31337 u53r (Next: 2000)
**********
Offline Offline

Gender: Male
Last Login: Today at 02:43:59
Date Registered: 24 February, 2011, 17:10:56
Location: ¿¿¿
Posts: 1893


Total Post Ratings: +110

View Profile WWW
« Reply #1751 on: 17 August, 2012, 05:31:11 »
0

A minor interface bug/optimization: the numbers for size continue to update after the first pass.
« Last Edit: 05 September, 2012, 00:23:54 by Freyaday » Logged

In other news, Frey continues kicking unprecedented levels of ass.
Proud member of LF#N--Lolis For #9678B6 Names


Beware the Bitulator! ,.,./`My Artwork!
Freyaday
The One And Only Serial Time Killing Catboy-Loli-Ballerino
LV10 31337 u53r (Next: 2000)
**********
Offline Offline

Gender: Male
Last Login: Today at 02:43:59
Date Registered: 24 February, 2011, 17:10:56
Location: ¿¿¿
Posts: 1893


Total Post Ratings: +110

View Profile WWW
« Reply #1752 on: 05 September, 2012, 00:13:42 »
0

I've got a nasty one.
I tried this:

GetCalc("LLIST",11)

Which generated an OS list of eleven elements.
The list seemed to be fine, and contained all zeroes according to the homescreen.
And then I deleted it.
I got a BSOD.
I took the battery out and let the capacitors discharge, and the calc was back to normal, albeit with cleared RAM.
« Last Edit: 05 September, 2012, 00:14:02 by Freyaday » Logged

In other news, Frey continues kicking unprecedented levels of ass.
Proud member of LF#N--Lolis For #9678B6 Names


Beware the Bitulator! ,.,./`My Artwork!
Runer112
Project Author
LV10 31337 u53r (Next: 2000)
*
Online Online

Gender: Male
Last Login: Today at 04:55:11
Date Registered: 02 July, 2009, 06:38:05
Posts: 1696


Total Post Ratings: +499

View Profile
« Reply #1753 on: 05 September, 2012, 00:44:04 »
0

This is the effect of neither the OS nor Axe properly handling lists and matrices when creating arbitrary variables. Lists and matrices don't have the normal 2-byte size header that programs and appvars do; lists have a 2-byte header with the number of 9-byte elements, and matrices have two 1-byte entries for number of elements in each dimension. However, the arbitrary variable creation B_CALL doesn't handle lists or matrices in any special way, so the OS only allocates as many bytes as the size argument you pass to it and writes that value to the variable header. So GetCalc("L1",10) would cause the OS to allocate 10 bytes in RAM (+2 bytes for the header) and write $000A to the header. However, after it's created, if the OS subsequently looks at it, it will think it's a list with 10 elements, and thus much larger. Deleting this will result in deleting more memory than was allocated, causing your crash.

A special case for lists and matrices could be added to Axe, but I think that would add too much size for such rarely-created variable types. You can correct it manually yourself fairly easily though, like this:


1
2
3
4
5
!If GetCalc("L₂",N*9)→L
.Error
End
N→{L-2}ʳ

Or, optimized:
EDIT: calc84maniac says this may be unsafe, so for the costs of 2 bytes, perhaps just skip it.


1
2
3
4
!If N→{GetCalc("L₂",N*9)→L-2}ʳ+1
.Error
End
« Last Edit: 05 September, 2012, 04:20:56 by Runer112 » Logged
Freyaday
The One And Only Serial Time Killing Catboy-Loli-Ballerino
LV10 31337 u53r (Next: 2000)
**********
Offline Offline

Gender: Male
Last Login: Today at 02:43:59
Date Registered: 24 February, 2011, 17:10:56
Location: ¿¿¿
Posts: 1893


Total Post Ratings: +110

View Profile WWW
« Reply #1754 on: 05 September, 2012, 00:49:05 »
0

Thanks, Runer. There was some discussion about whether or not this was actually a bug. >.>
At least now a decision has been reached about what to do with it.
Logged

In other news, Frey continues kicking unprecedented levels of ass.
Proud member of LF#N--Lolis For #9678B6 Names


Beware the Bitulator! ,.,./`My Artwork!
Pages: 1 ... 115 116 [117] 118 119 ... 124   Go Up
  Print  
 
Jump to:  

Powered by EzPortal
Powered by MySQL Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Powered by PHP
Page created in 0.542 seconds with 32 queries.
Skin by DJ Omnimaga edited from SMF default theme with the help of tr1p1ea.
All programs, games and songs avaliable on this website are property of their respective owners.
Best viewed in Opera, Firefox, Chrome and Safari with a resolution of 1024x768 or above.