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 - Eeems

Pages: [1] 2 3 ... 370
1
TI Z80 / Re: Accurate Subsecond Timing
« on: March 06, 2024, 10:57:53 pm »
Ok, so am I to assume that I am being a little naive again and that this cannot be simply solve with a little asm program that starts and then another that just gets a time and stops the timer?
Correct, as you wouldn't know how long the TI-Basic code took to hand off to assembler etc.


I hate to bother but I know next to nothing about asm and have messaged thepenguin77 about this as he wrote a nifty little timer that responds to the linkport actions shown here: 

https://www.omnimaga.org/ti-z80-calculator-projects/thepenguin77's-utilities/msg350488/#msg350488

He has responded but is currently on vacation and I do not wish to interrupt the vacation any further.  He linked me to the page below:
This is a forum which, similar to email, can have several weeks between replies, so it's totally fair to ping @thepenguin77 to ask for an explanation, it just may take a little while to get a response.

https://wikiti.brandonw.net/index.php?title=83Plus:Ports:30

If I am understanding the asm from that page using what limited knowledge I have.

Code: [Select]
;Setup up a timer that waits 2 seconds
   di
   ld a,$47      ;8 hz
   out ($30),a
   ld a,0        ; no loop, no interrupt
   out ($31),a
   ld a,16       ;16 ticks / 8 hz equals 2 seconds
   out ($32),a
wait:
   in a,(4)
   bit 5,a       ;bit 5 tells if timer 1
   jr z,wait     ;is done
   xor a
   out ($30),a   ;Turn off the timer.
   out ($31),a

We are loading an 8hz clock into a ($47).  The 8hz clock is turned on ($30).  We load a with 0.  Now loop control is started ($31) (This is where we are running processes to count ticks?).  Below that we keep rolling until a is equal to 16 (counting 16 ticks at 8 hz equals 2 seconds).  I am not sure what all the wait part is doing other than hitting the $30 which is the on/off switch.

So as I understand using 8hz only gives an accuracy of 1/8th seconds but there are higher hz clocks available.  Ticks will have to be counted and stored somewhere which may be able to be retrieved by the same or another program to then use some math and figure out the time based on the ticks that have passed.
I'll have to defer to someone with more experience here on if there is anything in the code itself that's an issue. But yes, you'd need to store the count somewhere by calculating how many ticks it would take based on the opcodes you are using, and then incrementing a counter on each iteration.

So all this is running while the ti-basic processes are also running which I think would also use the CPU which could affect the accuracy of the calculated time?
TI-OS is not multithreaded with processes. It's running on a z80 with very limited RAM. It only affects timing to switch contexts, so switching from TI-Basic to assembler, or switching to an interrupt if they are enabled. You would need to write assembler code that both waits for the link port to be in the state you want it to be, as well as handles the timing, and then returns the result to TI-Basic.

I feel like I am getting somewhere and I feel like I am not.  Am I making any sense at all here?

2
TI Z80 / Re: Accurate Subsecond Timing
« on: March 05, 2024, 09:45:27 pm »
It appears that the clock on the 84+/84+SE is only accurate to the nearest second: https://wikiti.brandonw.net/index.php?title=83Plus:Ports:45

To do subsecond timing, you'd probably need to use assembler and count the cycles for every command in the loop used to wait, and then use the current CPU clock speed (https://wikiti.brandonw.net/index.php?title=83Plus:Ports:20) to determine a close estimate.

3
Other Calculators / Re: some programs don't send to wabbitemu?
« on: January 20, 2024, 07:37:32 pm »
Wabbit is still touched every so often, so it would be worth opening an issue to get it resolved.  https://github.com/alberthdev/wxwabbitemu

4
Axe / Re: MExp: A Monster's Expedition in Axe
« on: January 09, 2024, 05:02:12 pm »
I hadn't thought to use itch.io to release calculator games yet! Interesting!

I've installed the game, and I'll have to try to find some time to see if I can give you any feedback. I did notice already that the greyscale routine you are using doesn't handle when you move the character, but that's not too big of a deal.

6
ASM / Re: Stable offscript for TI-83+
« on: October 17, 2023, 04:29:07 pm »
not gonna lie, i have just been fighting trying to get spasm to work. building it doesn't work, and the prebuilts aren't working either.

like does it no work on windows anymore? I don't get it. its outdated and not updating throws errors, and updating it throws errors
It's hard to help you without knowing what errors you are encountering. It should still work on windows, as nobody has opened an issue about it not working since the last update to it 3 years ago.

7
Super Smash Bros. Open / Re: [Axe]How to format sprites
« on: October 16, 2023, 10:08:07 pm »
Or they can reply here, that said this was a thread from 2018. That said, the answer to how to format images is just two posts before the first post of yours in the triple posts you made in this thread: https://www.omnimaga.org/super-smash-bros-open/(axe)how-to-make-your-own-character/msg406653/#msg406653
That post also indicates that necroposting is discouraged, and that you should start a new thread instead.

8
Super Smash Bros. Open / Featured in a video
« on: September 17, 2023, 11:49:56 am »
This was featured in a video from a YouTuber I've been following.

9
Axe / Re: Does the Link Port Work in Axe?
« on: July 02, 2023, 06:24:54 pm »
The link port can transfer files from a computer with a silverlink cable, as well as between calculators. Calc to calc communication can be a bit tricky at times to get the initial handshake to be happy. At least that's what I remember when sending files between devices in high school. Yes you can transfer between the 83+ and 84+ family as well.

10
General Calculator Help / Re: ti connect can't find my ti 83 plus
« on: April 17, 2023, 04:37:23 pm »
the os of my calculator is 1.12.

Alright, I'm not aware of any issues with this OS version. It is a little behind the latest (1.19), but I don't think that should be an issue.

i already tried tilp but it doesn't work.

What steps did you take with TiLP?

my computer is windows 10
the graphic link cable is this: snip

Okay, so by graphic link you mean the TI-GRAPH Link cable. Check the text on the sticker, it'll say that.

i plug the calculator in the pc ports, then i open ti connect and he looks for the calculator, but he can’t find it

Do you know if this cable works with other calculators?

This isn't really the detailed steps we were hoping for. It's still the high level actions. Screenshots and specific text would be extremely helpful. Without it, you could be plugging it into a tomato and expecting it to work for all we know.

11
General Calculator Help / Re: ti connect can't find my ti 83 plus
« on: April 17, 2023, 01:43:19 pm »
What OS version is your calculator?
Maybe try TiLP instead of TI Connect or TI Connect CE?
What OS is your computer?
Are there any error messages from TI Connect or TI Connect CE? If so, what are they?

i have a ti 83 plus with the graphic link cable and when i connect to my pc it recognize the calculator but ti connect nope i don't know what to do please help
Could you clarify what you mean by graphic link cable?

still won't work
Then you are out of luck. If you write out a detailed list of what you have done, what software and hardware you have, I might be able to find something you have missed. But so far all you have told me is that you have a TI83 and it won't work.
@burro_ciao Could you write out the detailed list of what you have done, and what software and hardware you have? Your list so far is not detailed. Detailed means the actual steps, not the high level actions.

12
News / Re: Ads
« on: April 07, 2023, 12:47:08 pm »
In case anybody is wondering, we don't really make all that much. Around $18USD in total since we enabled the ads. I'll probably leave it on for now.

13
General Calculator Help / Re: usb8x error 1208?
« on: January 03, 2023, 05:20:15 pm »
What version of msd8x are you using? Also, have you tried with new batteries?

14
General Calculator Help / Re: usb8x error 1208?
« on: January 03, 2023, 05:11:23 pm »
Could you provide a bit more information on where you getting this error from?

15
That's awesome! Amazing job @calc84maniac !

Pages: [1] 2 3 ... 370