News for hackers. Stuff that matters.
Re:A 28-byte “hello, world” program assembled with DEBUG.EXE... by 4m1rk on Monday October 31, 2022 @12:10AM (#33401955)
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.
Re:A 28-byte “hello, world” program assembled with DEBUG.EXE... by aricz on Monday October 31, 2022 @03:12AM (#33402836)
mode 13h was 320x200 resolution with 256 colors. A000h was the top left pixel.