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 ... 15 16 [17] 18 19 ... 153
241
« on: August 09, 2014, 01:50:14 pm »
Thanks for helping to demonstrate for me how this stuff works. I'll try to implement those kind of simple menus into native Axe. I haven't been able to think of an easy/elegant way to allow for inclusion of the mode menu style selections or window menu style numerical inputs, so those may be left out.
242
« on: August 07, 2014, 06:33:54 pm »
If you have a full size case, take the full size board.
The H81 is more expensive than the H81M. What benefits does having the larger version offer (if any)?
243
« on: August 07, 2014, 04:05:32 pm »
Varargs-like doesn't exist in Axe ? What about all the text commands ?
Not really varargs. Something like Disp A,B,C is parsed like Disp A : Disp B : Disp C. A proper varargs function collects all arguments and then executes one function, to which all arguments are exposed at once.
244
« on: August 07, 2014, 03:49:36 pm »
Other ideas : in the Axioms, add a way to make commands which accept between n and m arguments. It can, for example, put the args count in the register B (B because it's the only register used by the DJZN command). This would be[/font] useful for some commands (like "Menu(", of course ), because if they are used multiple times with different arguments count, the commands' code will only be added once to the program.
Support for varargs functions doesn't exist at all in Axe, whether for Axioms or built-in commands. And I'm pretty sure that the current internal structure wouldn't be very amenable to its addition. As Eeems said, the only real solution for now is to have the user pass in a pointer to some structure containing all the "arguments", like how you'd ape varargs functions in a language like C. Doing such a thing should be relatively straightforward with static data, as you can just include each argument (or a pointer to each argument) in a static data block. You'll notice that this becomes a lot harder with variable data, as you have to dynamically create the argument structure. This wouldn't be much easier for Axe either, which is why it isn't available. Also, you don't want the feature you're referencing about a data pointer for this. That simply makes the "command" carry data, and using the "command" just returns a pointer to the data. Also, maybe add a way to push the arguments after the return address, because it's not very practical the way it is for the person who writes the Axiom
This isn't really feasible on the calculator, as it only has one stack pointer and there's no way around stacking up all the arguments and only then calling the routine. Architectures get around this by providing multiple stack pointers, one for arguments and one for return vectors, or by providing instructions to fetch indexed stack entries. Z80 provides neither.
245
« on: August 06, 2014, 04:14:04 pm »
That one is only a Micro ATX, and I need an ATX motherboard. The H81 Pro looks like it's an ATX version of the H81M, so I might consider that one.
Partly for my education: why would one prefer an ATX motherboard over micro ATX? I know you'd have to switch cases too, but is that the only tradeoff?
246
« on: August 06, 2014, 12:36:16 pm »
I admittedly don't know much about motherboards, but kis there anything wrong with the cheapest motherboard available, the H81M? It's only about $50 and most of the features is lacks shouldn't matter for this build (like 4 RAM slots, crossfire support, extra SATA ports). It even seems to support dual channel memory accesses.
247
« on: August 05, 2014, 09:58:35 pm »
CPU: Intel Core i3-4150 3.5GHz Dual-Core Processor ($109.98 @ SuperBiiz)
Around that price point, that seems to be the current clear leader in performance for the value. Alternatively, if you want to save about 40% of the price and only give up about 20% of the performance, keep in mind that Intel still makes Pentiums! Memory: Kingston 8GB (1 x 8GB) DDR3-1600 Memory ($69.99 @ Amazon)
If that price stays there, that's great value. Although, as others have said, you'd theoretically get better performance out of 2x4GB than 1x8GB due to dual channel stuffs. So if prices change such that a 1600MHz 4x2GB kit costs the same or less, I'd grab that instead. Storage: Hitachi Deskstar 750GB 3.5" 7200RPM Internal Hard Drive ($59.99 @ Amazon)
You might want to shop this one around a bit, as I can see 1TB drives around that price, so there might be some room to "optimize" the price of this. Video Card: Gigabyte GeForce GTX 650 2GB Video Card ($117.99 @ Amazon)
As Streetwalrus hinted at, I'd look into replacing that with a GTX 750. It should perform better, and may even be cheaper. As for the rest of the parts, I can't offer much intuition. Although I know a fair bit about the actual computing parts, I don't know much about the more foundation parts, like motherboard and power supply.
248
« on: August 04, 2014, 03:53:45 pm »
I'm not sure what shell you're trying to compile this for, but right now your shell compatibility byte is 0xCF = 0b11001111. That means that it's incompatible with applications and Axe fusion. If that isn't the issue, I can't say what the issue is by looking at that.
As for increasing the number of arguments allowed, I'll look into it. Although I had a quick glance at the Axiom parsing code and was absolutely clueless about how it even checks the number of arguments, so it might not be easy for me to figure out.
249
« on: August 03, 2014, 09:10:12 pm »
I've been playing with this for a while now. It seems that, at least for simple menus, this should be totally capable. But one problem I've run into so far is that, if I move the cursor into and then out of the number entry field, the dialog glitches out. Does this happen for you too, and/or do you have any idea why this would be happening?
EDIT: A bit of testing seems to suggest that it's some compatibility issue with Omnicalc and/or zStart. My guess would be a hook; probably the parser hook, which parses things like numerical input.
250
« on: August 03, 2014, 03:02:03 pm »
By the way, I tried launching programs from a bunch of shells, and I'm not sure how reliable writeback would be. I found tricky things like DoorsCS and CalcUtil putting the name of their appvars in OP1, and Ion sometimes leaving the name of the program in OP1 but pointing to something that's all zeroes... it all seems a bit too unreliable to me.
251
« on: August 02, 2014, 12:37:35 pm »
I've already installed Wabbitemu, but it's not so stable (for me, the latest Axe version doesn't work on it). And TI's flash debugger has a lot of useful features for assembly developers : disassembly, see RAM, etc. No, don't run these checks, it's a bit pointless since there's no ideal way to provide a reliable write-back.
I suspect the problem you're having is that Wabbitemu requires a copy of the boot code/certificate from a real calculator to run 100% accurately. As long as you have a link cable, you should be able to get this easily enough by going to Help > Re-run setup wizard... And I've never used TI's flash debugger, but I suspect that Wabbitemu's debugging capabilities are as good or better.
252
« on: August 02, 2014, 12:18:06 pm »
I've tried "Disp e8478" with some of these shells, plus Ion you forgot , and here are the results : it works without any shell, with Noshell, with Mirage OS (v1.2), with zStart (v.1.3.013_83). I wasn't able to download CrunchyOS (I don't know why). Unluckily, CalcUtil and DoorsCS don't work in the emulator I'm using. It doesn't works with Ion (at least for v1.6), but Ion clears OP1's value, so there's no problem.
Using TI's flash debugger, eh? I'd recommend grabbing a much better community-made emulator. My emulator of choice is Wabbitemu. I'll probably run these checks, too. Regarding the OS's DIALOG bcalls, I've achieved to find a way to know which item was chosen by the user, in menus like TI-Basic provides. I just need to improve a little the code source... I'll publish it somewhere, but not now.
After two hours of bug-tracking, I've solved a problem I had with the "TI-83+ Flash Debugger". Good to know : sometimes it says some data is located into RAM, whereas it's in Flash ! Nevertheless, I think I've got a stable menu routine ! There's still some little work to do, but I've got a great base (thanks to Brandown and his DIALOG notes and program). Where can I publish it ? Do I make a new topic inside "The Axe Parser project" ? Because if we want to be able to use these bcalls in a reliable way, I'll probably need help from experimented assembly programmers...
That's great! Go ahead and make a new topic in this board with your developments so far. I can somewhat figure out how this all works too, we can get it polished up and ready to go into Axe.
253
« on: August 01, 2014, 08:27:00 pm »
No, seriously, like said Matrefeytontias, don't change this ! It's way better like it is ! Even in an Axe 2.0, even if there are others grammar changes ! When I said "But, unlike TI-Basic, the store arrow doesn't close the parentheses", it was only a remark ! Axe Parser is better than TI-Basic ! How could you write "X*2+(A*3+Y→Z)+GDB0" if the store arrow already closes the parentheses ?
Oh, I worded my response pretty poorly... I meant I'd potentially like to change store arrows to not close anything rather than closing everything.
254
« on: August 01, 2014, 08:10:30 pm »
Well yeah, that's why if I'm going to do it, I'm going to do it in Axe 2.0 with probably other language grammar changes that could break existing programs.
255
« on: August 01, 2014, 07:48:52 pm »
Ok, so the strange appearance is expected. And the bug is maybe due to the settings ? My settings are the following : "No shell", "Lowcase ON", and "Auto Backup".
I assume the bug we're talking about is the slight freeze? Are you sure this happens every time and not only when you've changed a setting in the options menu or the compile target type? Excuse me, I made a mistake, I thought that the store arrow didn't close strings. But, unlike TI-Basic, the store arrow doesn't close the parentheses : "1→Y*2+(Y→Z", "Disp Z>Dec" writes 1.
Yeah, I guess the store arrow doesn't close parentheses in Axe. Come to think of it, it doesn't close curly braces either. I'm not sure how big I'd be on changing this now, though, since it's been this way forever and there haven't been any other problems reported with the way it is. If I did want to change this behavior, I'd probably do it in the theoretical Axe 2.0, since lots of other language grammar changes would be made as well and I'd want to lump them all together.
Pages: 1 ... 15 16 [17] 18 19 ... 153
|