4 ms·
Does someone know what "mov dl,[fs:46ch]" does? In win32, fs and gs point to some process or thread info blocks, but in DOS? I was never aware of anything regar
by atesti 12y ago
Does someone know what "mov dl,[fs:46ch]" does? In win32, fs and gs point to some process or thread info blocks, but in DOS? I was never aware of anything regarding the fs register and DOS unless a dos extender was run or pmode was entered!
- beagle3 12y agoIf memory serves me right, fs=gs=0 in DOS mode, and 46C is a tick counter of some sort. And on a C64, addresses 53280 and 53281 change text background and border. Don't know why I remember these things.
- wolfgke 12y agofs (and gs) is/are initially set to 0 when a com file gets executed.