Commit Graph

10 Commits

Author SHA1 Message Date
Kartik K. Agaram f9f419af71 support checking overflow flag everywhere 2021-05-08 21:49:50 -07:00
Kartik Agaram 73728ec665 7412 - drawing pixels to screen
This works, but colors are unexpected. 0xff isn't white. Lots of colors
are black. Perhaps I need to initialize a palette.
2020-12-26 19:13:23 -08:00
Kartik Agaram 62a3c1b48b 7093 2020-10-24 22:54:22 -07:00
Kartik Agaram 4c3a867bf1 7040 2020-10-15 21:46:51 -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 bb3ce6cdea 6956 2020-10-05 10:16:46 -07:00
Kartik Agaram 15655a1246 6126 - support 8-byte register names
Using these is quite unsafe. But what isn't, here?
2020-03-11 18:16:56 -07:00
Kartik Agaram 5c26afb1de 6088 - start using setCC instructions 2020-03-06 17:42:17 -08:00
Kartik Agaram 924ed08aca 5968 2020-02-01 12:14:20 -08:00
Kartik Agaram aeac1e061d 5966 - document all supported Mu instructions 2020-01-31 18:55:37 -08:00