XANTRONIX Development
ac3377bed1
Eventually I'll make feeds something you specify at the stop and start of a command invocation or whatever. Man I'm drunk
2016-06-10 03:30:58 +00:00
XANTRONIX Development
7445683997
I fookin' forgot! Fookin' prawns
2016-06-10 03:25:22 +00:00
XANTRONIX Development
6ba12e1f38
I'm a fookin' NINJA
2016-06-10 03:21:20 +00:00
XANTRONIX Development
fdd550844b
That's just way more expedient
2016-06-08 19:44:13 -05:00
XANTRONIX Development
629f3e0049
Gank retry mechanism; instead, if sending sheet fails, initialize printer and start over
2016-06-07 18:09:29 -05:00
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
4ca1444747
HOLY SHIT YES
2016-06-05 22:54:31 -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
a2cb39f782
Until I refactor tabby_printer_send_page() to be nicer, this'll do
2016-06-05 17:37:34 -05:00
XANTRONIX Development
663b11e37d
Now I realize fully that this is hacky as hell, but it does result in the (painfully slow) printing of full 160x144 images
2016-06-05 17:24:25 -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
fbb785945b
Still no closer to a solution :(
2016-06-05 02:39:06 -05:00
XANTRONIX Development
70f1fc349e
Implement retry mechanism
2016-06-05 02:26:15 -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
6dd486d5f3
Implement stuff to print like, a thing
2016-06-04 20:33:10 -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
a069adb1df
I CAN DO THAT BY HAND BOYEEEEE
2016-06-03 23:01:22 -05:00
XANTRONIX Development
aab50cbbbd
Guess that's nice
2016-06-03 22:54:08 -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
e8cfe8e77a
Go down to 38400 baud for stability
2016-06-02 22:54:35 -05:00
XANTRONIX Development
a48298e08f
Implement tabby_printer_link_init()
2016-06-02 22:54:07 -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
d4e60aeace
Little things I forgot
2016-06-02 00:20:53 -05:00
XANTRONIX Development
f62f6ad71a
Got my port directions all bass-ackwards for some stupid reason
2016-06-02 00:14:25 -05:00