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 - Xeda112358
Pages: 1 ... 65 66 [67] 68 69 ... 317
991
« on: April 24, 2013, 09:18:56 pm »
Apps work, but regular variables cannot exceed 65535 bytes of data in archive (take out 9 bytes +name length plus a few more bytes for the header, and 1 byte from the 64KB sector). The reason is because the OS stores the size bytes as a 2-byte word and a 2-byte word can only hold a value from 0 to 65535. Apps, though, use a different technique in that they have a byte telling how many pages they are, so they can be much larger.
992
« on: April 23, 2013, 09:19:55 pm »
Oh, the app is not for public use, that is why (the PM 1.2 app).
Anyways, I figured out that the file I uploaded was the wrong version, so sorry about the crash to the two people that downloaded it :[ I updated it with the new version which has a few more tutorials and menu options. The current tutorials are:
Binomial CDF Binomial PDF Determinant Integral Matrix Inverse Derivative Normal CDF Reduced Row Echelon Hello World programming example
993
« on: April 22, 2013, 09:08:24 pm »
Oh, that is an app that was causing trouble for somebody on TI-BD that I was investigating. I am actually supposed to delete that now that the problem is resolved
994
« on: April 22, 2013, 09:02:55 pm »
I finally worked on this a little last night and today since it might actually be useful to other students and professors on campus. I scrapped my original menu idea for a much simpler version. Now you can scroll through the tutorials and I made the setup relatively easy for adding new tutorials. There is also a filter option to view tutorials by category.
So some documentation since I haven't updated the readme:
There are two types of items that can be selected from the menus-- Tutorials and Menu Links. Menus have the following syntax:
Menu_0: .db "Menu name",0 .dw number_of_items .dw Item_pointer_0 .dw Item_pointer_1 .dw Item_pointer_2 ...
The item pointers point to an item of the types named above. Tutorials have the following syntax:
Tuto_0: .db "Item Name",0,0 ;Tutorial data ExitTutor() ;also .db 0
Menu Links have the following format:
MenuLink_0: .db "Item Name",0,1 .dw MenuPtr
I also added a new tutorial function called Routine() which allows you to call tutorial code as subroutine. I made this because as I was adding some of the Linear Algebra commands, there was a bunch of duplicate code. Subroutines end the same way as tutorials, with ExitTutor(). Code will then resume after the point of the call.
Finally, I am also trying to keep in mind the goal of having external tutorials and a multipage app. Some of the source code is currently unoptimised since it is a one-page app, but once page boundaries have to be worried about, it will be useful.
EDIT: The original download had the wrong version of the app (correct source, though). It is corrected with an updated version.
995
« on: April 21, 2013, 02:12:09 pm »
Hmm, I had never known about that. The problem seems to only arise when the Input command is used (probably because an edit buffer is opened). If the app is run and a program that doesn't use Input is run, it causes no problems and the flags are reset properly.
996
« on: April 21, 2013, 10:23:06 am »
An interesting bug was found and reported on TI-BD. The glitch and how I managed to reproduce it: (Note that this was tested on OS 2.55MP) -First, she created an app with Basic Builder to put a bunch of BASIC programs together -From there, run one of the programs that uses an Input command -Once you exit, you cannot use fractions mode, even if you use â–ºFrac or set it manually in the mode menu.
Fixes: -Run the app again, exiting before you use an Input command. or -Include this program and run it before exiting the app:
AsmPrgmFD362800C9 It took some hunting to figure out which flags were causing the issue. The flags should have nothing to do with displaying fractions, but the OS apparently exits some routine early if they are set: bit appRunning,(iy+APIFlg) bit 6,(iy+APIFlg)
For whatever reason, it seems that when an Input command is parsed, the app exits with those two flags still set, but otherwise it returns with them reset. Resetting them seems to fix the problem.
This bug does not seem to be present on OS 2.43, though.
997
« on: April 19, 2013, 12:53:03 pm »
If you are keeping track of character coordinates, you could try to make 'tab' work by adding, say, 4 to the coordinate, then use AND %11111100 to mask out the lower bits. Or, for 8 or 16 (like if you are doing it by pixel), you could add 8 or 16 and mask with AND %11111000 or AND %11110000 respectively. That will make sure that it aligns properly
998
« on: April 12, 2013, 01:05:50 pm »
They were stick figures wielding mallets, but ostriches sound fantastic
999
« on: April 12, 2013, 12:42:26 pm »
Here are some screenies below (I changed the name before entering it), as well as the download. I cheated to get to the levels on the second screenie, though (WabbitEmu, 1%).
1000
« on: April 12, 2013, 07:02:36 am »
It says TI-BASIC z80 on that page But I got a 13? o_o that is pretty awesome.
1001
« on: April 11, 2013, 05:27:21 pm »
I did? I don't remember that Or were you talking about the BASIC code/trial division stuff?
1002
« on: April 11, 2013, 07:48:42 am »
That doesn't explain why I showed up o.o I have seen pimathbrainiac for the past week or so (it changes periodically). I have never seen my name listed, though o_O
1003
« on: April 10, 2013, 06:16:57 am »
So, my calculation of "300 per second" was off by quite a bit. I forgot to calculate in non-primes and the wasted cycles there I only get about 30 primes per second, but my algorithm could be better refined (And this is at 6MHz)
1004
« on: April 09, 2013, 06:10:18 pm »
I did a rough estimate and I think that z80 assembly with 32-bit stuff ought to go through 300 palindromes per second at 6MHz. Also, I wonder what your method is?
1005
« on: April 09, 2013, 02:07:47 pm »
I refined my algorithm for prime testing. Now my current speeds are: 42nd palprime : 22 seconds, 18181 100th palprime : 84 seconds, 94049 290th palprime : 552 seconds, 1958591
Yesterday, my record for the 290th was something like 682 seconds, so it improved by 130 seconds o_o My new algorithm will prove exponentially faster (I believe) for larger values. EDIT: Again, TI-BASIC, z80 on a TI-84+
Pages: 1 ... 65 66 [67] 68 69 ... 317
|