This is an archived, read-only copy of the United-TI subforum , including posts and topic from May 2003 to April 2012. If you would like to discuss any of the topics in this forum, you can visit Cemetech's z80 & ez80 Assembly subforum. Some of these topics may also be directly-linked to active Cemetech topics. If you are a Cemetech member with a linked United-TI account, you can link United-TI topics here with your current Cemetech topics.

This forum is locked: you cannot post, reply to, or edit topics. Z80 & 68k Assembly => z80 & ez80 Assembly
Author Message
anduril66
Anduril is the Flame of the West!


Member


Joined: 25 May 2003
Posts: 129

Posted: 02 Dec 2003 05:33:23 pm    Post subject:

What does the romcall _SetExSpeed do? Also, _NZif83Plus. Thanks for the info.
Back to top
Darth Android
DragonOS Dev Team


Bandwidth Hog


Joined: 31 May 2003
Posts: 2104

Posted: 02 Dec 2003 05:41:14 pm    Post subject:

well, bcall(_nzif83plus) returns if the calc is an 83+ or an 83+se. be carefull though, only works on os versions later than 1.12 (1.13 and above)
bcall(_nzif83plus)
jr nz,must_be_plus
jr z,has_to_be_an_se ;i love rhymes

_setexspeed:
changes the processor speed on 83+/83+se calcs running os ver 1.13 or higher. if the calc is an 83+, nothing will happen
registers:
A=0 ;normal 83+ speed (6mhz)
A=1; 83+ se speed (15mhz)
A=FF; fastest future speed (??mhz)


Last edited by Guest on 02 Dec 2003 05:43:10 pm; edited 1 time in total
Back to top
Justin W.
Shattered Silence


Advanced Member


Joined: 24 May 2003
Posts: 429

Posted: 02 Dec 2003 06:02:49 pm    Post subject:

Well if you wanted to check the calc version on an OS older than 1.13 then you could do the following.


Code:
 call Check83plusversion
 jr nz,83plus
 jr z,83plusSE
 ret
Check83plusversion:
 in a,(2)
 and 80h
 xor 80h
 ret
Back to top
Darth Android
DragonOS Dev Team


Bandwidth Hog


Joined: 31 May 2003
Posts: 2104

Posted: 02 Dec 2003 06:11:11 pm    Post subject:

what port is (2)?
what ports other than the screen and keyboard can you give me info on?
Back to top
Arcane Wizard
`semi-hippie`


Super Elite (Last Title)


Joined: 02 Jun 2003
Posts: 8993

Posted: 03 Dec 2003 12:30:20 pm    Post subject:

Darth Android wrote:
changes the processor speed on 83+/83+se calcs running os ver 1.13 or higher. if the calc is an 83+, nothing will happen

Did you mean 'if the calc is not an 83+' ?
Back to top
sic


Advanced Newbie


Joined: 28 Jul 2003
Posts: 62

Posted: 03 Dec 2003 01:44:42 pm    Post subject:

No, he meant if it is an 83+ nothing will happen. This will only change the speed on an 83+ SE.
Back to top
DarkerLine
ceci n'est pas une |


Super Elite (Last Title)


Joined: 04 Nov 2003
Posts: 8328

Posted: 03 Dec 2003 04:26:25 pm    Post subject:

Does it make the speed slower or faster?
Back to top
Tyler


Advanced Member


Joined: 29 May 2003
Posts: 352

Posted: 03 Dec 2003 05:02:51 pm    Post subject:

Hmmm take a long thought about that
bcall(_setEXspeed)
Back to top
anduril66
Anduril is the Flame of the West!


Member


Joined: 25 May 2003
Posts: 129

Posted: 03 Dec 2003 05:54:38 pm    Post subject:

Oh, interesting. I don't have an SE. It is cool how MirageOS can slow down MirageOS compatible games, by changing the interrupt calls (?).
Back to top
Tyler


Advanced Member


Joined: 29 May 2003
Posts: 352

Posted: 03 Dec 2003 06:28:10 pm    Post subject:

Yeah, but most of the time, game programmers don't use the extra speed because it screws up all of your delays and such unless they are bcalls, which are too slow. So unless someone comes out with a delay shell that supports delays for SEs and 83+'s *cough* dragon os? *cough* we're all wasting our processors ability. Although it does drain the batteries faster!
Back to top
Darth Android
DragonOS Dev Team


Bandwidth Hog


Joined: 31 May 2003
Posts: 2104

Posted: 03 Dec 2003 11:28:18 pm    Post subject:

hmm...ill think on it after i get the start menu to work
Back to top
Adm.Wiggin
aka Tianon


Know-It-All


Joined: 02 Jun 2003
Posts: 1874

Posted: 04 Dec 2003 06:06:35 pm    Post subject:

you would just need one function that, depending upon the calc the person is using, delays in 2 different amounts..
Back to top
Tyler


Advanced Member


Joined: 29 May 2003
Posts: 352

Posted: 04 Dec 2003 07:19:59 pm    Post subject:

Heh Darth you're still on the start menu, good thing I'm not in a hurry to finish that ION Emulator, it's alot harder than I thought it would be!
Back to top
Display posts from previous:   
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
    »
» View previous topic :: View next topic  
Page 1 of 1 » All times are UTC - 5 Hours

 

Advertisement