projects
/
dcpu16
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
starting to add timing to vm driver
[dcpu16]
/
hw_lem1802.c
diff --git
a/hw_lem1802.c
b/hw_lem1802.c
index ae0c9dd3ae9b21eede8c12c01c8bd778dd8756cc..92e5149c64d5be7b42489b4f9a371222949b1b5f 100644
(file)
--- a/
hw_lem1802.c
+++ b/
hw_lem1802.c
@@
-17,6
+17,7
@@
#include "chargen-4x8.h"
#include "hw_lem1802.h"
#include "chargen-4x8.h"
#include "hw_lem1802.h"
+#undef DEBUG
#ifdef DEBUG
#define TRACE(...) do { printf("[debug] "); printf(__VA_ARGS__); printf("\n"); } while (0)
#else /* DEBUG */
#ifdef DEBUG
#define TRACE(...) do { printf("[debug] "); printf(__VA_ARGS__); printf("\n"); } while (0)
#else /* DEBUG */
@@
-526,7
+527,7
@@
struct dcpu16_hw *lem1802_new(struct dcpu16 *vm) {
}
((struct lem1802_ *)(hw->data))->refresh_rate = 1666;
}
((struct lem1802_ *)(hw->data))->refresh_rate = 1666;
- ((struct lem1802_ *)(hw->data))->blink_rate =
75
000;
+ ((struct lem1802_ *)(hw->data))->blink_rate =
100
000;
return hw;
}
return hw;
}