Sysop: | Amessyroom |
---|---|
Location: | Fayetteville, NC |
Users: | 43 |
Nodes: | 6 (0 / 6) |
Uptime: | 104:15:32 |
Calls: | 290 |
Files: | 905 |
Messages: | 76,612 |
Some progress...
Earlier this year I spent some time porting Quake 2 to my MRISC32 based computer. It required some refactoring since Quake 2 used a modular
rendering and game logic system based on dynamically loaded libraries
(DLLs). My computer isn't that fancy, so I had to get everything
statically linked into a single executable ELF32 binary (and the
Quake 2 source code didn't support that at all).
My patched source code: https://gitlab.com/mbitsnbites/mc1-quake2
When I finally got a working build, it only worked in my simulator but
not on my FPGA board, so I dropped the effort.
Yesterday, however, I went and bumped my GNU toolchain to GCC 15.x and
fixed a few bugs in my MRISC32 back end, and lo and behold, the binary actually started working on the FPGA (not sure if it was a compiler bug
or if it's a CPU implementation bug that got hidden by the compiler
update).
Video: https://vimeo.com/1039476687
It's not much (about 10 FPS at 320x180 resolution), but at least it's progress.
/Marcus