Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
About
Team
Rules
Stats
Status
Sitemap
Chat
Downloads
Forum
News
Our Projects
Major Community Projects
Recent Posts
Unread Posts
Replies
Tools
SourceCoder3
Other Things...
Omnimaga Radio
TI-83 Plus ASM File Unsquisher
Z80 Conversion Tools
IES TI File Editor
Free RAM areas
Comprehensive Getkeyr table
URL Shortener
Online Axe Tilemap Editor
Help
Contact Us
Change Request
Report Issue/Bug
Team
Articles
Members
View the memberlist
Search For Members
Buddies
Login
Register
Omnimaga
»
Forum
»
Omnimaga
»
Our Projects
»
Completed
»
BatLib
(Moderator:
Xeda112358
) »
Creepy-Crawlies (Bugs)
« previous
next »
Print
Pages: [
1
]
2
Go Down
Author
Topic: Creepy-Crawlies (Bugs) (Read 16720 times)
0 Members and 1 Guest are viewing this topic.
Xeda112358
they/them
Project Author
LV12
Extreme Poster (Next: 5000)
Posts: 4704
Rating: +719/-6
Calc-u-lator, do doo doo do do do.
Creepy-Crawlies (Bugs)
«
on:
January 26, 2011, 09:51:49 pm »
This topic is meant for the discussion of bugs in BatLib. Currently, I am aware of three bugs (off the top of my head):
-The fonts don't seem to work in OS menus
-GetStats is not liking archived variables (it crashes when used on them)
-It crashes randomly, even on BASIC code.
Here is a screen shot of that last one. The first crash happens after 19 iterations, the second at 2346, the third at 827, and the fourth at 799.
Logged
My pastebin
|
Pokémon Amber
|
Grammer Programming Language
|
BatLib Library
|
Jade Simulator
|
Zeda's Hex Opcodes
|
FileSyst Library
|
CopyProg
|
TPROG
|
GroupRead
|
Lbl Read/Write
|
Z80 Floating Point Routines
(
z80float on GitHub
)|
Z80 Optimized Routines Repository
DJ Omnimaga
Clacualters are teh gr33t
CoT Emeritus
LV15
Omnimagician (Next: --)
Posts: 55943
Rating: +3154/-232
CodeWalrus founder & retired Omnimaga founder
Re: Creepy-Crawlies (Bugs)
«
Reply #1 on:
January 27, 2011, 12:23:49 am »
I was tempted to change the topic title to Zerglings.
On-topic, I hope you don't have too much troubles fixing the bugs. Should we use this thread for bug reports if we find any when testing?
Logged
Builderboy
Physics Guru
CoT Emeritus
LV13
Extreme Addict (Next: 9001)
Posts: 5673
Rating: +613/-9
Would you kindly?
Re: Creepy-Crawlies (Bugs)
«
Reply #2 on:
January 27, 2011, 01:01:01 am »
Hmmm does the same program crash at the same spot every time you run it? If so, it might be an issue with the compiling? If it crashes randomly, maybe an issue with interrupts?
Logged
Xeda112358
they/them
Project Author
LV12
Extreme Poster (Next: 5000)
Posts: 4704
Rating: +719/-6
Calc-u-lator, do doo doo do do do.
Re: Creepy-Crawlies (Bugs)
«
Reply #3 on:
January 27, 2011, 08:53:38 am »
Well, the only code that was being executed in the first ones was BASIC code. The last one included the sum( command which is all that should be affected by the parser. Also, it runs through the loop and seems to crash randomly. I had it run over 10 000 times before it crashed.
@DJ Omnimaga: Yeah, I think this should be the bug report place.
Logged
My pastebin
|
Pokémon Amber
|
Grammer Programming Language
|
BatLib Library
|
Jade Simulator
|
Zeda's Hex Opcodes
|
FileSyst Library
|
CopyProg
|
TPROG
|
GroupRead
|
Lbl Read/Write
|
Z80 Floating Point Routines
(
z80float on GitHub
)|
Z80 Optimized Routines Repository
Xeda112358
they/them
Project Author
LV12
Extreme Poster (Next: 5000)
Posts: 4704
Rating: +719/-6
Calc-u-lator, do doo doo do do do.
Re: Creepy-Crawlies (Bugs)
«
Reply #4 on:
January 29, 2011, 10:49:01 am »
Haha, so the bug is fixed! I edited my last post in the "SpriteLib" topic with the updated version.
The problem was simple and it isn't the first time I made the mistake! I forgot to disable interrupts before using SP!
I tested it and it got over 200 000 iterations without crashing, so I think it is safe ♥
I think it is almost out of Beta mode now \(^_^)/
«
Last Edit: January 29, 2011, 11:13:32 am by Xeda112358
»
Logged
My pastebin
|
Pokémon Amber
|
Grammer Programming Language
|
BatLib Library
|
Jade Simulator
|
Zeda's Hex Opcodes
|
FileSyst Library
|
CopyProg
|
TPROG
|
GroupRead
|
Lbl Read/Write
|
Z80 Floating Point Routines
(
z80float on GitHub
)|
Z80 Optimized Routines Repository
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.
Re: Creepy-Crawlies (Bugs)
«
Reply #5 on:
January 29, 2011, 11:21:27 am »
lol, poor SP.
* ZTrumpet wonders how it's doing after being abused like that.
Logged
If I'm wrong, please correct me!
Unfinished Projects:
Elmgon
14%
Basic
Movement Demo
Homescreen Game Pack
80%
Basic
Latest Release
Cube Droid Saves the Galaxy
65%
Axe
Demo
Detonate
70%
Axe
Completed Projects:
Exodus
|
Midnight
|
Drifter
|
Axe Snake
|
Jump!
|
Factory Theta
|
Spider
|
Plot Drop
|
Papi Jump
|
Numb3rs
|
Nibbler
|
Boost
|
Duel Tile Map Editor
|
Homescreen Map Editor
|
Key Group Check
|
Oasis
Xeda112358
they/them
Project Author
LV12
Extreme Poster (Next: 5000)
Posts: 4704
Rating: +719/-6
Calc-u-lator, do doo doo do do do.
Re: Creepy-Crawlies (Bugs)
«
Reply #6 on:
January 30, 2011, 12:11:08 am »
Oh, SP will be fine... after a long recuperation and a few visits to psychiatrists...
Anywho, the new bug is with command 64 in the yet to be released version.
It is the program CopyProg, but when I run it, if the var to be created has a name >4 chars long, it throws a syntax error. It still creates the var as it should and if it is 4 chars or less, it has no problems.
«
Last Edit: January 30, 2011, 12:11:23 am by Xeda112358
»
Logged
My pastebin
|
Pokémon Amber
|
Grammer Programming Language
|
BatLib Library
|
Jade Simulator
|
Zeda's Hex Opcodes
|
FileSyst Library
|
CopyProg
|
TPROG
|
GroupRead
|
Lbl Read/Write
|
Z80 Floating Point Routines
(
z80float on GitHub
)|
Z80 Optimized Routines Repository
Xeda112358
they/them
Project Author
LV12
Extreme Poster (Next: 5000)
Posts: 4704
Rating: +719/-6
Calc-u-lator, do doo doo do do do.
Re: Creepy-Crawlies (Bugs)
«
Reply #7 on:
March 13, 2011, 02:51:26 pm »
I fixed another bug that was plaguing the dim(41 command (GetStats), yesterday. I couldn't find the problem until I was working on ReCode yesterday and it kept crashing whenever I tried storing to Ans. I opened the debugger in Wabbitemu et voila! The RAM area I was using to store the value of the stack pointer was getting corrupted whenever a new variable was created, apparently. Too bad nothing about that is mentioned in the system call documentation (that I read). I moved the location a few months ago into OP5 so that I could use OP6 is temporary RAM (it is very temporarily used) because I figured that since BatLib uses very few bcalls, OP5 wouldn't get affected... Oh well, now it is in a safe place in RAM that doesn't get affected by the OS.
Logged
+1/-0 karm for this message
My pastebin
|
Pokémon Amber
|
Grammer Programming Language
|
BatLib Library
|
Jade Simulator
|
Zeda's Hex Opcodes
|
FileSyst Library
|
CopyProg
|
TPROG
|
GroupRead
|
Lbl Read/Write
|
Z80 Floating Point Routines
(
z80float on GitHub
)|
Z80 Optimized Routines Repository
DJ Omnimaga
Clacualters are teh gr33t
CoT Emeritus
LV15
Omnimagician (Next: --)
Posts: 55943
Rating: +3154/-232
CodeWalrus founder & retired Omnimaga founder
Re: Creepy-Crawlies (Bugs)
«
Reply #8 on:
March 13, 2011, 02:52:36 pm »
Nice to hear more bugs are getting fixed, also I'M glad to see you back.
By the way any idea if you can fix that While End bug you mentionned in another topic?
Logged
Xeda112358
they/them
Project Author
LV12
Extreme Poster (Next: 5000)
Posts: 4704
Rating: +719/-6
Calc-u-lator, do doo doo do do do.
Re: Creepy-Crawlies (Bugs)
«
Reply #9 on:
March 13, 2011, 02:58:22 pm »
Yep, I'm working on it at the moment. It actually isn't that difficult to fix, I just never thought about the possibility of the bug until after I made the code. I will just use a counter to find Then, Repeat, While, and other such statements that increments and have it decrement every time it hits an "End" so that when it reaches 0, that is the proper End to end at.
Logged
My pastebin
|
Pokémon Amber
|
Grammer Programming Language
|
BatLib Library
|
Jade Simulator
|
Zeda's Hex Opcodes
|
FileSyst Library
|
CopyProg
|
TPROG
|
GroupRead
|
Lbl Read/Write
|
Z80 Floating Point Routines
(
z80float on GitHub
)|
Z80 Optimized Routines Repository
DJ Omnimaga
Clacualters are teh gr33t
CoT Emeritus
LV15
Omnimagician (Next: --)
Posts: 55943
Rating: +3154/-232
CodeWalrus founder & retired Omnimaga founder
Re: Creepy-Crawlies (Bugs)
«
Reply #10 on:
March 13, 2011, 02:59:21 pm »
Ah ok, I hope it isn't too much hassle to fix X.x
Logged
Xeda112358
they/them
Project Author
LV12
Extreme Poster (Next: 5000)
Posts: 4704
Rating: +719/-6
Calc-u-lator, do doo doo do do do.
Re: Creepy-Crawlies (Bugs)
«
Reply #11 on:
March 13, 2011, 10:09:16 pm »
Okay, that little problem was fixed, so now you can nest blocks that use End
So pretty much the following is now valid:
Code:
[Select]
While xx
If yy
Then
<<stuff>>
End
End
Logged
+1/-0 karm for this message
My pastebin
|
Pokémon Amber
|
Grammer Programming Language
|
BatLib Library
|
Jade Simulator
|
Zeda's Hex Opcodes
|
FileSyst Library
|
CopyProg
|
TPROG
|
GroupRead
|
Lbl Read/Write
|
Z80 Floating Point Routines
(
z80float on GitHub
)|
Z80 Optimized Routines Repository
Scipi
Omni Kitten Meow~ =^ω^=
LV10
31337 u53r (Next: 2000)
Posts: 1547
Rating: +192/-3
Meow :3
Re: Creepy-Crawlies (Bugs)
«
Reply #12 on:
March 15, 2011, 03:25:30 pm »
I found a bug. If with dim(29) it draws out of bounds and you get an "undefined" error (This appears to only happen when y is too high). When you go to Y= you get e ton of garbage text and then a ram clear or a battery pull.
Logged
Imma Cat! =^_^=
(It's an emoticon now!)
Spoiler
For
Things I find interesting
:
Spoiler
For
AI Programming
:
NeuralNets
Genetic Programming
Spoiler
For
Shameless advertising
:
Like me on Facebook ^w^
Youtube
LinkedIn
Spoiler
For
OldSig
:
Spoiler
For
Projects!
:
Daemons
TileCat
MindF*ck
System Crash
Graviter [Computer Version]
Spoiler
For
IMPORTANT NEWS!
:
Late last night, Quebec was invaded by a group calling themselves, "Omnimaga". Not much is known about these mysterious people except that they all carried calculators of some kind and they all seemed to converge on one house in particular. Experts estimate that the combined power of their fabled calculators is greater than all the worlds super computers put together. The group seems to be holding out in the home of a certain DJ_O, who the Omnimagians claim to be their founder. Such power has put the world at a standstill with everyone waiting to see what the Omnimagians will do...
Wait... This just in, the Omnimagians have sent the UN a list of demands that must be met or else the world will be "submitted to the wrath of Netham45's Lobster Army". Such demands include >9001 crates of peanuts, sacrificial blue lobsters, and a wide assortment of cherry flavored items. With such computing power stored in the hands of such people, we can only hope these demands are met.
In the wake of these events, we can only ask, Why? Why do these people make these demands, what caused them to gather, and what are their future plans...
Xeda112358
they/them
Project Author
LV12
Extreme Poster (Next: 5000)
Posts: 4704
Rating: +719/-6
Calc-u-lator, do doo doo do do do.
Re: Creepy-Crawlies (Bugs)
«
Reply #13 on:
March 15, 2011, 06:34:44 pm »
Okee dokey, that problem is fixed, now. Should I upload it now or wait until the next update and trust nobody uses rectangles too large?
Logged
My pastebin
|
Pokémon Amber
|
Grammer Programming Language
|
BatLib Library
|
Jade Simulator
|
Zeda's Hex Opcodes
|
FileSyst Library
|
CopyProg
|
TPROG
|
GroupRead
|
Lbl Read/Write
|
Z80 Floating Point Routines
(
z80float on GitHub
)|
Z80 Optimized Routines Repository
Scipi
Omni Kitten Meow~ =^ω^=
LV10
31337 u53r (Next: 2000)
Posts: 1547
Rating: +192/-3
Meow :3
Re: Creepy-Crawlies (Bugs)
«
Reply #14 on:
March 15, 2011, 06:37:04 pm »
Wait I would vote. I can just include bounds so the rect never goes offscreen.
Logged
Imma Cat! =^_^=
(It's an emoticon now!)
Spoiler
For
Things I find interesting
:
Spoiler
For
AI Programming
:
NeuralNets
Genetic Programming
Spoiler
For
Shameless advertising
:
Like me on Facebook ^w^
Youtube
LinkedIn
Spoiler
For
OldSig
:
Spoiler
For
Projects!
:
Daemons
TileCat
MindF*ck
System Crash
Graviter [Computer Version]
Spoiler
For
IMPORTANT NEWS!
:
Late last night, Quebec was invaded by a group calling themselves, "Omnimaga". Not much is known about these mysterious people except that they all carried calculators of some kind and they all seemed to converge on one house in particular. Experts estimate that the combined power of their fabled calculators is greater than all the worlds super computers put together. The group seems to be holding out in the home of a certain DJ_O, who the Omnimagians claim to be their founder. Such power has put the world at a standstill with everyone waiting to see what the Omnimagians will do...
Wait... This just in, the Omnimagians have sent the UN a list of demands that must be met or else the world will be "submitted to the wrath of Netham45's Lobster Army". Such demands include >9001 crates of peanuts, sacrificial blue lobsters, and a wide assortment of cherry flavored items. With such computing power stored in the hands of such people, we can only hope these demands are met.
In the wake of these events, we can only ask, Why? Why do these people make these demands, what caused them to gather, and what are their future plans...
Print
Pages: [
1
]
2
Go Up
« previous
next »
Omnimaga
»
Forum
»
Omnimaga
»
Our Projects
»
Completed
»
BatLib
(Moderator:
Xeda112358
) »
Creepy-Crawlies (Bugs)