Commit Graph

8373 Commits

Author SHA1 Message Date
Kartik K. Agaram 5e484fb2d5 . 2021-05-16 08:05:26 -07:00
Kartik K. Agaram 19525867ad . 2021-05-16 07:52:49 -07:00
Kartik K. Agaram 10760a5fe4 . 2021-05-16 07:39:06 -07:00
Kartik K. Agaram 33b099a70c . 2021-05-16 07:23:43 -07:00
Kartik K. Agaram 2ab8747b4a Bresenham's algorithm for bezier curves 2021-05-16 07:23:43 -07:00
Kartik K. Agaram f2b5b5081f reimplement Bresenham circle in Mu 2021-05-15 20:14:20 -07:00
Kartik K. Agaram 74151efc04 reimplement Bresenham line in Mu 2021-05-15 19:49:52 -07:00
Kartik K. Agaram c4475d83b7 shell: roll back a change to the 'when' macro
Introduced in commit 1adc904ef3 from a week ago, but it turns out brcircle
has been consistently broken ever since.
2021-05-15 12:43:35 -07:00
Kartik K. Agaram c26aef11b7 grow a few buffers until shell/ loads 2021-05-15 07:49:12 -07:00
Kartik K. Agaram a577c7fcb0 . 2021-05-15 00:16:04 -07:00
Kartik K. Agaram 0e9503d739 print call stack on all low-level errors 2021-05-15 00:15:24 -07:00
Kartik K. Agaram 2d4fb39dac print call stack on abort 2021-05-15 00:09:38 -07:00
Kartik K. Agaram 858fe603a5 look up debug info from call stack on abort 2021-05-14 23:28:44 -07:00
Kartik K. Agaram eede9e222f . 2021-05-14 23:15:46 -07:00
Kartik K. Agaram eb26052b91 parse debug info on abort 2021-05-14 22:42:55 -07:00
Kartik K. Agaram 7bad89bdf9 free up '_' for top-level SubX functions 2021-05-14 22:36:38 -07:00
Kartik K. Agaram 56c9248109 load debug info from disk on abort 2021-05-14 21:51:47 -07:00
Kartik K. Agaram 7205c2465f fixup! load debug info into code disk 2021-05-14 21:29:42 -07:00
Kartik K. Agaram 73744d098c dump addresses of call stack on abort 2021-05-14 20:52:27 -07:00
Kartik K. Agaram a3f5da0333 . 2021-05-14 20:29:22 -07:00
Kartik K. Agaram adc92f49dc .
Move abort to SubX. We'll need to do some unsafe stuff to display the call
stack here.
2021-05-14 15:40:49 -07:00
Kartik K. Agaram 69e477b12b load debug info into code disk 2021-05-14 12:56:58 -07:00
Kartik K. Agaram ff8ec9bcff insert a compile phase to emit some debug info 2021-05-14 11:54:42 -07:00
Kartik K. Agaram 2df1d1a730 . 2021-05-14 09:06:06 -07:00
Kartik K. Agaram 63a9263aff .
Fix a stack bug in survey_baremetal. I'm not sure how my tests weren't
crashing, but I won't bother digging further.
2021-05-14 08:09:04 -07:00
Kartik K. Agaram a42f4613f7 . 2021-05-14 08:05:24 -07:00
Kartik K. Agaram 9b37c03de9 . 2021-05-14 07:59:32 -07:00
Kartik Agaram c7ade29c69 .
Keep the html version of mandelbrot-fixed at the correct monochrome
still image for now. (commit 4bfc80ce)
2021-05-09 23:18:10 -07:00
Kartik K. Agaram 208dab2256 mandelbrot: add some garish color 2021-05-09 22:14:42 -07:00
Kartik K. Agaram cf8ccb0a09 similarly zoom into fixed and fp mandelbrot 2021-05-09 22:00:40 -07:00
Kartik K. Agaram 0b56b7b4d9 mandelbrot-fixed: introduce some viewport parameters 2021-05-09 21:01:16 -07:00
Kartik K. Agaram 4bfc80ce9a bugfix in mandelbrot-fixed
Thanks to comparing regular ints with fixed-point ints, I was computing
iterations for many screenfuls of pixels to the right of the current one.
(Y-axis behaved similarly, but there it was just doing other work instead
of busy-looping forever. If you don't have anything else to do, it doesn't
matter what you do.)
2021-05-09 17:40:14 -07:00
Kartik K. Agaram cd6412129f .
Yet another step in the slow divergence of survey_baremetal from its survey_elf
roots.
2021-05-09 13:21:08 -07:00
Kartik Agaram 1b9ddcefb9 . 2021-05-09 12:59:48 -07:00
Kartik Agaram 96b6d623a6 . 2021-05-09 09:46:46 -07:00
Kartik Agaram d91595e31c . 2021-05-09 09:40:26 -07:00
Kartik Agaram 0bcdd074a8 . 2021-05-09 08:39:30 -07:00
Kartik Agaram 2e6065717d . 2021-05-09 08:36:37 -07:00
Kartik Agaram 9ad9bf96bb mandelbrot: streamline exposition 2021-05-09 08:15:59 -07:00
Kartik Agaram b1eeb62123 . 2021-05-09 07:45:04 -07:00
Kartik Agaram 46f7e4fff3 . 2021-05-08 23:53:28 -07:00
Kartik K. Agaram b94e1fec30 mandelbrot set in fixed-point 2021-05-08 23:46:36 -07:00
Kartik K. Agaram 14b7162bd6 . 2021-05-08 22:24:33 -07:00
Kartik K. Agaram f9f419af71 support checking overflow flag everywhere 2021-05-08 21:49:50 -07:00
Kartik K. Agaram df68e6eddc . 2021-05-08 15:46:26 -07:00
Kartik K. Agaram 1b769b4b68 initial, monochrome mandelbrot set 2021-05-08 10:11:37 -07:00
Kartik K. Agaram 183010779c A 'bowboard', a chessboard of rainbow circles
Compare with (chessboard screen 256)
2021-05-08 08:33:22 -07:00
Kartik K. Agaram 665b1e8f07 a full-circle rainbow 2021-05-08 07:58:56 -07:00
Kartik K. Agaram 1adc904ef3 new shell macro: do 2021-05-07 21:13:24 -07:00
Kartik K. Agaram 888b4cd8ea always check for null in 'index' instructions 2021-05-07 21:04:45 -07:00