timer a emulation xbtimer and rte

All 680x0 related coding posts in this section please.

Moderators: simonsunnyboy, Mug UK, Zorro 2, Moderator Team

User avatar
charles
10 GOTO 10
10 GOTO 10
Posts: 2530
Joined: Tue Aug 17, 2004 12:11 am
Location: ont. Canada
Contact:

Re: timer a emulation xbtimer and rte

Postby charles » Fri Jun 25, 2010 7:24 pm

yes nyh i apparently needed a routine very the same for midi so i now have a very much the same code that i guess is copied,, but mine works , and his doesn't so is it copied...
or
is it duplicated???/

its not "dark majic" either.

knowledge of the st is very malu-able
just like the combinations of commands to form a routine ,,
, they all change patterns to our liking./
or they all remain the same to our liking to serve a present purpose.

. i don't have enough knowledge of what i don't know and i can't see
what isn't there.

so while trying to learn a procedure
i am unable to create a new procedure
and learn its function during execution


i know i am not an ideal student , but there are no real ideal teachers
in a vastily changing atari environment which has depleated

sorry , i have distractions and many other things on the go , so this causes a great deal of interferance.

but the princaple i have is

1:complete project /working or not

2:see how close it targets intended purpose

3:adjust and incorparate new functions/added features

4:work out bugs

5:modify project structure optimze

6:learn from other/ implement own routine

7:absically have fun and succeed doing so wheather one year or 8 years


charles
The radioactive half-life : )
Atari is a lifestyle,not a hobby.
HOLD ON ! ! ! Im printing unreadable characters ...!

User avatar
lp
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 2442
Joined: Wed Nov 12, 2003 11:09 pm
Location: GFA Headquarters
Contact:

Re: timer a emulation xbtimer and rte

Postby lp » Sun Jun 27, 2010 8:03 am

He's perpetually stuck on #4. Then when it can't be fixed I guess gremlins have gotten into his GFA setup and magically broken just his copy. :lol:

User avatar
charles
10 GOTO 10
10 GOTO 10
Posts: 2530
Joined: Tue Aug 17, 2004 12:11 am
Location: ont. Canada
Contact:

Re: timer a emulation xbtimer and rte

Postby charles » Sun Jun 27, 2010 3:09 pm

yes thats it exactually ..grrrrrrr!

charles
The radioactive half-life : )
Atari is a lifestyle,not a hobby.
HOLD ON ! ! ! Im printing unreadable characters ...!

User avatar
Nyh
Atari God
Atari God
Posts: 1496
Joined: Tue Oct 12, 2004 2:25 pm
Location: Netherlands

Re: timer a emulation xbtimer and rte

Postby Nyh » Mon Jun 28, 2010 7:45 pm

charles wrote:yes nyh i apparently needed a routine very the same for midi so i now have a very much the same code that i guess is copied,, but mine works , and his doesn't so is it copied...

It is copied verbatim, including all comments and stupid register saving commands.

Worse is that you again are saying some code doesn't work.
You started this thread with a similar accusation: STeem wasn't working.
I am pretty sure David Snows routine is working fine.
The only problem is you not able to use the code.

charles wrote:. i don't have enough knowledge of what i don't know and i can't see
what isn't there.

so while trying to learn a procedure
i am unable to create a new procedure
and learn its function during execution

i know i am not an ideal student , but there are no real ideal teachers
in a vastily changing atari environment which has depleated

Please realize you are a student.
So when your code doesn't work don't blame the ST, Compiler, Gfa basic, STeem or whatever.
As a student it is almost always your fault that the code isn't working.
Not someone else's.
Don't play the expert on midi programming like you try to do in the "midi ports programming" thread because you are no an expert in MIDI programming.

Anyway. I am still awaiting your answer on how you think you can change timer speeds with tickcal().

Hans Wessels

User avatar
charles
10 GOTO 10
10 GOTO 10
Posts: 2530
Joined: Tue Aug 17, 2004 12:11 am
Location: ont. Canada
Contact:

Re: timer a emulation xbtimer and rte

Postby charles » Mon Jun 28, 2010 7:55 pm

you haven't got back to me on what it says about the bios 6 call from gfa programmers reference volume 2 by george miller ,,,,its difficult to be correct when alot of my references are conflicting

and thats why i am here on the forum trying to work stuff out

i do an enormous amount of midi coding ,,,
thats the only reason i have my atari .

i see in the timer routine from the st internals it goes to this 20 ms call
after it checks the input ports like keyboard etc ,


anyhow relax nyh
getting answers from me is about as easy as written help (little tiny bits of code)
from others

as you can see the tickcal is no big deal to my desired code at the moment
i can accept the fact i am wrong sometimes , can you?

charles
The radioactive half-life : )
Atari is a lifestyle,not a hobby.
HOLD ON ! ! ! Im printing unreadable characters ...!

User avatar
Nyh
Atari God
Atari God
Posts: 1496
Joined: Tue Oct 12, 2004 2:25 pm
Location: Netherlands

Re: timer a emulation xbtimer and rte

Postby Nyh » Mon Jun 28, 2010 10:10 pm

charles wrote:you haven't got back to me on what it says about the bios 6 call from gfa programmers reference volume 2 by george miller

AFAIK there is no "gfa programmers reference volume 2" by George Miller and I certainly don't own it.
But if you like you may copy the text here or scan the relevant pages.
It would surprise me when what it says is not what YOU think it says.

charles wrote:i see in the timer routine from the st internals it goes to this 20 ms call
after it checks the input ports like keyboard etc ,

No, you see wrong. It does not do that. The timer routine does not check input ports like the keyboard.

This is exactly where your problems start.
You don't understand the documentation.
And you are reporting back the wrong things.

Hans Wessels

User avatar
lp
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 2442
Joined: Wed Nov 12, 2003 11:09 pm
Location: GFA Headquarters
Contact:

Re: timer a emulation xbtimer and rte

Postby lp » Tue Jun 29, 2010 1:23 am

Nyh wrote:AFAIK there is no "gfa programmers reference volume 2" by George Miller and I certainly don't own it.
But if you like you may copy the text here or scan the relevant pages.
It would surprise me when what it says is not what YOU think it says.


You are correct, there is no such volume. Not to mention he's been told many times the Profibuch or the Compendium is a much better source of information. Why anyone would trust an old GFA book for OS calls is beyond me. Volume 1 is so old, it don't even cover GFA v3.6. He's probably referring to volume 1, but as usual never proof reads anything he writes here either.

User avatar
Nyh
Atari God
Atari God
Posts: 1496
Joined: Tue Oct 12, 2004 2:25 pm
Location: Netherlands

Re: timer a emulation xbtimer and rte

Postby Nyh » Tue Jun 29, 2010 7:45 am

lp wrote:
Nyh wrote:AFAIK there is no "gfa programmers reference volume 2" by George Miller and I certainly don't own it.
But if you like you may copy the text here or scan the relevant pages.
It would surprise me when what it says is not what YOU think it says.


You are correct, there is no such volume. Not to mention he's been told many times the Profibuch or the Compendium is a much better source of information. Why anyone would trust an old GFA book for OS calls is beyond me. Volume 1 is so old, it don't even cover GFA v3.6. He's probably referring to volume 1, but as usual never proof reads anything he writes here either.

This sloppiness is what makes him a very bad programmer. Saying:
"gfa programmers reference volume 2" by George Miller
when you mean:
"GFA-Basic Programmer's Reference Guide Volume 1" by George Miller.
Humans can correct for such mistakes, computer not.

This sloppiness causes errors like Charles using XBIOS 6 when he means BIOS 6 and then start complaining that there is a bug in TOS because it is not working. It is a bad way to reference OS function by number anyway. Using the name is a lot more informative.

Hans Wessels

User avatar
simonsunnyboy
Moderator
Moderator
Posts: 5121
Joined: Wed Oct 23, 2002 4:36 pm
Location: Friedrichshafen, Germany
Contact:

Re: timer a emulation xbtimer and rte

Postby simonsunnyboy » Tue Jun 29, 2010 4:18 pm

All that has been said before and Charles didn't listen :coffe:
Simon Sunnyboy/Paradize - http://paradize.atari.org/

Stay cool, stay Atari!

1x2600jr, 1x1040STFm, 1x1040STE 4MB+TOS2.06+SatanDisk, 1xF030 14MB+FPU+NetUS-Bee

User avatar
charles
10 GOTO 10
10 GOTO 10
Posts: 2530
Joined: Tue Aug 17, 2004 12:11 am
Location: ont. Canada
Contact:

Re: timer a emulation xbtimer and rte

Postby charles » Tue Jun 29, 2010 6:15 pm

i'm afraid theres no other place to turn for answers,, i got the books , i got the machine
i got spare time.... this is very educational...

its going to look like i copied who evers code because on a low level it all does the same thing mechanically inside the atari.

tickcal or bios 6 is said to return the time since the ataris been started , timing calibration and is the same as the timer function in gfa

but it never changes under steem and i have had other experiences with it in the past other languages other than steem

like mal formed judgement experiences yuears before i took any understanding to programming.

you could have asked if there is a volume two ??????????


any how so why does timer c add #1 to $4ba 3 out of 4 times and then checks if there is key reapeat on ,, then goes to the 20ms area?


charles
The radioactive half-life : )
Atari is a lifestyle,not a hobby.
HOLD ON ! ! ! Im printing unreadable characters ...!

User avatar
Nyh
Atari God
Atari God
Posts: 1496
Joined: Tue Oct 12, 2004 2:25 pm
Location: Netherlands

Re: timer a emulation xbtimer and rte

Postby Nyh » Tue Jun 29, 2010 6:34 pm

Here we go again...

charles wrote:its going to look like i copied who evers code because on a low level it all does the same thing mechanically inside the atari.

There are many ways to do things on a low level, like which registers are used and how registers are saved.
When to pieces of code contain the same stupid coding practices they are very likely copies.
Even more so when they have the same comments.

charles wrote:tickcal or bios 6 is said to return the time since the ataris been started , timing calibration and is the same as the timer function in gfa

No, it is not.
Tickcal does NOT return the time since the Atari has started.

charles wrote:but it never changes under steem and i have had other experiences with it in the past other languages other than steem

STeem is not a programming language.

charles wrote:you could have asked if there is a volume two ??????????

You quoted a book title.
I looked the title up.
There is no such book.

Be very precise with your references.
Programming is all about being precise.

charles wrote:any how so why does timer c add #1 to $4ba 3 out of 4 times and then checks if there is key reapeat on ,, then goes to the 20ms area?

Please reread what I have written on this subject.
What you are saying here is not what I said.
You are mixing thing up in a grand way.

Hans Wessels

User avatar
lp
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 2442
Joined: Wed Nov 12, 2003 11:09 pm
Location: GFA Headquarters
Contact:

Re: timer a emulation xbtimer and rte

Postby lp » Wed Jun 30, 2010 10:13 am

charles wrote:tickcal or bios 6 is said to return the time since the ataris been started , timing calibration and is the same as the timer function in gfa


Tickcal() does not appear anywhere in GFA. I have the entire library in source code form . Your comment is completely wrong. GFA manuals are notorious for typos and horrible translations. Nearly all GFA books come from Germany, although the George Miller one might be the rare exception, however it appears to be a re-hash (reorganized version) of the original manual which was poorly translated to begin with. You really should look up this function tickcal() in some proper reference and get your facts straight.

User avatar
charles
10 GOTO 10
10 GOTO 10
Posts: 2530
Joined: Tue Aug 17, 2004 12:11 am
Location: ont. Canada
Contact:

Re: timer a emulation xbtimer and rte

Postby charles » Wed Jun 30, 2010 1:21 pm

hi here i am again .. tickcal is bios 6 lonny
The radioactive half-life : )
Atari is a lifestyle,not a hobby.
HOLD ON ! ! ! Im printing unreadable characters ...!

User avatar
Nyh
Atari God
Atari God
Posts: 1496
Joined: Tue Oct 12, 2004 2:25 pm
Location: Netherlands

Re: timer a emulation xbtimer and rte

Postby Nyh » Wed Jun 30, 2010 1:47 pm

charles wrote:hi here i am again .. tickcal is bios 6 lonny

Talking about completely missing the point....

Hans Wessels

User avatar
lp
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 2442
Joined: Wed Nov 12, 2003 11:09 pm
Location: GFA Headquarters
Contact:

Re: timer a emulation xbtimer and rte

Postby lp » Wed Jun 30, 2010 3:41 pm

charles wrote:hi here i am again .. tickcal is bios 6 lonny


That doesn't change the fact that your comment is still completely wrong. Among your many failures you have at least succeeded at being the village idiot. :cheers:


Social Media

     

Return to “680x0”

Who is online

Users browsing this forum: No registered users and 4 guests