Commit Graph

158 Commits

Author SHA1 Message Date
Florian Nücke
b00a4bb2c7 Make computer rotatable. 2020-10-25 18:37:52 +01:00
Florian Nücke
7cfe59a4f7 Send singular escape press. 2020-10-20 10:33:40 +02:00
Florian Nücke
c5585d39a3 Constant for ticks per second. 2020-10-20 10:21:11 +02:00
Florian Nücke
8b3f845078 Track elapsed cycles and try to catch up and don't skip some when still running when a tick is called. 2020-10-20 10:20:22 +02:00
Florian Nücke
57c23eac07 Removed broken fix for issue that really came from bad screen positioning. 2020-10-15 13:46:40 +02:00
Florian Nücke
fdafde0c8f Fixed client also responding to status request escape codes. 2020-10-09 12:51:29 +02:00
Florian Nücke
e9bb1e2b8d Cleaned up terminal rendering code, in particular made it more robust when scaled. 2020-10-09 12:07:08 +02:00
Florian Nücke
fb34a90131 Terminal is getting stylish. 2020-10-09 11:24:12 +02:00
Florian Nücke
45293504cf Added support for colors in terminal. 2020-10-09 08:57:33 +02:00
Florian Nücke
74abfb0134 Maybe? 2020-10-09 01:04:54 +02:00
Florian Nücke
728b81aca5 Uhh... ok. This way then maybe? 2020-10-09 00:57:22 +02:00
Florian Nücke
6c7a477285 Fixed dep. 2020-10-09 00:55:50 +02:00
Florian Nücke
32fb4d0560 Bump Ceres version. 2020-10-09 00:54:16 +02:00
Florian Nücke
71d779c85c More control sequences and fixed cursor position reporting. 2020-10-09 00:48:34 +02:00
Florian Nücke
1a09559cda Add support for ctrl+c/d/z. 2020-10-08 21:31:23 +02:00
Florian Nücke
b458f36595 Doesn't make sense for board to have hardcoded device tree address.
Expose method to generate device tree to some address instead.
2020-10-08 18:51:53 +02:00
Florian Nücke
c130828008 Reduce number of packages a bit. 2020-10-05 12:53:49 +02:00
Florian Nücke
063b625c6c Make sure to mark chunk dirty when running to ensure changes get serialized. 2020-10-05 11:56:54 +02:00
Florian Nücke
2fd8ee3815 Delete blob storage when disposing memory in computer block. 2020-10-05 11:40:51 +02:00
Florian Nücke
1a724c355e Made computer block serializable. 2020-10-05 11:27:04 +02:00
Florian Nücke
d8d568daca Added utility class for limiting memory allocated for VMs. 2020-10-05 11:26:38 +02:00
Florian Nücke
5f1a69efc3 Added utility class for storing blob data outside of NBT. 2020-10-05 11:26:09 +02:00
Florian Nücke
2166e3888c Added missing package-infos. 2020-10-05 11:25:44 +02:00
Florian Nücke
5305854b86 Update for new Ceres version. 2020-10-04 12:45:44 +02:00
Florian Nücke
ead10cc155 Make NBTSerialization reuse existing arrays in deserialization. 2020-10-04 02:03:31 +02:00
Florian Nücke
28a945f887 Embed jars of our extra dependencies.
Use Ceres, add NBT serialization format.
Serialize Terminal using Ceres.
2020-10-02 03:37:09 +02:00
Florian Nücke
308a1c5e10 Remove application plugin. 2020-10-02 02:26:14 +02:00
Florian Nücke
0f38d79b51 clazz -> type 2020-10-02 02:24:27 +02:00
Florian Nücke
12a02f71b0 Utility methods for safely applying messages to tile entities.
Expecting to need this a lot.
2020-09-30 13:44:18 +02:00
Florian Nücke
fb281bd5fa Small rename. Check if chunk exists before accessing it on server. 2020-09-30 13:34:37 +02:00
Florian Nücke
9275d9562a Send terminal output to client and input back to server. 2020-09-30 13:27:32 +02:00
Florian Nücke
cd1d06842d Started implementing a computer block as use/test-case for serialization. 2020-09-29 13:01:40 +02:00
Florian Nücke
8a7aabfdad Using sedna-buildroot as source for binaries now.
Moved configs to buildroot repo.
2020-09-28 13:22:46 +02:00
Florian Nücke
ddbfc38a14 Fixed maven url. 2020-09-26 21:45:33 +02:00
Florian Nücke
1dded657c6 Stripped out the vm package because it feels very redundant now. 2020-09-26 21:27:25 +02:00
Florian Nücke
5a8e48022d Pulled emulator into separate project. 2020-09-26 14:45:45 +02:00
Florian Nücke
d68271c99b Fixed bounds check and exception type. 2020-09-26 11:59:35 +02:00
Florian Nücke
452f02e102 Removed alignment asserts (broke tests). Fixed bounds checks in memory classes. 2020-09-26 11:29:57 +02:00
Florian Nücke
641b603c2f Add option for flushing for block devices. 2020-09-26 11:23:44 +02:00
Florian Nücke
1d61793cbb Removed redundant lines from build.gradle and made compile args easier to modify. 2020-09-26 02:57:08 +02:00
Florian Nücke
5d6fab0dac Enforce some sane limits on block device request sizes and throttle throughput. 2020-09-26 02:55:47 +02:00
Florian Nücke
78b853308a Little bit of documentation and dead code removal. 2020-09-26 01:31:06 +02:00
Florian Nücke
9722ae24d1 Make BlockDevices closeable, allows properly closing file based ones. 2020-09-25 20:19:55 +02:00
Florian Nücke
0033140d37 Somehow kernel thought it needed USB and Networking again... removed that. Again. 2020-09-25 17:46:10 +02:00
Florian Nücke
00eb257632 Added buildroot configs. 2020-09-25 17:32:48 +02:00
Florian Nücke
e1a91b0371 Made console device configurable independently from input device. 2020-09-25 17:11:45 +02:00
Florian Nücke
c7990ea8bc Gave up and accepted we need bootargs (for now), so those can be set on board now. 2020-09-25 15:46:03 +02:00
Florian Nücke
b4c8bfcdf9 Catching right error for read-only block devices. 2020-09-25 15:45:10 +02:00
Florian Nücke
380d5669f0 Allow devices to declare supported load/store widths.
Makes us a little less reliant on asserts. Checked in memory map => direct load/store on devices is still unchecked and fast.
2020-09-25 15:22:58 +02:00
Florian Nücke
1528c6ea53 Use constants for clarity. 2020-09-25 14:49:27 +02:00