Post AR6vYPInwkIrZBpTAe by ddipaola@cybre.space
(DIR) More posts by ddipaola@cybre.space
(DIR) Post #AR6vYHUuxpEtMRR1wO by ddipaola@cybre.space
2020-01-17T19:48:45Z
0 likes, 0 repeats
Needs moar triangle
(DIR) Post #AR6vYIXR5wqcaXcYVM by ddipaola@cybre.space
2020-01-17T20:00:06Z
0 likes, 0 repeats
I'm throwing together a simple software-based 3D renderer (flat shading, affine texture mapping) and got triangles working with a little benchmark.The #LDKGame , running my relatively unoptimized code, can already draw ~1500 smol triangles in <16ms (60fps). I may not need to write any asm to get good enough performance for a simple game.Next up: remembering how perspectivization works and trying to avoid linear algebra :thonking:
(DIR) Post #AR6vYJNXyCX1CA0AjI by ddipaola@cybre.space
2020-01-17T20:00:38Z
0 likes, 0 repeats
Hopefully this renderer can be used for #DirtOS too
(DIR) Post #AR6vYKxO6QnM5bmJEW by ddipaola@cybre.space
2021-09-16T14:02:31Z
0 likes, 0 repeats
The #DirtOS 3D renderer reference implementation is slowly truckin' along.Basic rendering with lighting and model loading is completed but it looks like I'll need to change the renderer to handle strip-style vertexes.
(DIR) Post #AR6vYNkNjFAqk8iSsS by ddipaola@cybre.space
2022-08-31T04:24:31Z
0 likes, 0 repeats
I got back to working on running code on hardware and got a very rudimentary "monitor" program running.#DirtOS #OSDev
(DIR) Post #AR6vYOl7xxMfsk4Zg8 by ddipaola@cybre.space
2022-08-31T04:28:32Z
0 likes, 0 repeats
I've been working on bootstrapping ARMv8 like I did with ARMv7 but with the ability to run each program on real hardware.I'm hoping that if I make sure each incremental program works on real hardware, I won't have to debug as many strange problems compared to if I took a bunch of code that seemed to work in qemu and attempted to run it on hardware blind. Especially because qemu is not particularly accurate.
(DIR) Post #AR6vYPInwkIrZBpTAe by ddipaola@cybre.space
2022-09-02T22:09:15Z
0 likes, 0 repeats
The loader works!I also made the project public: https://gitlab.com/DavidDiPaola/armv8_bootstrap#DirtOS #OSDev
(DIR) Post #AR6vYPtJkzVhOQud5E by ddipaola@cybre.space
2022-09-05T23:48:09Z
0 likes, 0 repeats
Awwww yeeee, basic system call stuff works now.And the polling-based timer code seems to work too.#OSDev #DirtOS
(DIR) Post #AR6vYQQdl6AJ3mVF1U by 0xdd@tech.lgbt
2022-12-29T20:58:32Z
1 likes, 0 repeats
I decided to wrap up my ARMv8 bootstrap project and get (back) to working directly on #DirtOShttps://gitlab.com/DavidDiPaola/armv8_bootstrap#RaspberryPi #BareMetal #OSDev
(DIR) Post #AR6vYaMOpiiNrWaznk by ddipaola@cybre.space
2021-09-16T14:05:34Z
0 likes, 0 repeats
My ultimate goal is to finish this pure C implementation and then profile its execution on different hardware to see where the big performance hits are. Once that's completed, the slow code can be rewritten in SIMD and/or ASM code and tested for correctness against the pure C implementation via qemu's userspace CPU emulation.