Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yes, that brings back the memory of working through books by Andre LaMothe and implementing little games in DOS with C and a little bit of Assembler. I believe there was a very primitive graphics library included in Borland C, but it was not that useful for this task.


Andre LaMothe showed me the wonder of alternative graphics memory layout like Mode 13h and Mode Z. Though it confused teenage me at the time why you would have four memory segments each dealing with (offset %4) bytes in a line-oriented graphics buffer, it was magical when it worked and was one of the first times I had to let the code just work and move on.

Double buffering was an understandable neat trick and one that would have taken me a bit longer to discover on my own. He also had a custom controller wired through the printer port and some C+ASM for interfacing with it.

I had three of his books, I think the Black Art book was constantly on my desk in the 90s.

https://archive.org/details/BlackArt3DEBook




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: