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 ... 10 11 [12] 13 14 ... 108
166
Axe / Re: Turn off Calc and Exit Program in Axe?
« on: November 27, 2012, 01:24:45 pm »
Well, the problem here is that your code was not actually being run. I forgot, but OFFSCRPT copies one too few bytes (which is why it starts at $8001 btw). So, when you make your call to bcall(_createAppvar), just increase the size by one.

167
TI Z80 / Re: zStart - an app that runs on ram clears
« on: November 27, 2012, 12:59:30 pm »
Are you going to make the label menu support up to 13 characters, as the new Axe version allows it ?

I don't know if it is a good idea or a bad one, since there won't be a lot of label columns on the screen if you support 13 chars, and I don't know if people will really use more than 5 chars ???
In fact, I think I'll only use 13 characters in my label if zStart supports it :P

Definitely no. This would totally break the way that I store them and I would only be able to support like 51 labels. (As opposed to 109).

168
Axe / Re: Turn off Calc and Exit Program in Axe?
« on: November 27, 2012, 12:56:52 pm »
As FloppusMaximus said here :

Quote from: FloppusMaximus
Well...

- Before calling OFFSCRPT, the OS turns the LCD off and disables all interrupts (via port 3.)
[...]
- GetKey halts the CPU, which freezes the system since interrupts have been disabled.

Well, then I am wrong ;D You've convinced me to go disassemble the mechanism that calls OFFSCRPT because I guess I don't actually know where it is.

169
Axe / Re: Turn off Calc and Exit Program in Axe?
« on: November 27, 2012, 12:41:35 pm »
Quote
OFFSCRPT.8xv (appVar) gets copied to $8001 every time the calculator turns off. This catches both 2ND + ON as well as APD. So instead of going to APD, it can just display your screen saver.

My OFFSCRPT always crashs the calc. The code is copied to $8001 and executed. But every times it reaches bcall(_jForceCMDNoChar) the calculator simply doesn't react anymore


I leaved the
bit   4, (iy + 8 )
out because this way the bit is set always and my code is never executed

The OS does not disable the LCD before calling OFFSCRPT.

Quote
OFFSCRPT.8xv (appVar) gets copied to $8001 every time the calculator turns off. This catches both 2ND + ON as well as APD. So instead of going to APD, it can just display your screen saver.

My OFFSCRPT always crashs the calc. The code is copied to $8001 and executed. But every times it reaches bcall(_jForceCMDNoChar) the calculator simply doesn't react anymore


I leaved the
bit   4, (iy + 8 )
out because this way the bit is set always and my code is never executed

Post the code, that's the only way I can tell what's wrong with it. Also, bit 4, (iy + 8) is the APD flag. I do RET Z because the code you're looking at was for a screensaver, and you wouldn't want a screen saver to run if you were turning the calculator off on purpose.

170
I was on reddit and I noticed this.

http://www.reddit.com/r/IAmA/comments/13ozy1/i_am_brandon_sterner_the_creator_of_block_dude/

May we all be slightly jealous.

171
TI Z80 / Re: zStart - an app that runs on ram clears
« on: November 23, 2012, 10:26:00 am »
This one will freeze your calc after a BASIC input/prompt. So don't use it unless you want the Axiom. ;)

What do you mean? (I can probably fix it)

172
Ok, I've never used one, so you might be right. Plus, if that's what you want to program with, then you might as well make it.

Good luck

173
Now hold on, I think one of the best parts of programming on the calculator is that it has tokens. People who program Axe or Basic frequently can tell you exactly how to get any command on the calculator in 3 buttons or less, and the fact that one token is comprised of perhaps 6 characters makes programming with tokens very quick.

In your program editor, you aren't using tokens though, and honestly, I think that is a mistake. The reason for this is that the TI-84 keyboard is a little awkward to type on. There are of course people who are quick with it, but those people are in the far minority (and they're faster with tokens). Also, without the token system, people actually have to memorize the names of functions, and while this won't be difficult for experience programmers, it puts a serious learning curve that wasn't there before on new programmers.

So, what I am saying is that if you want your IDE to become popular (and increase coding efficiency :P) I think you should stick with tokens.

174
General Calculator Help / Re: TI-84+ SE Menu
« on: November 15, 2012, 12:10:50 am »
I'll make you a zStart axiom. It will let you run and edit programs using zStart's asm API.

I said I would deliver, and I did.

175
TI Z80 / Re: zStart - an app that runs on ram clears
« on: November 15, 2012, 12:07:05 am »
I made an axiom!!

This axiom is called zstaxe (clever, I know) and it allows Axe programmers to access the zStart assembly api. There are internally separate version for Axe programs and Axe apps, but externally you can't tell (other than a little discrepancy on the edit command).

Fpdf(progName) - runs progName using zStart, (this can also run apps lol)
    - progName - ptr to string - this is simply the name of the program with it's type byte
        - "prgmNAME" for programs
        - [14]"APPNAMES" for apps (apps are hard to get the name right, see note below)
  Outputs:
      - 01 - zStart not found
      - FF - program thinks it was run by a shell (and might require cleanup) (this can also mean progName not found)
      - 00 - program thinks it was run by the homescreen


Fpdf(progName, offset) - edits progName using zStart
    - progName - ptr to string
    - offset - offset in bytes into program to start editing (instant goto, resolves 2 byte tokens)
  Outputs:
      - program version - 01 - program or zStart not found - 00 - good to go
      - app version - this shouldn't return but if it does - 01 - no zStart - FF - no program
  Notes:
      - for the program version you need to quit back to the homescreen in order for it to actually edit the program (sorry, I can't fix this nicely)

Note about apps names:
   You need to match the app name perfectly, and what I mean by this is that all app names are actually 8 characters, and you need to figure out whether the extra ones are zeros or spaces. For instance: zStart is "zStart", 0, 0 and Calcsys is "Calcsys ". If you want to pad with zeros in axe, you need to do "zStart"[0000]. That will put the extra zeros on. So, the names of these two apps would be:
  - [14]"zStart"[0000]
  - [14]"Calcsys "


There's also a 2 byte memory leak in the current version of zStart, so I have a slightly updated version here for the axiom. The memory leak was making it crash.

176
TI-BASIC / Re: Number inversion
« on: November 13, 2012, 01:39:16 pm »
Your program adds a zero to the end of the number penguin.

I guess it all depends on how your for loop works. But I fixed it to work on calculators.

177
TI-BASIC / Re: Number inversion
« on: November 13, 2012, 01:28:18 pm »
This will work regardless of language:

Final = 0
Reps = int(log(Num))
for (A, 0, Reps)
    Next = int(Num / 10)
    Final = Final * 10 + Num - 10*Next
    Num = Next

178
General Calculator Help / Re: TI-84+ SE Menu
« on: November 12, 2012, 03:06:46 pm »
I can make this too, when thepenguin can give me the asm codes to use with Axe.
Same, I want those codes, please share *.*

Make me a list of what you want.
I just thought about some problem there could be: if I use some of your hex code that makes something (like running a program or going to the graph editor), will it come back to my custom menu afterwards ?

Anyway, I think that the most useful codes would be:
- running a program through zStart when its name is in a string pointed by hl (maybe some people use their calcs for calculating or graphing but that is the code I'd use most :P)
- graph editor
- graph viewer

Ok, lol, I take that back. You don't want these codes. They are going to be like 50 bytes long (100 chars) and will work in really funky ways. Some return, others don't, and some just straight up crash. To make these work requires very specific hacks, and you don't want that.

I'll make you a zStart axiom. It will let you run and edit programs using zStart's asm API.

179
News / Re: Faster Flash Access for the 83+/84+
« on: November 11, 2012, 10:05:57 pm »
I too am experiencing the whole "Buttons don't work" thing. OS 2.55MP, 84+. Happened only after i reinstalled zstart.

Oh, so I just tested it, and it apparently doesn't work when you combine zStart with MathPrint. The problem is definitely with zStart, but I have zero idea what would cause it. So try again with classic.


Is the program dependent on specific hardware revisions by the way?

Also does the speed difference occurs only with very large files? I tried ROL2 with the patch on and could barely notice much difference. ??? However I was using an emulator. (Wabbitemu)

It's not dependent on the hardware at all.

It works on files of all sizes, but the bigger the file, the more noticeable the change is.

180
General Calculator Help / Re: Terrible terrible problem....
« on: November 11, 2012, 06:52:29 pm »
Ok I am using Pixelscape to make my sprites and I exported them as Axe source. When I open it to edit the program I get an inverted screen with a bunch of random scrolling chars then a RAM clear  :'( . What's the problem and how can I fix it? I am using zStart and DoorsCS.

How exactly did you open the file? (Was it archived? Prgm>Edit? etc)

Also, I'm fairly certain zStart can run DCS games as long as they don't use DCS library calls. (Of course, you could always tell zStart to use DCS as the shell in the Program Settings>Shell menu). I think I remember adding the ability to read DCS headers, so they should be recognized.

Pages: 1 ... 10 11 [12] 13 14 ... 108