Commit Graph

34 Commits

Author SHA1 Message Date
Kartik K. Agaram 7bf8adb893 explicitly pass data disk to main 2021-03-27 17:50:44 -07:00
Kartik K. Agaram 1a43d12b15 explicitly pass screen and keyboard to main 2021-03-26 23:07:35 -07:00
Kartik K. Agaram 9f71d7248c . 2021-03-26 22:32:22 -07:00
Kartik Agaram 5268b0e1df 7691 2021-02-07 09:53:14 -08:00
Kartik Agaram bbcf033aff 7292 - mu.subx: loosen copy-byte checks a bit
Without this there's no way to convert an int to a byte. And that feels
too restrictive, and gives up a lot of safe things one might want to do
with bytes. (Such as divide a number by 10 and emit the remainder as a
byte.)
2020-11-27 22:44:23 -08:00
Kartik Agaram 125bfde435 7286 - mu.subx: isolate bytes from previous values 2020-11-27 00:04:54 -08:00
Kartik Agaram dbb5df2790 7270 2020-11-21 22:04:15 -08:00
Kartik Agaram 1696ed831a 7261 - mu.subx: array bounds-checking done 2020-11-17 18:16:26 -08:00
Kartik Agaram 3d31467c0d 7251 2020-11-16 00:37:37 -08:00
Kartik Agaram 8d2dece291 7250 2020-11-16 00:00:32 -08:00
Kartik Agaram 2715d377b6 7247 2020-11-15 22:54:56 -08:00
Kartik Agaram ccadc6e604 7152 - 'return' instruction
https://github.com/akkartik/mu/issues/45#issuecomment-719990879, task 1.

We don't have checking for it yet. Soon.
2020-11-01 18:02:02 -08:00
Kartik Agaram 48a056b6da 7028 2020-10-14 11:06:25 -07:00
Kartik Agaram 9c810588a1 7027 2020-10-14 10:58:15 -07:00
Kartik Agaram 28274eebc3 7026 2020-10-14 10:52:03 -07:00
Kartik Agaram 0d9e8309da 7024 2020-10-14 10:45:25 -07:00
Kartik Agaram 8350faef52 7023 2020-10-14 09:48:24 -07:00
Kartik Agaram 4d60956b6f 7022 2020-10-14 09:47:05 -07:00
Kartik Agaram f13576b5d2 6957
The final fix to the raytracing program involves rounding modes. It turns
out x86 processors round floats by default, unlike C which has trained
me to expect truncation. Rather than mess with the MXCSR register, I added
another instruction for truncation. Now milestone 3 emits perfectly correct
results.
2020-10-05 10:25:25 -07:00
Kartik Agaram 21ff6d831a 6944 2020-10-04 01:25:02 -07:00
Kartik Agaram faeeef34f5 6941 - detective story for the day 2020-10-03 23:17:17 -07:00
Kartik Agaram b6cf4f1db3 6939 2020-10-03 22:53:05 -07:00
Kartik Agaram 8d32a9aab9 6915 - a new family of Mu branch instructions
The realization of commit 6916 means that we should be using jump-if-addr*
after comparing floats. Which is super ugly. Let's create aliases to them
called jump-if-float*.
2020-09-30 23:46:43 -07:00
Kartik Agaram f334aa73e9 6897 2020-09-29 03:41:05 -07:00
Kartik Agaram 9aea89ba73 6896
Readme-driven development for Mu's floating-point operations.
2020-09-28 22:19:43 -07:00
Kartik Agaram 28b25a4893 6657 2020-07-16 22:34:57 -07:00
Kartik Agaram ab26c894c8 6648 - bit-shift instructions in Mu
I'm not happy with the names.
2020-07-14 21:42:20 -07:00
Kartik Agaram 5e0ae917d0 6645 - heap allocations in Mu
- allocate var
- populate var, n

Both rely on the type of `var` to compute the size of the allocation. No
need to repeat the name of the type like in C, C++ or Java.
2020-07-13 22:21:26 -07:00
Kartik Agaram 6b8a3a94b1 6642 2020-07-12 21:34:04 -07:00
Kartik Agaram 7817fdb29c 6640
Re-sync markdown files with mu-normie fork.
2020-07-12 16:37:58 -07:00
Kartik Agaram 3ae9d0ed54 6621 2020-07-06 11:13:12 -07:00
Kartik Agaram 8620c1edc3 6620 2020-07-06 11:09:02 -07:00
Kartik Agaram 55b9ef9a1f 6619 2020-07-06 11:07:30 -07:00
Kartik Agaram 9a524793ee 6618 - new docs 2020-07-06 01:05:10 -07:00