Author |
Message |
|
Keith Pierce
Advanced Member
Joined: 02 Feb 2004 Posts: 411
|
Posted: 31 May 2004 11:48:11 am Post subject: |
|
|
the only reason why i havent released anything in z80 is because i have been working on chasm 2. Why would i lie about something like that? |
|
Back to top |
|
|
X1011 10100111001
Active Member
Joined: 14 Nov 2003 Posts: 657
|
Posted: 31 May 2004 11:53:00 am Post subject: |
|
|
tr1p1ea wrote: You have nothing but mario levels and pictures in your ticalc archive .. i didnt even see any BASIC games ... ?
There are basic programs, but I didn't see any pictures: http://www.ticalc.org/archives/files/authors/78/7839.html |
|
Back to top |
|
|
Keith Pierce
Advanced Member
Joined: 02 Feb 2004 Posts: 411
|
Posted: 31 May 2004 11:57:59 am Post subject: |
|
|
Those basic programs and levels are from when i was still learning z80! Lay off man! |
|
Back to top |
|
|
agility Calc Spammer
Calc Guru
Joined: 16 May 2004 Posts: 1266
|
Posted: 01 Jun 2004 06:40:04 am Post subject: |
|
|
Does anyone know of a tutorial or something that I can use to learn how to interface devices to the ti 83+? |
|
Back to top |
|
|
tr1p1ea
Elite
Joined: 03 Aug 2003 Posts: 870
|
Posted: 01 Jun 2004 09:25:25 am Post subject: |
|
|
If you can pull this off Kieth it will be cool ... and maybe you can give agility some pointers?
Last edited by Guest on 01 Jun 2004 09:25:45 am; edited 1 time in total |
|
Back to top |
|
|
Arcane Wizard `semi-hippie`
Super Elite (Last Title)
Joined: 02 Jun 2003 Posts: 8993
|
Posted: 01 Jun 2004 10:44:02 am Post subject: |
|
|
Quote: Does anyone know of a tutorial or something that I can use to learn how to interface devices to the ti 83+? Don't know, but isn't it just sending and recieving bytes over the link cable port? |
|
Back to top |
|
|
Keith Pierce
Advanced Member
Joined: 02 Feb 2004 Posts: 411
|
Posted: 01 Jun 2004 10:46:48 am Post subject: |
|
|
yes actually thats all its is. Omnicalc has a useful programming tool for basic programmers to use. I never used Omnicalc for that, but check it out. |
|
Back to top |
|
|
agility Calc Spammer
Calc Guru
Joined: 16 May 2004 Posts: 1266
|
Posted: 01 Jun 2004 12:03:11 pm Post subject: |
|
|
well yeah I know that but what code would I use for that? Because I know that I don't have to set the line high and low endlessly to send a program. |
|
Back to top |
|
|
Adm.Wiggin aka Tianon
Know-It-All
Joined: 02 Jun 2003 Posts: 1874
|
Posted: 01 Jun 2004 12:45:11 pm Post subject: |
|
|
agility wrote: well yeah I know that but what code would I use for that? Because I know that I don't have to set the line high and low endlessly to send a program.
Actually, you hit it right on the nose...
The only 2 bits of the linkport that actually matter (do ANYTHING) are bits 0, and 1. To send a byte, you must send it 2 bits at a time, and do some awesome bit shifting to get it to recieve that one byte. A program that is 100 bytes, will be using the linkport 400+ times... |
|
Back to top |
|
|
Arcane Wizard `semi-hippie`
Super Elite (Last Title)
Joined: 02 Jun 2003 Posts: 8993
|
Posted: 01 Jun 2004 12:56:55 pm Post subject: |
|
|
Did anybody ever figure it'd be nifty to write a nice function library for that? |
|
Back to top |
|
|
Keith Pierce
Advanced Member
Joined: 02 Feb 2004 Posts: 411
|
Posted: 01 Jun 2004 01:43:27 pm Post subject: |
|
|
Quote: Did anybody ever figure it'd be nifty to write a nice function library for that?
That sounds like a good idea, maybe someone should! |
|
Back to top |
|
|
agility Calc Spammer
Calc Guru
Joined: 16 May 2004 Posts: 1266
|
Posted: 01 Jun 2004 05:27:52 pm Post subject: |
|
|
So then I have to write out the entire program in binary to transfer it?!?
Then how do I have the read bytes transfered to ram or something?
Is there an example program where I can see this done?
Last edited by Guest on 01 Jun 2004 05:29:52 pm; edited 1 time in total |
|
Back to top |
|
|
tr1p1ea
Elite
Joined: 03 Aug 2003 Posts: 870
|
Posted: 01 Jun 2004 09:54:45 pm Post subject: |
|
|
Didnt Timendus come up with a really good (and fast) way to use the link port? |
|
Back to top |
|
|
JeePee
Member
Joined: 18 Jan 2004 Posts: 181
|
Posted: 02 Jun 2004 06:02:38 am Post subject: |
|
|
The link-protocol TI uses is a very slow one. And a complicated too :s. But there is a faster protocol: one line is a clock, who sets the line high-low-high-low-high-..., and the other line sends the data. To receive you just have to see when the clock changes, and then take the new value of the other line.
I don't know the protocol of TI by heart, but I'll look it up. |
|
Back to top |
|
|
Arcane Wizard `semi-hippie`
Super Elite (Last Title)
Joined: 02 Jun 2003 Posts: 8993
|
Posted: 02 Jun 2004 06:05:23 am Post subject: |
|
|
I know Darth and Iambian are/where working on a way faster protocol to put in DrOS, maybe they could post some documentation they have?
Last edited by Guest on 02 Jun 2004 06:05:43 am; edited 1 time in total |
|
Back to top |
|
|
Adm.Wiggin aka Tianon
Know-It-All
Joined: 02 Jun 2003 Posts: 1874
|
Posted: 02 Jun 2004 02:37:06 pm Post subject: |
|
|
I know MV's TachyonLink will receive from the devil of a linkport just fine... (haven't tried sending)
Hint: Search on ticalc.org |
|
Back to top |
|
|
DigiTan Unregistered HyperCam 2
Super Elite (Last Title)
Joined: 10 Nov 2003 Posts: 4468
|
Posted: 02 Jun 2004 10:38:06 pm Post subject: |
|
|
Quote: So then I have to write out the entire program in binary to transfer it?!?
Then how do I have the read bytes transfered to ram or something?
No need! The program is already totally binary so generally you only need to know the address and the size. Text, pictures, sprites, audio and ".db" stuff will work too; there's really no difference. Alot of linkable Z80 games will include at least two link routines that use this behavior:
ReceiveBytes:
IN: HL=pointer to destination address BC=number of bytes DE=timeout on/off
OUT: (Carry=failed NoCarry=passed. Data goes to <HL>)
SendBytes:
IN: HL=pointer to source address BC=number of bytes DE=timeout on/off
OUT: (Carry=failed NoCarry=passed, Data comes from <HL>)
Adm. Wiggin knows his stuff. The routine will use both lines at the same time; half-duplex style. Ztris does ~something like this to send bits:
"++" == Ready/No link
"+-" == zero
"-+" == one
"--" == (not used)
Other ones like the kind JeePee mentioned use the SPI approach where you have 1 dedicated data line and 1 clock line. Both methods are fairly popular. Anyway, once you get your Z80 prog written, it's just a matter of finding/building a storage medium that can tolerate one of those two formats. |
|
Back to top |
|
|
agility Calc Spammer
Calc Guru
Joined: 16 May 2004 Posts: 1266
|
Posted: 04 Jun 2004 01:43:58 pm Post subject: |
|
|
Wait, what about selecting a program from like a list or something; do you need an instruction to convert it to binary and then send it? |
|
Back to top |
|
|
Arcane Wizard `semi-hippie`
Super Elite (Last Title)
Joined: 02 Jun 2003 Posts: 8993
|
Posted: 04 Jun 2004 04:14:12 pm Post subject: |
|
|
The program already is binary, just read and send. |
|
Back to top |
|
|
agility Calc Spammer
Calc Guru
Joined: 16 May 2004 Posts: 1266
|
Posted: 07 Jun 2004 03:28:51 pm Post subject: |
|
|
Is there an example tutorial or program for all this stuff? Like dedicated to external device interfacing? |
|
Back to top |
|
|
|