XANTRONIX Development
5b27cf9c79
Refactor print receiver to calculate checksums and raise CRC error when necessary
2016-06-07 17:59:23 -05:00
XANTRONIX Development
eb8ac6acb6
Wow, Tiffany, refactoring is like, so crazy sexy cool
2016-06-07 17:05:49 -05:00
XANTRONIX Development
06503a3510
HAHAHA I DON'T FUCKING NEED YOU ANY LONGER
2016-06-06 21:04:19 -05:00
XANTRONIX Development
d5aea747d0
Just a little less nuts
2016-06-06 20:49:43 -05:00
XANTRONIX Development
c18eb40c46
Whoops
2016-06-06 20:46:25 -05:00
XANTRONIX Development
be84cecfeb
I hate overflows as much as the next person
2016-06-06 20:28:19 -05:00
XANTRONIX Development
fc19701ec4
Ask gcc nicely to aggresively remove unwanted functions from output
2016-06-06 19:58:44 -05:00
XANTRONIX Development
319b17c8b2
Who loves refactoring? Xan loves refactoring
2016-06-06 19:42:15 -05:00
XANTRONIX Development
33bf45149e
Prevent packet body overflow
2016-06-06 19:16:05 -05:00
XANTRONIX Development
3fa06b40d7
Ahh that was my problem. At least now we can service inquiries!
2016-06-06 02:04:18 -05:00
XANTRONIX Development
13c1d8d171
whoops
2016-06-06 01:49:19 -05:00
XANTRONIX Development
7059d688ac
A totally not-working WIP
2016-06-06 01:42:17 -05:00
XANTRONIX Development
f8a3cf8d6b
Symmetry is important
2016-06-05 23:52:28 -05:00
XANTRONIX Development
985e556556
Most amusingly I am achieving novel results with this ATmega2560
2016-06-05 22:51:28 -05:00
XANTRONIX Development
3e2a43529a
That comment better belongs in <tabby/avr.h> now
2016-06-05 20:40:56 -05:00
XANTRONIX Development
0a92613528
Because people will nitpick anything
2016-06-05 16:45:04 -05:00
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
XANTRONIX Development
e618aa68cd
Poppin' more cruft out the repo 8)
2016-06-01 20:33:47 -05:00
XANTRONIX Development
21f24e4ea0
whups
2016-06-01 00:03:26 -05:00
XANTRONIX Development
167394aada
Totes unused
2016-05-31 23:53:43 -05:00
XANTRONIX Development
eba12edc65
Cut superfluous code down to the bone
2016-05-31 23:28:55 -05:00
XANTRONIX Development
68852d460b
You know what? This, right here, fucking works
2016-05-31 19:32:20 -05:00
XANTRONIX Development
ee796c04e2
Merge branch 'master' of scm.xan.host:/var/scm/tabby
2016-05-31 18:17:01 -05:00
XANTRONIX Development
12b5aeceeb
Sadly I keep stepping on the UART's dick
2016-05-31 18:15:37 -05:00
XANTRONIX Development
5b8a26aaf9
Whoops, heh I can be dumb
2016-05-30 22:35:58 -05:00
XANTRONIX Development
c867aeee78
Gotta shift that in before the deadline, yo
2016-05-30 22:27:58 -05:00
XANTRONIX Development
c34a79a9fd
like yeah, whatever. a better state machine
2016-05-30 21:53:10 -05:00
XANTRONIX Development
ffa6882870
Semantically this is correct...
2016-05-29 16:32:45 -05:00