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 ... 64 65 [66] 67 68 ... 317
976
« on: May 01, 2013, 12:57:49 pm »
there is no need of the asmcomp() cmd. It's just if you want to save weight
yes but some calcs crashes or disp invalid whithout asmcompile(...
It shouldn't and I've never had a problem running it uncompressed. Here is a screenshot of how it is done:
977
« on: May 01, 2013, 06:19:03 am »
For that, you need an assembly program. For example, name the program prgmALOCK and use Asm(prgmALOCK before the Input command:
AsmPrgm3E51FD7712C9
Also, I noticed that elsewhere you said this was for a school project ?
978
« on: April 29, 2013, 12:39:38 pm »
The meeting actually lasted a lot longer than I expected, so I was too tired last night. So instead, I will just upload what I have and hope for more time later
979
« on: April 28, 2013, 12:26:07 pm »
Update! There was a pretty bad bug that I ran into a while ago while modifying the program and I wasn't sure what caused it. I finally tracked it to the root of the problem today by luck because I had no idea what to look for. It turned out that four bytes of code that I commented out were actually needed in a certain rare situation. So that is fixed, and I added the NEW() command so that folders and files could be created whenever they were needed. As well, I added the SINSRT() command to insert a string of data into a file. It is not complete as it only inserts at the beginning of the file, but it is the start of a set of commands that I have been planning on working on. As well, you can now use the OS Ans variable, if it is a string, in place of string arguments and you can use OS String variables. Here is an example: :Input "Name:",Str1 :dim(-1 ;start a block of FileSyst code :CD(Game/Str) :NEW( Name.str) :SINSRT( Name.str,Str1) :Return ;Exit the block of FileSyst code
That will create the file Name.str in folder Game/Str and fill it with the contents of Str1. I am sure there are still bugs, so take care, but the download is here. I also updated the example program a little bit, but not much. In particular, renaming files seems to have problems and I haven't looked to see if that is a problem in FileSyst or prgmGUI. EDIT: I added in the DELB() command to delete a given number of bytes from a file at a given offset. It properly handles when the offset is beyond the file data, when the number of bytes deleted would go beyond the file and other potential issues. I also added an offset argument to the SINSRT() command and it handles when the offset goes beyond the file by simply appending the string to the file. I won't be back for 5 or 6 hours, but if I am not too tired, I will try to add in commands for line reading/writing/overwriting. I will then want to add the ability to parse FileSyst code directly from archive and have user defined functions. I already have a bunch of other things planned, though, so I should try not to get too far ahead of myself Needless to say, the commands and a few of the routines that I added today have been on my To Do list since week 1.
980
« on: April 28, 2013, 08:26:22 am »
Hi codebender! Welcome to Omni Have some
981
« on: April 27, 2013, 04:51:07 pm »
The only trouble will be that you need to have a custom interrupt to make sure the OS doesn't throw an error. Hopefully somebody with time comes along to help Essentially, you would need the ONBLOCK program active to prevent ON causing an error, then a separate program to scan for key presses and ON. That would essentially be: AsmPrgm DB03 E608 EE08 2003 3A3F84 EF8C47 EFBF4A C9
It returns 8 if ON is pressed, else it returns the values in the link that dinosteven linked to.
982
« on: April 27, 2013, 07:19:53 am »
I could probably make an alternate, unofficial version. It would probably have features removed, though, o make room.
The source is typically included with the download, but here is the current code that I have (attached). I am not sure if it works because it has been a while since I last looked at it.
983
« on: April 26, 2013, 08:12:19 pm »
Wow, I was about to vote, but then willrandship posted and I was like Now I am stuck between two o.o
984
« on: April 26, 2013, 07:37:23 pm »
Okay, I think I see what you mean, soulthym. I don't have much code space left in the app for something that complicate. EDIT: I accidentally clicked 'post' before finishing @persalteas: Unfortunately, the OS doesn't parse key hooks during program execution unless you are at an 'Input ' command, Pause, or Menu(
985
« on: April 26, 2013, 06:20:20 am »
I am not exactly sure of what you mean, sorry Grammer 2 doesn't compile anything, so I am not sure where that would help out at the moment (but compiling is in the plans for Grammer 3). However, there are tricks for working with labels to make them faster, such as precomputing their location and storing them to point variables. This way, you don't need to constantly look up labels.
986
« on: April 25, 2013, 04:48:49 pm »
I was just pointing out that the_mad_joob has a fairly decent method that he is employing as it currently is Note that the flash chip is limited in how often it can be written to, so it would be best to do all of the editing in RAM and save to flash once everything is done.
987
« on: April 25, 2013, 04:43:30 pm »
Generate Mersenne primes and you are good to go. Mersenne primes are of the form 2p-1 where p is prime (but not all prime p will yield a prime number with 2p-1). Then multiply that by 2p-1 and you have a perfect number. There are also some pretty decent prime tests for Mersenne primes.
988
« on: April 25, 2013, 03:48:40 pm »
It's fine, it wasn't prime, anyways.
989
« on: April 25, 2013, 03:47:50 pm »
Okay EDITING can be done like this: Just archive the file, and create a copy in archive/RAM to edit. No need for extra RAM. Might be slow, though. By the way, theoretical App size could be as big as 1.07 gigabytes (1 073 725 440) but the largest I"ve ever sent to my calc was 15XX kilobytes (maximum size)... Tilp crashes on that stuff lol
Archive works like this: You can turn a bit OFF, but you cannot turn a bit ON unless you erase the whole 64KB sector. That is the challenge. I would also like to point out that 1.07 gigabytes is about 1000 times as much archive space as any of these calculators have Also, I think you are assuming that it uses a two-byte page size when it actually uses 1 byte. Apps are stored in a completely different format than other variables
990
« on: April 25, 2013, 08:56:07 am »
Its only 'cause DJ_O is awesome >.>
Pages: 1 ... 64 65 [66] 67 68 ... 317
|