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.

---
l

 

Complete thread:

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