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 - thepenguin77

Pages: 1 ... 24 25 [26] 27 28 ... 108
376

In any situation where you are using a cursor on the graph screen [2nd] + [Left]/[Right] skips 5 pixels at a time.

[2nd] + [Enter] can be used as a crude copy/paste in the program editor.

[ON] stops every single calculator process besides recalling (good for long equations / graphing)

Setting XRes = 2 will make stuff graph about 2.5 times faster, at the cost of resolution



Go to the program editor, and select new. Type in the name of an editable program you have in RAM. The program will now open in the program editor. NOTE: Does not work on Archived programs, even in zStart.

Not my fault :P

377
Ah, then you have a unique problem. I say that because typically the problems come from windows xp x86.

You're going to have to look for your solution in a different way. Other than that, I really have nothing to offer. (I still point to batteries :P)

378
What's your computer setup? (x32/x64, Windows xp/vista/7)

I just figured it was still pretty high up on the page, someone would answer it. Guess not xD

The problem is that it depends which board it's in. You are correct, if this was in one of the projects boards or the language specific boards (where it shouldn't be), it would have been noticed. But out here in general calculator help, there's not that much traffic.


Also, if you do manage to fix this yourself, don't just drift off into oblivion, let us know what you did. This comic sums it up pretty well because we've all been there:

379
Wow, feel free to bump your posts much earlier than this. To be honest, if you waited exactly one day, no one would be angry.

But, in any case, here's my tutorial on ti-connect. Take a shot at it and tell us if it works.

380
TI Z80 / Re: zStart - an app that runs on ram clears
« on: March 11, 2012, 07:34:31 pm »
But the question is, do you need the labels to be alphabetically sorted? Or will a list in order of appearance work fine?
Order of appearance is the best IMO.

I would be inclined to agree. I usually like to add my labels/subroutines in a logical order, and alphabetic sorting would probably make it harder for me to find label that I'm looking for.

They aren't currently sorted. Slightly confused lol


But the real question, should the auto-complete in the Lbl menu stay? It is quite large, but if some people swear by it, I'll keep it.

I can't read 8 lvl grayscales pics on my 83+. :'(
I can't read 8 lvl grayscales pics on my 83+. :'(
O.O I can on mine (with 1.3.007 at least).

Do you actually want that? I can do it. It's just that it does corrupt your ram.
How much RAM would it take?  Couldn't you have it check to see if there's that much RAM free and only run the picture if it's safe to do so?

Yeah, I can make that work. When I start adding 83+ specific stuff, I can do that. I'll just make an appvar.

381
TI Z80 / Re: zStart - an app that runs on ram clears
« on: March 09, 2012, 04:51:35 pm »
Also, will zStart support 5 character labels in the label menu ?
Same request, will this feature added soon ? :s

Probably not. To be honest, that label menu is one of the things in the app that takes up the most space, and going to 5 characters would actually require quite a change. It might be possible, I'm not positive, but 5 letter sorting will definitely never happen (probably 200 byte addition).

382
TI Z80 / Re: zStart - an app that runs on ram clears
« on: March 06, 2012, 04:51:50 pm »
I can't read 8 lvl grayscales pics on my 83+. :'(
I can't read 8 lvl grayscales pics on my 83+. :'(
O.O I can on mine (with 1.3.007 at least).

Do you actually want that? I can do it. It's just that it does corrupt your ram.

Also, we have "run when turning on", why not "run when turning off" ? :D

I mean. That's actually when the run when turning on runs. But unless you can give me a legitimate reason, it's not going to happen.

"run when turning on" don't work on 83+, bug with 1.3.007 I was allowed to display pics.. but it doesn't work with 1.3.008_83.

I'll try to figure out what's going on there. I've got a feeling the 83+ doesn't use OFFSCRPT.

I try to activate Run on Ram Clear and it resets my calc without installing.

Calc model, OS, zStart version?

383
TI Z80 / Re: zStart - an app that runs on ram clears
« on: March 04, 2012, 05:14:55 pm »
So, apparently, the OS won't run with any value other than $81 in port (07). You would think I would have caught this, but wabbitemu doesn't handle port (07) correctly.


In any case, 1.3.008 is finished now. If you don't feel like finding the post, just use my sig. ;D (Also, make sure you grab the correct version for your calculator)

384
TI Z80 / Re: zStart - an app that runs on ram clears
« on: March 04, 2012, 04:19:04 pm »
Ok, good, don't send it yet. Something weird is going on. Btw, that's your batteries.

Edit:
   nvm, refresh

385
TI Z80 / Re: zStart - an app that runs on ram clears
« on: March 04, 2012, 04:08:49 pm »
For now, you guys should hold off a little bit on test running. I didn't reset the stack, so it will slowly stack overflow. You have about 5 test runs though before that happens.

Fixed

Another bug.
It is not important since I guess no one has a program like this but maybe this can happen in other circumstances.
Having a word with lowercases (without a dot at the very beginning) in the first line causes an infinite loop or something.

The OS was returning a pointer to the second byte of the lower case letter. I fixed it.

I get the constant run indicator after Ram Clears too, but the cursor blinks in that.  Is it a flag or something, to tell if it should be going (separate from enabled/disabled)?

Fixed

This update is entirely bug fixes.

Update!!:
  • Fixed a bunch of Error Undefined's on new ram programs
  • There is now a separate 83+ version. I even gave it it's own name and appvar.


I don't know what else to say. This basically just fixes all the bugs.

Edit:
   Yeah, you should definitely hold off on this.

Edit2:
    Good to go!

386
The Axe Parser Project / Re: Bug Reports
« on: March 04, 2012, 02:15:48 am »
I found an error in the way the token hook is handled. When you copy the text string to ram, I noticed that you don't actually configure the first byte of the string. Since most of the tokens end up being somewhere in the 01xx range, the first byte of the ram string is 1.

But here's the problem. On closer analysis of how this hook works, that first byte actually means something. The format looks like this:

[Key code][length of string][string]

Where key code is the actual key you press to signal the token. As you can see, the key codes you are returning are incorrect and then that leads to all sorts of problems. (01 translates to right, when you use axe tokens in a Recall queue, the calculator hangs because tokens aren't actually being inserted)

So the simple fix is just to put the proper key codes in. The quickest way to get the proper key code is to simply put the token in DE and call _GetKeyPress, that will return the proper key in A.


Edit:
    If you are going to call _GetKeyPress from within your hook, make sure you temporarily disable the hook. Otherwise you're going to have fun with recursion.

Can you elaborate on this problem? I haven't noticed any problems with the hook in my testing of it. And I can't seem to cause any problems by recalling strings that contain Axe tokens or by entering Axe tokens into the recall prompt.

I always forget to check this thread.

I believe the problem is only evident if you recall the tokens with the recall queue in internal mode. When this happens, the recall queue goes through each token, looks up its appropriate key, and sends that press to _cxMain. It does this until editCursor == rclQueue. The problem is that Axe doesn't provide the correct keypress for each token (and I don't blame it since this has never been documented before) so what happens is that _cxMain gets bogus keypresses which either cause the incorrect token to be input or the recall to hang (if a right arrow was being passed for instance)

I would guess that the reason you can't emulate this is that the OS uses external recalling because it would simply place all the appropriate pointers in ram at whatever place the variable you wish to recall starts at. Now, CatalogHelp won't let me paste to any context but the homescreen, but I would guess that if it would let me paste when the Axe token hook is in place, it would fail.

Edit:
   Lol, it's far too late at night. The ways I form sentences are clearly visible in my repetition of words.

Edit2:
    Boom

387
TI Z80 / Re: zStart - an app that runs on ram clears
« on: March 04, 2012, 02:06:18 am »
RectI( is an Axe token. (That took me a while.) Quigibo slightly messed up his token hook so that one is his fault. (I already told him)

388
ASM / Re: How to open the program editor
« on: March 03, 2012, 09:05:20 pm »
I made a slight change to the way this operates. I added the two stack resets because if you don't do them, the stack will eventually overflow. The updates have been applied to this post and to wikiti.

389
TI Z80 / Re: CalcRAR
« on: March 02, 2012, 11:09:19 pm »
Good bump, I missed this.

As far as your question, honestly, the entire program should be String1, that will get you higher compression ratios.

I used to have a smaller version of this example, but honestly, I think my long drawn out example is easier to understand. The confusion really is in the details.

More realistic example:
1. Determine what the maximum distance your compressor will have to search in reverse in order to find a match. (For simplicity, put your entire program into the search window.) Take this distance and round up to the nearest power of 2. (2^11, 2^12, 2^13, etc)
2. Write the beginning of the program to _old, write the location of a new (large) buffer to _new. _new will actually increase by bits, not bytes. This will take special handling.
3. Start a counter called _count, this will represent how many uncompressable bytes we've seen since the last uncompressed chunk was written. This starts at 0.

Loop1:
4. Grab the byte at _old. Starting at the beginning of your data to compress, search for this byte stopping only at _old-1.

Loop2: (for each match)
5. See if the next byte matches the next byte after _old.
6. If it matches, check the next one as well. Keep repeating loop2 until you either have a mismatch or you reach your string length (128 - 7 bits is probably a good choice)

(For this stage, all that is required is that the beginning of the match starts before _old, the actual matching string is allowed to go past _old. This ability allows for this method to perform RLE. (Think it through how that would work, _old would point to the second byte of the repeating byte sequence) It is also important that you do not allow your program to search for matches starting at _old. This would result in finding one super long match all the way to the end of your program.)

7. Determine which match you found is the longest.
8. If the longest match is longer than 2 bytes GOTO Compressed.
    If the longest match is shorter than 2 bytes GOTO Uncompressed. (The reason for 2 is this: the data for compressed data is a 1 bit flag, a 7 bit ptr, and then a 10-14 bit size word. This means compressed data actually takes up about 2.3 bytes. If we only found a 2 byte match, the compressed data would actually be bigger.)

Uncompressed:
9. Increase _old
10. Increase _count
11. If _count is at 127, follow the procedure in Compressed for writing uncompressed data (the 0 bit is needed still)
12. GOTO Finish

Compressed:
13. Write a zero bit to _new
14. Write _count (7 bits) to _new
15. Write _count bytes starting at _old-_count to _new
16. Write 0 to _count
17. Write a 1 bit to _new
18. Write the offset to the match we found to _new (variable bits)
19. Write the size of the match we found  to _new (7 bits)

Finish:
20. GOTO loop1 until _old is at the end of the uncompressed buffer.
21. If _count is >0, write those bytes


This will write the compressed data, however, you're also going to want a header. In this header, you'll want to write things like the uncompressed size as well as the number of bits used for your offset.

Now hopefully you understand ;D

390
TI Z80 / Re: zStart - an app that runs on ram clears
« on: March 02, 2012, 10:19:21 pm »
Problem report:
Let's say I have an archived prog called PROG.
Doing "prgmPROG" in the homescreen works.
Doing "15:prgmPROG" says "ERR:ARCHIVED" D:

Well, this doesn't work for the same reason it doesn't work in basic programs. I parse the line as a whole. I guess the only option would be to have a colon break up lines. But then I have to worry about quotes...

Pages: 1 ... 24 25 [26] 27 28 ... 108