This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
It threw an exception from hell, | |
You ask me, trace wouldn't tell, | |
I know JS really well, | |
Events are in my way. | |
I trade my sleep for a fix, | |
time and more time trying tricks, | |
I wasn't looking for this, | |
Callbacks are in my way. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Build x64 version with "cl -O2 /fp:fast crash.c" | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <math.h> | |
struct TonalityAnalysis { | |
int count[2]; //< Remove this or change it to multiples of 4 and it works | |
float std[4]; | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rows and column numbers start at the bottom left | |
P0.2: USB pin D+ | |
P0.3: USB pin D- | |
P0.4: USB pin D+ pulldown (used during reset) | |
P2.0: USB pin D- pullup (used during reset) | |
P0.5: switch row 6 drive | |
P0.6: switch row 5 drive | |
P0.7: switch row 4 drive |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
extern char *fw_data; | |
extern int fw_len; | |
// used to hold the RunOnlyOneUpdateTools mutex | |
extern HANDLE dword_458908; | |
// used to hold the first byte pair after the firmware header | |
extern int dword_45868c; |