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

Pages: 1 ... 100 101 [102] 103 104 ... 168
1516
TI Z80 / Re: VVVVVV
« on: March 11, 2013, 12:43:05 pm »
Can you convert them yourself?

1517
TI Z80 / Re: VVVVVV
« on: March 11, 2013, 11:03:00 am »
That stack of spikes still looks weird. Can't you have a special tile for that?

1518
Other / Re: TI-Nterface (my version of labpro)
« on: March 11, 2013, 05:44:04 am »
I cannot help but wonder why this project is in Nspire projects >_< Shoulda chosen another name.

Edit: Thank you AoC!

1519
Other / Re: TI-Nterface (my version of labpro)
« on: March 11, 2013, 04:56:02 am »
On cemetech they told me it was a prototype and not the finished product. The finished product would be a stand alone calculator. Probably without a screen. I wonder if they will still use the linkport to connect to the calculator, but internally. We'll see. Maybe the guys from cemetech could ask the developers if they saw this project. At the very least: I was first.

Have you already made it with the atmega328P (Or w/e it was)?
Yes. In fact this is the soundchip project which will eventually have some I/O as well. It is remarkably easy to make the interface when I got the soundchip all sorted. I will release multiple versions of the Nterface project. One being a barebone link protocol libary for the arduino and another one will only have the I/O. The first version to be released will be the soundchip TIMID.

1520
Other / Re: TI-Nterface (my version of labpro)
« on: March 10, 2013, 11:37:07 am »

Aaaaand TI ripped off the piggyback calculator addon.

It is a calculator addon for the visually impaired. It connects to the calculator via the I/O and the usb port. I am guessing the usb is just there for power.

1521
Music Showcase / Re: Keoni29's music topic
« on: March 10, 2013, 10:53:09 am »
http://updo.nl/file/389a4ae5.mp3
One day I want my analog synth to have enough modules to be able to produce this sound :3 I made this in fl-studio

1522
Other / Re: Hooking up PIC µCs with accelerometer to TI-83+
« on: March 10, 2013, 10:52:18 am »
You can simply run wires from the batteries in your calc to the mcu. That is what I did for my soundchip prototype. Now I just hacked my calculator and put an expansion port on the side that will connect to some I/O of the atmega and power.

1523
Other / Re: Hooking up PIC µCs with accelerometer to TI-83+
« on: March 10, 2013, 09:02:48 am »
The TI-interface is coming along nicely, so that might be your first product right here. As for the PIC mcu: It's really easy to port the link protocol. Just change some of the hardware specific stuff like interrupts and ports and you're good to go. Just hooking up accelerometers using I2C is also possible with calculators. The link protocol I wrote is very similar to I2C, so with some modifications a low speed I2C protocol can be implemented in AXE (low as opposed to 100Mb/s)

1524
Other / Re: TI84+ soundchip - arduino SID emulator
« on: March 08, 2013, 12:06:19 pm »
It sounds like a SID. I only have the one song I played in the videos, so that's not too spectacular. When I get into modulation effects and pitchbends you can really hear its full potential.

Edit: I timed the data transfer. I sent 25600 bytes in 12 seconds which means the transfer rate is 2kB/s or 16kbit/s at the moment. Remember that this arduino is doing nothing other than receiving bytes and relaying them to the pc via serial. This is on normal speed. When I set it to full speed it just gives me a lot of errors (wrong numbers received.) It might be because of the way this code is written, but I am not sure. It might just be because of the high speed and capacitance in the wires. I never had to worry about the capacitance of the wires because the speed was relatively low.

16kbit/s translates to 32000 baud :3

Edit: I can now both read and write respectively from and to the atmega. It's not very smooth at the moment, so I'm gonna run some more tests before I release that.

1525
Other / Re: TI84+ soundchip - arduino SID emulator
« on: March 08, 2013, 07:42:05 am »
Lol why was this topic locked all of the sudden?

Ontopic: I have optimized the code on the arduino and I get some pretty fast transfers now. I don't need to include delay loops on the calculator side anymore. I even tried it with full mode, but quite a few bad bytes got trough. I can probably solve that by making a better connection with the arduino. I removed the SID emulation from the code just so I could work on the data transfer and optimizing this. I hope the external interrupts do not interfere with the library though. I just wanted to have the best possible transfer speeds, so others could use this code in their projects not having to worry about delays.

This code uses external interrupts on pin 3 (clock pin of the linkport is hooked up to this pin)
Code: [Select]
// MACROs
#define PIN2L !(PIND & 0B00000100)
#define PIN3L !(PIND & 0B00001000)

#define CLR(x,y) (x&=(~(1<<y)))
#define SET(x,y) (x|=(1<<y))

byte get;
byte bitCount = 8;

void bitTransceive()
{
  get >>= 1;
  if (PIN2L)
  {
    get |= 128;
  }
  bitCount--;
}

void setup()
{
  CLR(DDRD,2); //pinMode 2 is input
  CLR(DDRD,3); //pinMode 3 is input
  Serial.begin(115200);
  attachInterrupt(1,bitTransceive,FALLING);
}

void loop()
{
  if (!bitCount){
    // Pull down clock line to make sure the calculator does not send while the atmega
    // is processing the incoming data.
    SET(DDRD,3);
    Serial.println(get);
    get = 0;
    bitCount = 8;
    CLR(DDRD,3);
    // Released the clockline.
  }
}
My goal was to make the code compacter, faster, more readable and understandable. I don't think there is a lot of room for improvement here!

Edit: This is only for receiving bytes from the calculator. I will write the sending code soon.

1526
Miscellaneous / Re: Random YouTube Videos
« on: March 08, 2013, 03:43:10 am »
Omg porn on youtube.

1527
TI Z80 / Re: VVVVVV
« on: March 08, 2013, 03:37:58 am »
It is not really hard to make an outline routine using several sprites. I have one just below (where 0 is nothing and 1 is wall) :)
On the contrary, I have no idea how to do it without sprites ???

So, here is for example a rendering of a map with only 0s and 1s, first without borders, then with borders
Spoiler For Spoiler:

.AA
. . .
 8
2 4
 1
. . .
[]->°Sprites
[0000000000000000]
[FF81B9B5AD9D81FF]
[FF81B9B5AD9DB9B5]
[FF01B975EDDD01FF]
[FF01B975EDDDB975]
[FF80BBB7AE9D80FF]
[FF80BBB7AE9DBBB7]
[FF00BB77EEDD00FF]
[FF00BB77EEDDBB77]
[AD9DB9B5AD9D81FF]
[AD9DB9B5AD9DB9B5]
[EDDDB975EDDD01FF]
[EDDDB975EDDDB975]
[AE9DBBB7AE9D80FF]
[AE9DBBB7AE9DBBB7]
[EEDDBB77EEDD00FF]
[EEDDBB77EEDDBB77]

.create a random map in L1 with only 0s and 1s
~1->r1
For(96)
 rand^2->{r1+++L1}
End

Draw()
Fill(L5,128,0)
Copy(L1,L5,96)
For(X,0,11)
 For(Y,0,7)
  If {Y*12+X+L5}
   {Y-1*12+X+L5}*2+{Y*12+X+1+L5}*2+{Y*12+X-1+L5}*2+{Y+1*12+X+L5}+1->{Y*12+X+L1}
  End
 End
End

Lbl Draw
ClrDraw
0->X
For(12)
 ~1->Y
 For(8
)
  Pt-On(X*8,Y++*8,{Y*12+X+L1}*8+°Sprites)
 End
 X++
End
DispGraph
Pause 3600
ClrHome
Return

edit of course it can be optimized, but I made that like that so I didn't optimize at all :P
wow! Looking amazing! You will just have to run this at the start of a room and copy the buffer you wrote it to to the screen.

1528
Miscellaneous / Re: Random YouTube Videos
« on: March 07, 2013, 03:13:04 am »
Teddies!

1529
TI Z80 / Re: VVVVVV
« on: March 06, 2013, 09:45:40 am »
When you have the black background the borders aren't clearly visible. It won't be that hard to make the line drawing algoritm. Make sure to use Rect( instead of Line(

1530
Other / Re: TI84+ soundchip - arduino SID emulator
« on: March 05, 2013, 06:57:18 pm »
Does that run on a c64? Might give it a go and put it on a floppy using my xm cable.

Pages: 1 ... 100 101 [102] 103 104 ... 168