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 ecm 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
22049 Postings in 2034 Threads, 396 registered users, 263 users online (0 registered, 263 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum