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 - calcdude84se
Pages: 1 ... 96 97 [98] 99 100 ... 161
1456
« on: August 13, 2010, 03:18:50 pm »
That sounds nice, and it helps prevent possible copyright issues. Now for patches for the z80 calcs, one of which I have Good luck
1457
« on: August 13, 2010, 02:05:18 pm »
Interrupts are something the calculator generates at a fixed rate. The normal speed is about 110Hz, or 110 times every second. FnOff will turn these off. This gives you slightly faster speed, and you can do some stuff you normally couldn't because the OS would mess with it (Like linking). However, you cannot use the normal getKey, but you instead have to use getKey(9) et al. (Well, if you use fnInt( you can't. But otherwise it would just turn them back on anyway) FnOn turns these back on. fnInt( can be used to make your own interrupt. The normal interrupt is the OS's and does stuff like check for keys, link activity, etc. To use your own interrupt, you use fnInt(LB,F), where LB is the subroutine you want to execute on the interrupt and F is how often to execute it. It can be 0, 2, 4, or 6 and must be a constant, not a variable. Say you had a subroutine I. To make it an interrupt that executes as often as possible, you can use fnInt(I,0 to set it up. The routine I will execute at 110Hz. Note that you shouldn't use DispGraph or either of its modified versions in an interrupt. In addition, DispGraphrr might need an FnOn after it because it disable interrupts.
1458
« on: August 13, 2010, 01:27:39 pm »
That's in Spasm only. My example was for Brass
1459
« on: August 13, 2010, 12:21:25 pm »
In assemblers like Brass and Spasm, you can use specially named labels for local purposes. For example, in Brass syntax, your above loop could be - dec c jr nz,{-} And you can use it again later in a similar manner, with no naming conflicts. Note that Spasm's syntax is different. Depending on what you're doing, this could also be a good solution. (You will have to upgrade from TASM, though ) Edit: Note that in Brass, you aren't required to put colons after your labels in most circumstances.
1460
« on: August 12, 2010, 09:58:53 pm »
yes, the 'v' for appvars has been changed to 'appv' As for Str1A and Str1B, variables/pointers are unscoped, so you can use them everywhere else in the program.
1461
« on: August 12, 2010, 06:17:11 pm »
The answer to life, the universe, and everything
1462
« on: August 12, 2010, 04:22:37 pm »
lol, nice. Can't wait to see the projects restarted!
1463
« on: August 12, 2010, 04:02:54 pm »
I think he means, instead of having greyscale, have it in black and white but with a texture that approximates the grey.
1464
« on: August 12, 2010, 03:00:17 pm »
It doesn't look near as good Interesting idea, though.
1465
« on: August 12, 2010, 01:17:35 pm »
Only Ndless recognizes it? Windows should at least acknowledge that it is connected... Do you get any notification, any change in the tray, when you plug in or remove the calc?
1466
« on: August 12, 2010, 10:26:58 am »
So, a quick digression to explain what they are. Basically, they allow you to use a specially formatted flash app as a library. You choose the library with OpenLib(, and send commands to it with ExecLib(. Note that the app really only has one entry point, though, since ExecLib( only takes one argument. The only app I know of to use this is Usb8x. And yeah, SirCmpwn plans a hierarchal file system. (If I get my OS finished fast enough, mine will too )
1467
« on: August 12, 2010, 10:23:52 am »
The OP "registers" are actually six 9-byte (?) memory areas in RAM, and are specific to the TI-OS. There will probably be an alternate strategy used
1468
« on: August 12, 2010, 09:51:23 am »
You sorta reminded me of the never-used OpenLib( and ExecLib( commands on the 84+(SE). Though libraries would actually be libraries and not stand-alone apps Although this is more of a device suggestion than BASIC language suggestion, will there be folders? I'm assuming yes, since you plan to use KOS or something similar. Maybe a /libs folder for everything library-related.
1469
« on: August 12, 2010, 09:35:30 am »
Sounds good. program4: The solution to that is to package the library with the program, and perhaps give the device a central libraries location. If the libraries the program needs are already there, you can just have the device discard the extra copies.
1470
« on: August 12, 2010, 09:28:12 am »
Cool, that's pretty awesome Edit: 800 th post!
Pages: 1 ... 96 97 [98] 99 100 ... 161
|