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

Oh yeah I have a vague memory of B000. I was more interested in mode 13 (256 colors 360x200). I think it was starting from A000. I'm proud that I found that address by trial and error. I was able to put pixels on screen using `int 10h` but it wasn't fast enough to render my animations. I read in a translated (into Persian) tech book that there's something called screen memory but no mention of the address itself so I started from 0 and checked all blocks. I knew I didn't need to check every single byte. I was going like 0000, 0100, 0200, ... until I saw a few pixels on screen! Of course after a few crashes.


mode 13h was 320x200 resolution with 256 colors. A000h was the top left pixel.




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

Search: