XANTRONIX Development
2906e26df5
You gain some, you lose some
2016-06-05 15:06:57 -05:00
XANTRONIX Development
a2c079bf90
No more magic numbers! :(((((
2016-06-05 12:37:05 -05:00
XANTRONIX Development
d670c605a1
As it turns out, not putting 244µs between packets makes things unreliable sometimes; Nintendo was really saying that the interval between the start of two packets should be >=270µs, not that there should be a period of silence that long
2016-06-05 00:33:10 -05:00
XANTRONIX Development
fa4b6ae020
Ensure clock pulses occur at ~8192Hz
...
Other changes:
* Rip out checksum routine; it's a lot better to rely on the Game Boy
Printer returning the device identifier and status bitfield to
resend packets when checksum error bit is set
* Ensure incoming value is read just ahead of rising edge (but I was
already doing that so like yeah)
* Ensure 270µs interval after packet transmission
2016-06-05 00:01:59 -05:00
XANTRONIX Development
49463eb8f8
That seems deadly accurate
2016-06-04 22:12:14 -05:00
XANTRONIX Development
f1ef2fbb7c
Why the fuck are you only printing the last line?
2016-06-04 22:01:06 -05:00
XANTRONIX Development
75dd5b3c9b
Use tabby_printer_response struct for good times!
2016-06-04 19:26:34 -05:00
XANTRONIX Development
6fa31cccd8
Holy shit, it fucking works
2016-06-04 19:11:06 -05:00
XANTRONIX Development
904bf866a6
whatever
2016-06-04 01:45:57 -05:00
XANTRONIX Development
35d47901d6
Gonna bit bang this without interrupts yo
2016-06-03 23:01:49 -05:00
XANTRONIX Development
bdf0b3b4e0
Wow, I wasn't even monitoring inputs correctly. Clearly I am rusty in the AVR ways
2016-06-03 16:54:39 -05:00
XANTRONIX Development
84b5d6a2c9
SO FREAKING ANNOYINGLY CLOSE
2016-06-02 23:32:38 -05:00
XANTRONIX Development
a43cb02ec9
Fix state machine bug in serial input parser
2016-06-02 22:55:13 -05:00
XANTRONIX Development
445c52cdf4
Add more validation to serial read state machine
2016-06-02 22:54:59 -05:00
XANTRONIX Development
d9007fc717
Use the correct timer interrupt mask, TIMSK1
2016-06-02 18:06:47 -05:00
XANTRONIX Development
66f62e972a
Use the correct register and bit flag to enable the correct timer counter compare interrupt
2016-06-02 22:51:21 +00:00
XANTRONIX Development
8f06f6abc8
Maybe someday I'll suck less at reading datasheets
2016-06-02 00:28:36 -05:00
XANTRONIX Development
f62f6ad71a
Got my port directions all bass-ackwards for some stupid reason
2016-06-02 00:14:25 -05:00
XANTRONIX Development
a7ba26c6db
Well gosh
2016-06-02 00:10:21 -05:00
XANTRONIX Development
5762889c5a
Actually bother to stop and restart SPI timer when needed
2016-06-02 00:01:50 -05:00
XANTRONIX Development
4640fa8216
Don't forget to send device ID and status byte from Game Boy Printer to host
2016-06-01 23:49:27 -05:00
XANTRONIX Development
75b588a288
Yikes, did I actually make a thing that might be used to talk to the Game Boy Printer? I think so.
2016-06-01 23:40:40 -05:00
XANTRONIX Development
c679426262
*shrug* Gotta commit somethin'
2016-06-01 22:30:12 -05:00