Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Signed Seeking System Operation - SSSO ? (DOSX)

posted by cm(R) Homepage E-mail, Düsseldorf, Germany, 05.05.2009, 17:52

> preventing stupid apps or compilers to seek below zero, while DOS is too
> stupid too to reject such no-goes

This is not a bug, it's a feature. Seeking "below zero" actually wraps around to a high position, so -1 means 4 GiB less one byte. It's all about "signed" and unsigned values.



Complete thread:

Back to the forum
Board view  Mix view
15296 Postings in 1378 Threads, 254 registered users, 14 users online (0 registered, 14 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum