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 - Hot_Dog
Pages: 1 ... 56 57 [58] 59 60 ... 194
856
« on: April 20, 2011, 11:58:08 pm »
Hot_Dog, actually, that routine Netham gave will both unlock and write to flash. And I assume it will return with it unlocked. BrandonW find's some pretty weird glitches.
Now this is a curosity question, since writing to flash is dangerous...does the routine work on all operating systems?
857
« on: April 20, 2011, 11:39:03 pm »
thepenguin77, I'm assuming then that Netham45's linked code only writes flash, not unlocks it? Yeah, I'm sorry about my response. I didn't have time to go into the details of answering your question, but I did notice the 16-cycle thing. I apologize if that came across somewhat rude Oh, not at all! Actually I didn't think you were rude.
858
« on: April 20, 2011, 10:06:01 pm »
Although Correlation optimization is going well, projects are not going to be due until May 21st.
859
« on: April 20, 2011, 09:29:31 pm »
Is that what you were originally asking about, Hot_Dog? Well basically I wanted to know how to keep the interrupt routine going. I read on wikiti that there were things you had to do if you wanted the interrupt routine to run on a consistent basis, but there were some concepts in the article that I could not understand
860
« on: April 20, 2011, 07:08:48 pm »
I may be wrong, but couldn't you get the exact number of cycles you wanted (up to 255 or maybe 256) by outputting the desired number of cycles to the counter port and setting the timer speed to the CPU clock speed?
If that's so, that's preferable. And in that case I really misunderstood the wikiti article
861
« on: April 20, 2011, 06:25:43 pm »
So you're saying that 9, not 1, should be outputted to the counter, right?
862
« on: April 20, 2011, 05:36:01 pm »
thepenguin77, I see what you're saying and it makes sense.
However, just for the future, it would be nice for an answer like "I don't think that's a good idea because 16 cycles is too short yadda yadda yadda...BUT, nevertheless, here's how to keep the timers going."
As for the flash, I see, but I was just mad that I didn't recieve ANY answer...even if I had been told "We can't tell you, and here's why...it's for safety of calculators, it's extremely hard, there's a chance of a DMCA, yadda yadda yadda," then I would have been given an answer. I thought flash unlocking would be easy, so when I didn't recieve an answer I thought it was because people felt I shouldn't be making a custom IM 1 routine, so you can see why I was thinking "So? That's not what my question was"
863
« on: April 20, 2011, 11:13:12 am »
If we say 'I don't recommend it', please say why. And even then, we can still be told how to do it
864
« on: April 20, 2011, 11:08:38 am »
I wouldn't trust this as I've never tried it before but what I got for setting the timers at cpu speed /16 was this:
ld A,$88 out ($30),A
Granted, but like I mentioned in the first post I know how to set the timers.
865
« on: April 20, 2011, 10:41:47 am »
As an ASM programmer, I like to discover what calculators can do, just like anyone else on this site. I like to find out for myself what works and what doesn't. If you tell me "it's not a good idea," that's fine, but that doesn't mean it doesn't work. I can be allowed to try, can't I? And in trying, I discover things that DO work.
I've asked at least two ASM questions on this site recently, with answers that I know people can provide. Whether or not the final goal I have is hard or even bad, the fact remains that the question I ask has an answer. For example:
If I ask how to restart crystal timers, it may not be a good idea to run interrupts every 16 cycles, but that doesn't mean I can't know how to restart crystal timers, right?
If I ask how to unlock flash, it shouldn't matter that it's recommended I stick to IM 1...you can still tell me how to unlock flash, no?
As this site is designed to help people learn, if I have a question that can be answered, please answer it. Despite my unrealistic goal, I can still learn something for future use rather than fishing for answers. Posts that simply state "I don't recommend this" or "why do you want to do this" without answering the question, unfortunately, let me down and discourage me because I feel that people think I don't know what I'm doing.
866
« on: April 20, 2011, 10:20:01 am »
This is kind of a bad idea in general, because you won't be able to respond to an interrupt in 16 clock cycles.
Oh, did I get my computations wrong? I'm trying to get an interrupt every 150 cycles or so
867
« on: April 20, 2011, 12:56:46 am »
I want to work on a timer that triggers interrupts about every 1/100000 of a second. I know how to set the timer speed, so suppose I have the counter set to 1 and divisor set to CPU speed / 16 (That is, 937500 HZ in fast mode).
But I'm a little lost for the rest of the steps. What do I need to do to make sure that my interrupt routine will always run every 1/100000 of a second? Assume the routine starts at Start_Routine, and the routine ends at End_Routine.
Start_Routine:
;Code ;Code ;Code
End_Routine
868
« on: April 19, 2011, 09:29:40 pm »
bcall(_closeEditEqu)
The edit buffer is probably open. If the hook intercepts from the homescreen then you need to close the edit buffer before you can do anything. When you are done, make sure to bcall(_jForceCMDNoChar) or else bad things will happen. Of course you'll have to watch for the cases where the hook is being run from a basic program, then you don't need to do bcall(_closeEditBuffer), and you most certainly don't what to do bcall(_jForceCMDNoChar)
So is this not a consideration for creating strings? I haven't had this issue when creating temporary strings
869
« on: April 19, 2011, 08:51:27 pm »
Well, the Calc is at least 15 times more powerful. ARM vs z80, ARM wins. even if the z80s were 150 mhz, they would still lose.
Partly, but not fully, because it has automatic multiplication (in z80, we have to do multiplication ourselves!)
870
« on: April 19, 2011, 08:39:35 pm »
Pages: 1 ... 56 57 [58] 59 60 ... 194
|