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
15108 Postings in 1358 Threads, 247 registered users, 16 users online (1 registered, 15 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum