Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Runer112

Pages: 1 ... 35 36 [37] 38 39 ... 153
541
Axe / Re: Map Data Storage
« on: August 24, 2013, 11:38:03 pm »
If the map is small enough that it can reasonably fit entirely in RAM, there's no reason not to do it that way. Splitting the map into chunks is mainly useful (necessary, really) when the map is larger than can fit into RAM.

542
Axe / Re: Map Data Storage
« on: August 24, 2013, 11:12:15 pm »
The life of flash memory decreases with archive sector erases, not archive writes. Each sector is 64KB large. If you consistently unarchived and archived variables, each 64KB written to archive would result in one erase of the swap sector (probably the first sector likely to fail) at the next garbage collect. It is very roughly estimated that sectors may be likely to fail starting around 100,000 erases, so a total of about 6GB (yes, gigabytes) would need to be archived in the calculator's lifetime to start worrying about the flash memory failing.

543
Miscellaneous / Re: Random YouTube Videos
« on: August 23, 2013, 01:06:52 am »
As an optimization nut, this gives me a nerdgasm. No hacks by the way, just intense bug abuse and TASing. You're supposed to collect at least 70 stars over the period of many hours to be able to beat Bowser all three times and beat the game. Not quite in this video...


544
Axe / Re: break
« on: August 22, 2013, 06:16:30 pm »
Endif == true => continue ( directly go to loop begin)
Endif == false => break; ( stop the loop).

(It's what I understood from Runner)

You know how I said EndIf is a confusing command? Well I got my description of the cases backwards... Oops :P

But you have the idea right. Your post describes exactly how the companion command End!If works. I've edited my original post to correct my mistake.

545
Axe / Re: break
« on: August 22, 2013, 06:05:17 pm »
EndIf is definitely a slightly confusing command. If the condition following it is false, it acts like a normal End and execution continues at the start of the loop. If the condition is true, execution breaks out of the loop. You may notice that I used both the words break and continue to describe the behavior, because that's essentially what it is: not a conditional break, but a conditional break/continue. The two cases are either break or continue. There is no case in which execution carries on normally inside the loop, so the command marks the structural end of the loop.


EDIT: Fixed the cases being backwards. I promise they're right now.

546
Axe / Re: break
« on: August 22, 2013, 05:54:16 pm »
Unfortunately, Axe doesn't currently support continue or break statements. Fortunately, it supports gotos, which can be used to manually implement the break behavior (except in single-argument for loops) like this:


For(A,1,10)
.stuff
Goto Break
.stuff
End
Lbl Break



Continue can be implemented by simply moving the label up a line. And yes, this is the right board for the question. :)

547
TI Z80 / Re: zStart - an app that runs on ram clears
« on: August 22, 2013, 12:17:50 pm »
Feature request: when editing archived programs, they don't get rewritten back to archive if nothing is changed.

Bug report: launching an application from the Omnicalc quick apps menu doesn't register the context switch, resulting any temporary edit copy of archived programs hanging around until the application exits. As the issue occurs under Omnicalc's control, I'll understand if this isn't really fixable, though. It's not a fatal flaw anyways.

548
ASM / Re: 83+/84+ Free Ram Areas
« on: August 18, 2013, 11:45:27 pm »
I found out that parsingPtrs is not safe the hard way. It took me a good hour or so to debug that overwriting basic_start, nextParseByte, and possibly basic_end causes errors to be thrown when the program exits, despite the program not being a BASIC program.

549
TI Z80 / Re: Motherload
« on: August 16, 2013, 09:49:23 pm »
What about instead of storing the ores themselves in the map data, simply storing a 1-bit dirt or no dirt map? Then, you have a function that determines what's there based on a formula. (row * column * seed value, truncated to 256, where 0x10, 0x20, 0x30, 0x40 etc. are ores, and everything else is dirt, for example)

in other words, the map never changes, but you don't need to store 16 tiles for 14 ores, air, dirt.

I believe this is quite similar to the method Builderboy suggested. The method sounds like a good way to go.

550
The Axe Parser Project / Re: Bug Reports
« on: August 16, 2013, 05:03:12 am »
I get it on compiling every program.

Sometimes it happens when I just quitted a Asm program.

But I can't explain more: I just get more often Unknown Error with zStart than normally. You should backup program before compiling.

I think I got a pointer to these unknown errors: I think that's related to RAM allocation for programs. Trying to compile two time a 16kb program made Axe crashed.

I'm fairly confident that the primary culprit of unknown compilation errors has been fixed for the next version of Axe, as well as the general freezing of error messages. The unknown errors would crop up more often when compiling large archived source files, a case which you seem to fit. For now, the only possible fix I can offer is to unarchive and rearchive programs that cause unknown errors.

I don't understand how you could get an unknown compilation error from Axe when exiting an assembly program, though, considering Axe shouldn't even be running any more.

551
The Axe Parser Project / Re: Features Wishlist
« on: August 14, 2013, 04:49:06 pm »
Do Axe Fusion support Axioms? Axiom based static libraries!

For now, Axe Fusion does not support external static libraries. It would be too difficult to implement in Axe's current state, but expect this to be possible in the next major revision of Axe.

552
The Axe Parser Project / Re: Features Wishlist
« on: August 14, 2013, 12:02:45 am »
Idea, that would be REALLY great :
Nested libs. I had an idea, it's : 1st pass, compile and replace all prgmLIBSNAME by its commands, and if, at the 2nd pass, you find another prgmNESTLIB, then repeat 2nd pass ; end program compilation when there's no more lib to add.
But if someone creates a lib that includes itself ?

I do agree that fully supporting nested includes/libraries would be nice. Support for at least a few more nesting levels could possibly be added. Approximately what maximum level of nesting do you believe would be reasonable?

And if a library included itself, it would just keep including itself until an error occurs, whether it be due to the maximum nesting level being reached, RAM having been filled by the compiled program, or just duplicate definitions.

553
Other / Re: TI-83 Plus Mod Gameboy color in a TI-83+ case
« on: August 12, 2013, 08:22:44 pm »
I like using my calculator as a calculator too, so I just use TI-Boy. ;)
* Runer112 pokes calc84maniac for updates

That's still pretty awesome, though.

554
The Axe Parser Project / Re: Bug Reports
« on: August 11, 2013, 01:49:34 pm »
Hi, I'm not sure if this is a bug, but the command ->HEX seems to always point to the string "11" when used with axe fusion. Could you look into it? Thanks.

You are indeed correct. I don't actually remember doing this and I didn't record it in the changelog, but apparently I've already fixed this in my development version. So it'll be fixed in the next release. Until then, I guess don't use Axe Fusion if possible. Unfortunately, the system is still experimental and not super reliable, so issues like this seem to be common with it.


Activating zStart makes compiling like a russain roulette: you get a freezing unknown error with a 1/2odd.

Lastest version of Axe&zStart on a 2.43 84+

Can you elaborate? The frozen unknown error in Axe 1.2.1 is a known bug and should be fixed in the next version, but I can't quite understand the situation you're describing that led to it.


Yeah I noticed that but it's rare enough to make it acceptable, nut still annoying.
There's another issue : when compiling from Axe, the Goto function messes stuff up and leaks all your RAM so you have to RAM clear.

You mean scrolling to errors? Are you using an old version of zStart? I forgot to mention it in the changelog, but Axe 1.2.1+ now checks if zStart exists, and if so, uses its instant goto function for going to errors instead of Axe's. Unfortunately, the API instant goto function was broken in some older versions of zStart, but there's no way for Axe to easily know what version it is so Axe will blindly use the broken API function in older versions of zStart.

555
Other / Re: The use of a tablet ?
« on: August 10, 2013, 04:45:12 pm »




EDIT: For reference, from left to right, those are an HP EliteBook, an Asus Taichi, an Acer Aspire R, a Dell XPS 12, and a Samsung ATIV Smart PC.

Pages: 1 ... 35 36 [37] 38 39 ... 153