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
XANTRONIX Development
4b2ee1ccea
Whoops
2016-05-29 15:29:06 -05:00
XANTRONIX Development
be7b8d0f66
What else could I possibly be missing?
2016-05-29 15:26:06 -05:00
XANTRONIX Development
c66bfade8f
Meh. Cruft.
2016-05-29 01:38:03 -05:00
XANTRONIX Development
3223228e0b
THERE IS NO GOD
2016-05-29 01:12:51 -05:00
XANTRONIX Development
550623ee5d
Nice and TIDY bruh
2016-05-29 01:11:59 -05:00
XANTRONIX Development
c6b5f4fa2f
Don't depend on local avrdude.conf
2016-05-28 19:32:35 -05:00
XANTRONIX Development
a8c1fc27ff
Hardcode for ATmega328p register names in avr/uart.c
2016-05-28 19:22:31 -05:00
XANTRONIX Development
772f2c3d17
{embrace {me}}
2016-05-28 19:22:07 -05:00
XANTRONIX Development
f19b64b982
I totally realize I changed chips midway and hardcoded a lot of crap, what of it?
2016-05-28 19:21:45 -05:00
XANTRONIX Development
d838ee7041
Add 'flash' Makefile rule
2016-05-27 19:33:56 -05:00
XANTRONIX Development
f2e913329b
Well, at least it compiles now!
2016-05-27 15:49:27 -05:00
XANTRONIX Development
c89e14d307
Need those headers
2016-05-27 15:27:46 -05:00
XANTRONIX Development
8d1561bfe3
ALMOST compiling...
2016-05-27 12:23:00 -05:00
XANTRONIX Development
d4dfd3e34e
You know I never actually compiled any of this yet
2016-05-27 01:27:17 -05:00
XANTRONIX Development
8d0dae5d69
Start hammering out the state machine somewhat
2016-05-26 23:58:39 +00:00
XANTRONIX Development
e4ab4045f6
This code is violently stupid, but SOON I will be able to handle incoming packet data
2016-05-25 23:44:21 -05:00