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
omni


Member


Joined: 14 Jun 2003
Posts: 115

Posted: 07 Oct 2003 06:52:45 pm    Post subject:

I'm reading a tutorial and whats it mean by setting a wire high or low?
Back to top
62 52 53 53
Formerly known as 62 52 53 53


Active Member


Joined: 30 May 2003
Posts: 607

Posted: 08 Oct 2003 04:26:49 pm    Post subject:

ignore that. use bcall(_sendabyte) to send a byte, and whatever you use to recieve
Back to top
Tyraniek


Member


Joined: 07 Jun 2003
Posts: 133

Posted: 09 Oct 2003 11:15:48 am    Post subject:

Could anyone explain how to use this rom call exactly ?
Back to top
NETWizz
Byte by bit


Bandwidth Hog


Joined: 20 May 2003
Posts: 2369

Posted: 09 Oct 2003 04:14:42 pm    Post subject:

load a with the byte to send.

so, if you want to send 7

ld a,7
bcall(_SendAByte)
Back to top
Tyraniek


Member


Joined: 07 Jun 2003
Posts: 133

Posted: 10 Oct 2003 12:19:16 am    Post subject:

OK, but how do we receive it ? Is there any rom call to do that ? If so, does the rom call wait till the byte arrives, or do we have to make a loop ourselves ?
Back to top
NETWizz
Byte by bit


Bandwidth Hog


Joined: 20 May 2003
Posts: 2369

Posted: 10 Oct 2003 12:55:02 am    Post subject:

bcall(_RecieveAByte)

I believe it waits for a short period of time, but I will have to check the documentation.
Back to top
Tyraniek


Member


Joined: 07 Jun 2003
Posts: 133

Posted: 10 Oct 2003 08:27:05 am    Post subject:

OK Thank you
I may try that Wink
Back to top
Adm.Wiggin
aka Tianon


Know-It-All


Joined: 02 Jun 2003
Posts: 1874

Posted: 10 Oct 2003 04:24:16 pm    Post subject:

yes, im pretty sure that only lasts for a sec or 2... then does it return an error or something?
Back to top
David
The XORcist!


Advanced Member


Joined: 20 May 2003
Posts: 268

Posted: 10 Oct 2003 04:39:04 pm    Post subject:

bcall(_recAbyteIO) reads and waits approx. one second for link activity. If no activity present: ERR:LINK, unless you have set an error handler.
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