Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

New RxDOS memory subsystem source code (Developers)

posted by ecm Homepage E-mail, Düsseldorf, Germany, 16.06.2009, 21:23

> One cannot run this thing, it cannot be assembled

True. Why should you assemble it? (Except for debugging separately from a finished kernel, which won't interest you that much either I think.)

> and it doesn't contain bugs to find.

Feel free to search any.

> good, perhaps this comes in handy in the not so far future,

For example in a DOS kernel..? I fixed the memory management stuff first because the process loading (RxDOSEXE.ASM) relies on it and it isn't that much source.

> but I have doubts, it is GPL, which I prefer to ignore for
> certain reasons.

Because you can't use the source to make money? Although I don't fear to release my own work with a 2-clause BSD-type license (or sometimes as Public Domain), I don't think using the GPL is too egoistic either.

However I'm not that sceptic about giving little hints about the binary's operations to people either. Think of it as technical documentation, which of course is usable for software licensed any way. Just don't copy the provided source code because that's restricted to the GPL.

> But it's a good opportunity to tell once again

You always find a good point, don't you? How optimistic.

> that Nasm's syntax looks
> desperately ugly. I especially hate the absence of ASSUME, OFFSET, ADDR
> and PTR keywords.

Strange that I feel the exact opposite about the absence of these keywords ;-)

I recently re-read a good comparison of assemblers and came to the conclusion that type checking, after all, isn't that bad. But I consider myself advanced enough now to write programs without it (and to find the bugs caused by wrong typed access). Plus MASM's type checking is error-prone by relying on correct ASSUME usage. Type checking of course doesn't force the syntax to include OFFSET and PTR to tell the assembler whether memory is accessed or not. NASM's handling of requiring square braces for all memory access I find much easier to understand.

If you have anything else to complain about my ugly NASM source, don't hesitate ;-)

---
l

 

Complete thread:

Back to the forum
Board view  Mix view
22762 Postings in 2122 Threads, 402 registered users (0 online)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum