Hi!
19-Июл-2004 22:42 [EMAIL PROTECTED] (tom ehlert) wrote to "Arkady V.Belousov"
<[EMAIL PROTECTED]>:
BB>>> replace "readable" by "understandable for inexperienced C programmers"
>> Unimportant.
te> here I have to agree - kernel programming is nothing for inexperienced
te> programmers, and will never be.
I mean not this, I mean, that "in given case is unimportant how to
understand readable - by experienced or not programmers".
>> Note: this is myth.
te> well - my private email archives show that 'arkadifying code' is used as
te> synonym for 'hardly understandable cryptic stuff' - both incoming and
te> outgoing.
te> SOMETIMES this may be useful - and we used it: the kernel's memory
te> model is probably beyond most peoples understanding
te> using it ALL the time is nonsense.
:( Say me, where below is 'hardly understandable cryptic stuff'?
______________O\_/_________________________________\_/O______________
enum { UMB_NONE, /* do nothing */
UMB_DONE, /* UMB initialized */
UMB_REQ, /* DOS=UMB detected */
};
static UBYTE HMAState BSS_INIT(HMA_NONE);
static UBYTE UmbState BSS_INIT(UMB_NONE);
[...]
/* fill HMA with buffers if BUFFERS count >=0 and DOS in HMA */
if (wantedbuffers < 0)
wantedbuffers = -wantedbuffers;
else if (HMAState == HMA_DONE)
buffers = (0xfff0 - HMAFree) / sizeof(struct buffer);
_____________________________________________________________________
O/~\ /~\O
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_idG21&alloc_id040&op=click
_______________________________________________
Freedos-kernel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-kernel