Hi!
Well, I made additional test how MS-DOS performs INT21/26 (which fields
fills). I fill 100h bytes by AAh, point to this are by CS and perform
INT21/26. Result:
__O\_/_\_/O__
00 CD 20 AA AA AA 9A F0 FE-1D F0 4F 03 F8 08 AC 13
10 F8
Hi!
config.c
- fix: sysVersion(): VERSION= now works properly by setting version for
INT21/30, not for INT21/3306.
- config now parsed in 5 passes: SWITCHES=/F/N and MENUCOLOR/MENUDEFAULT
parsed before menu, INSTALL/SET after DEVICE (in MS-DOS6 all SET processed
before INSTALL, but this now
Hi!
26-Июн-2004 20:35 [EMAIL PROTECTED] (FreeCOM) wrote to
[EMAIL PROTECTED]:
>> Ie. applications always get reduced (to size of contents) envrionment
>> memory block (notwithstanding /E, which affect only command.com' memory)?
F> Hmm, Arkady, you fixed yourself a bug (or at least complained
Hi!
entry.asm
- fix: was used signed comparision instead unsigned.
int2f.asm
- fixed wrong comment.
--- Begin Message ---
diff -ruNp old/kernel/entry.asm new/kernel/entry.asm
--- old/kernel/entry.asm2004-05-30 12:31:14.0 +
+++ new/kernel/entry.asm2004-06-26 15:22:06.00
Hi!
25-Июн-2004 20:07 [EMAIL PROTECTED] (tom ehlert) wrote to "Arkady V.Belousov"
<[EMAIL PROTECTED]>:
>> BTW, Eric says, that RBIL describes INT2F/122F functions, which (also)
>> sets returned DOS version.
te> INT 2F U - DOS 4.x internal - SET DOS VERSIO
Hi!
25-Июн-2004 20:15 [EMAIL PROTECTED] (tom ehlert) wrote to "Arkady V.Belousov"
<[EMAIL PROTECTED]>:
>> Eric Auer suggests, that VERSION= should change os_setver_m*, not
>> os_m*. What you think? Is there is bug in current FD and Eric's suggestion
>&g
Hi!
25-Июн-2004 20:02 [EMAIL PROTECTED] (tom ehlert) wrote to Eduardo Casino
<[EMAIL PROTECTED]>:
>> + lrc = DosSeek(r.BX, (LONG)ULONG) (r.CX)) << 16) | r.DX), r.BP);
>> + if (lrc == -1)
>> +lrc = DE_INVLDHNDL;
>> + else
>> + {
>> +r.DX = (UWORD)(lrc >> 16)
Hi!
25-Июн-2004 08:42 [EMAIL PROTECTED] (Steffen Kaiser) wrote
to "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]>:
>> Trivial patch. Pass correct values for codepage and country from DOS-38
>> and DOS-65-XX functions to MUX-14 functions.
SK> I would actually suggest the following function, as searchPacka
Hi!
BTW, Eric says, that RBIL describes INT2F/122F functions, which (also)
sets returned DOS version. Currently FD not implements this functio (says
error for it on screen), but implements (similar) INT21/33FC. Should I
_re_define INT21/33FC as INT2F/122F?
Hi!
24-Июн-2004 18:35 [EMAIL PROTECTED] (tom ehlert) wrote to "Arkady V.Belousov"
<[EMAIL PROTECTED]>:
>> MS-DEBUG doesn't runs from FD because "Incorrect DOS version". Setting
>> required through VERSION= doesn't helps. Analyzing of inthndlr
Hi!
Eric Auer suggests, that VERSION= should change os_setver_m*, not
os_m*. What you think? Is there is bug in current FD and Eric's suggestion
is patch for this?
---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend
Hi!
24-Июн-2004 19:36 Arkady V.Belousov wrote to
[EMAIL PROTECTED]:
AVB> My near TODO is to:
AVB> - detect redefinition of env variables (and replace definition).
AVB> - add environment before each INSTALL=.
BTW, forget to mention. Some years ago I report about BUG in
ChildEnv
Hi!
MS-DEBUG doesn't runs from FD because "Incorrect DOS version". Setting
required through VERSION= doesn't helps. Analyzing of inthndlr.c shows, that
os_major and os_minor returned only through INT21/3306, for INT21/30 used
os_setver_*. Is this bug (in config.c:sysVersion(), which not sets
Hi!
23-Июн-2004 20:13 [EMAIL PROTECTED] (tom ehlert) wrote to
[EMAIL PROTECTED]:
te> I'M HIGHLY DISAPPOINTED TO FIND THAT SOME FORMERLY
te> WORKING CODE DOESN'T WORK ANYMORE;
?! All work, (now) I test code before reporting.
te> I'M IN PARTICULAR DISAPPOINTED AS
te> THIS CODE WAS ONLY CHANG
Hi!
New fixes fot config.c:
- config now parsed in 5 passes: SWITCHES=/F/N and MENUCOLOR/MENUDEFAULT
parsed before menu, INSTALL and SET after DEVICE.
Lucho tests kernel with all my patches and says that he satisfied. Updated
romd-bin.rar kernel package available on his site.
Hi!
More additions for config.c. Menu handling now smarter:
- source: (Bernd) the codepage table rewritten into a smaller layout.
- bugfix: (Bernd, Aitor) country ID for Spain set to 34 (instead 33).
- fix: ClearScreen(): screen width at 0:44A is a word, not byte.
- config now parsed in 4
Hi!
I want just inform about progress so far with config.c. Below shown
only noticeable changes/fixes, internal changes/optimizations (like using
`enum' values for `UmbState') here not enumerated. Also, here I skip long
list of umb_init() fixes, which affect low probable (but possible!) event
Hi!
Wow, I fix the bug with destroyed MCB chain, if (Q/MS)EMM386 joins
segment A000 to base memory. Result:
SegmentSize Owner Type / source
--- - - -
1.00k INT vectors table
0040 256BIOS data area
Hi!
- small sys.c optimizations.
--- Begin Message ---
diff -ruNp old/boot/boot.asm new/boot/boot.asm
--- old/boot/boot.asm 2004-01-25 16:40:18.0 +
+++ new/boot/boot.asm 2004-06-20 10:07:36.0 +
@@ -64,6 +64,7 @@ Entry: jmp short real_start
; bp is
Hi!
19-Июн-2004 15:41 [EMAIL PROTECTED] (Kenneth J. Davis) wrote to
[EMAIL PROTECTED]:
>> I may send you my edition of config.c (private, I suggest?), but it not
KJD> please do
Done. See archive with config.c, portab.h (from which used new macro)
and makefiles (which also pass for comp
Hi!
18-Июн-2004 18:27 [EMAIL PROTECTED] (Kenneth J. Davis) wrote to
[EMAIL PROTECTED]:
>> KJD> provided I will work on the config processing.
>> I not send any patch here. Reason: there too many changes - so, I
>> should send one _big_ patch or send _many_ smaller patches. I fear, this is
>>
Hi!
As I analyze, current FreeDOS should work incorrectly when I=A000-...
for EMM386.EXE is used. Unfortunately, I can't test this with QEMM and
MS-EMM - they append A000-... area to base memory (by adjusting "top memory"
BIOS variable) and this forces broken chain in FreeDOS (as I predict th
Hi!
18-Июн-2004 03:12 [EMAIL PROTECTED] (Kenneth J. Davis) wrote to
[EMAIL PROTECTED]:
KJD> I have gone through Arkady's floppy patchset (is there a 5 of 5?).
There was 4 of 5. Last patch I omit, because it was cosmetic. Ot the
other side, you may get complete floppy.asm patch ("all in one"
Hi!
Next portion of patches for config.c (in my local tree):
- bugfix: umb_init(): there was no checks if size of captured block is less
than 2 paragraphs.
- bugfix: umb_init(): when joining adjacent blocks, umb_base_seg, umb_start
and umb_max was not adjusted if they are equal to next j
Hi!
2Michael Devore: Michael, try to initialize UMB blocks, returned to
EMM386 caller (DOS in case of with DOS=UMB), by 'M' letter - after this
FreeDOS should allocate UMB memory incorrectly (because prev_mcb() in
umb_init() will walk after latest previously allocated block). (To be
precise,
Hi!
Currently config.c collects all INSTALL= commands at third pass
DoConfig(2) (when DEVICE= statements processed) into global table and
process collected statements through DoInstall():
FreeDOSmain()
+- init_kernel()
| +- PreConfig()
| +- DoConfig(0)
| +- DoConfig(1)
| +- PreConfig2()
Hi!
2Bart: Bart, you misinform me. Hexadecimal literals are `unsigned'
_only_ if `int' is not enough to present the value. Carefull reread of
original (in English) book of Stroustrup confirms this (in Russian edition
there is mistype). This issue is noted by Joergen Ibsen, for him this one
ti
Hi!
Well, I currently work on config.c. I not finish it yet (for example,
menuing code should be fixed), but below list of noticeable changes and
fixes, which I already done:
- fix: GetStringArg() was uses scan(), which skips some nonwhitspaces;
instead it, introduced scanword() and scanpa
Hi!
13-Июн-2004 19:39 [EMAIL PROTECTED] (Bernd Blaauw) wrote to
[EMAIL PROTECTED]:
BB> Eric and I have been working a few hours on a patch to correct the
BB> ask-user-to-execute-config.sys-line algorythm.
BB> essentially (config.c, line 806 I think):
BB>/* !device= never ask / device?= always
Hi!
I send to Matija the kernel image, which printf() values, used to
computing LBA_address, but:
__O\_/_\_/O__
I've tested it, unfortunately it does not spit out more info:
after listing PKZIP settings ("...DOS verify is off.") it sa
Hi!
After all bugfixes and optimizations in previous letters kernel
reduced:
_DATA segment increased from 27e to 29e (32 bytes);
CONST segment reduced from 336 to 30a (44 bytes);
HMA_TEXT reduced from a365 to a266 (255 bytes).
---
This
Hi!
LBA_Transfer cleanup and optimization:
- many variables (like `ret') moved deeply (by adding curly braces) - for
BC this noticeably decreases stack usage.
- LBA_Transfer() now converts error code through dskerr() by itself;
.ddt_offset field added to LBA_address also inside LBA_Transfer()
Hi!
blockio():
- small code cleanup and optimization.
- many variables (like `ret') moved deeply (by adding curly braces) - for
BC this noticeably decreases stack usage.
--- Begin Message ---
diff -ruNp old/kernel/dsk.c new/kernel/dsk.c
--- old/kernel/dsk.c2004-06-11 04:24:14.0 +00
Hi!
Genblkdev():
- small code cleanup and optimization.
- many variables (like `ret') moved deeply (by adding curly braces) - for
BC this noticeably decreases stack usage.
--- Begin Message ---
diff -ruNp old/kernel/dsk.c new/kernel/dsk.c
--- old/kernel/dsk.c2004-06-11 04:03:14.0 +0
Hi!
Optimization for getbpb():
- small source cleanup (expressions simplified, extraneous casts removed).
- many variables (like `ret') moved deeply (by adding curly braces) - for
BC this noticeably decreases stack usage.
- getbpb(): removed extraneous stack variable; instead (x+y-1)/y for roun
Hi!
- bugfix: Genblkdev():
- formatting loop (0x42 function) rewritten: instead formating many tracks,
was formated one track many times (because afentry.head++ outside loop);
- now checked "afentry.track >= pddt->ddt_ncyl" (instead ">");
- now gbfv_spcfunbit cleared at ;
- not fixed:
Hi!
- bugfix: blk_driver(): should be checked ">= NENTRY", not "> NENTRY".
- blk_error() removed, consequent dispatch[] entries contains NULL and they
checked by blk_driver() before calling getddt() and dispatch[] item.
--- Begin Message ---
diff -ruNp old/kernel/dsk.c new/kernel/dsk.c
--- old/
Hi!
- removed remained excerpt from history.txt at the end.
- removed all references to PROTO macro name.
--- Begin Message ---
diff -ruNp old/kernel/dsk.c new/kernel/dsk.c
--- old/kernel/dsk.c2004-06-11 02:33:00.0 +
+++ new/kernel/dsk.c2004-06-11 02:55:18.0 +
@@ -
Hi!
- small code cleanup and optimization for diskchange(), mediachk(),
blk_Media(), bldbpb(), IoctlQueblk() and dskerr().
--- Begin Message ---
diff -ruNp old/kernel/dsk.c new/kernel/dsk.c
--- old/kernel/dsk.c2004-06-11 03:15:38.0 +
+++ new/kernel/dsk.c2004-06-11 03:25:56.0
Hi!
- getddt(0) and tmark are now macros.
- (proposed by Lucho) play_dj() now says same words as MS-DOS.
--- Begin Message ---
diff -ruNp old/kernel/dsk.c new/kernel/dsk.c
--- old/kernel/dsk.c2004-05-29 02:51:30.0 +
+++ new/kernel/dsk.c2004-06-11 02:33:00.0 +
@@ -9
Hi!
- bugfix: Getlogdev(): in case of no DF_CURLOG flag is set, in rp->r_unit
now returned last+1 (equal to blk_dev.dh_name[0]) unit (was last+2).
- Setlogdev(): added comment about undocumented behavior.
--- Begin Message ---
diff -ruNp old/kernel/dsk.c new/kernel/dsk.c
--- old/kernel/dsk.c
Hi!
I send to Matija testing kernel, but, while I not receive results, let
me discuss possible reason to errors.
__O\_/_\_/O__
STATIC COUNT Genblockio(ddt * pddt, UWORD mode, WORD head, WORD track,
WORD sector, WORD cou
Hi!
9-Июн-2004 22:13 [EMAIL PROTECTED] (Eric Auer) wrote to
[EMAIL PROTECTED]:
EA> http://www.coli.uni-sb.de/~eric/stuff/soft/fdapm-16apr2004.zip
I test it. APMOFF, APMBIOS, INFO, STATS and STANDBY doesn't work (no
APM). About flushing cache in standby don't know. SUSPEND stops my hardisk.
Hi!
9-Июн-2004 23:26 [EMAIL PROTECTED] (Aitor Santamar?a Merino) wrote to
[EMAIL PROTECTED]:
>> MS-DOS is a 16-bit OS.
ASM> io.sys and msdos.sys are 16-bit, emm386.exe is 32-bit.
But emm386 is not part of kernel.
>> Ok, let suggest, some demo-maker makes demo, which will depends fr
Hi!
init-mod.h
- cleaned prototype for function from intr.asm.
- init_fatal() described (for Watcom) as non-returned functions.
proto.h
- fatal() and panic() described (for Watcom) as non-returned functions;
this improves code generation.
- cleaned prototypes for functions from intr.asm.
- re
Hi!
9-Июн-2004 22:13 [EMAIL PROTECTED] (Eric Auer) wrote to
[EMAIL PROTECTED]:
>> ...and? What next? Assign C: and D: for those additional drives? All
>> other (non-adjacent to A: and B:) drive letters will mislead users.
EA> No. Users with three floppy drives are users of computers where ot
Hi!
9-Июн-2004 20:19 [EMAIL PROTECTED] (Eric Auer) wrote to
[EMAIL PROTECTED]:
>> EA> About bug 1789, kernel confused by PKZIP-builtin format command
>> Which URL?
EA> http://www.freedos.org/bugs/bugzilla/show_bug.cgi?id=1789
Ok, I see. May you extract for me precise URL of attachment
Салям!
9-Июн-2004 16:17 [EMAIL PROTECTED] (Alain) wrote to
[EMAIL PROTECTED]:
(Clear high parts of 32bit regs...)
How this relates to DOS?
>>> MS DOS basically had no 386 stuff at all (except EMM386). In FreeDOS,
>>> Lawrence comments that this only affected an old version of the GRDB d
Hi!
9-Июн-2004 20:19 [EMAIL PROTECTED] (Eric Auer) wrote to
[EMAIL PROTECTED]:
>> (Clear high parts of 32bit regs...)
>> How this relates to DOS?
EA> MS DOS basically had no 386 stuff at all (except EMM386). In FreeDOS,
EA> however, people run 386 aware programs more often. Those leave non-zero
E
Hi!
9-Июн-2004 03:27 [EMAIL PROTECTED] (Eric Auer) wrote to
[EMAIL PROTECTED]:
EA> The bug submitter for "clear high parts of 32 bit registers on exec"
EA> claims to have experienced actual problems because of one program leaving
EA> values in registers and another program assuming those parts to
Hi!
7-Июн-2004 04:48 [EMAIL PROTECTED] (Eric Auer) wrote to
[EMAIL PROTECTED]:
>> EA> * 698 floppy change / floppy DMA boundary check should be moved from
>> EA> "int" 25/26 to the int 13 handler.
>> Hm. Probably I not very understand this request, but FreeDOS does all
>> DMA checks in dsk
Hi!
Part four, changed only comments, code unchanged.
- fixed wrong comments, more and better comments.
--- Begin Message ---
diff -ruNp old/drivers/floppy.asm new/drivers/floppy.asm
--- old/drivers/floppy.asm 2004-06-08 20:35:36.0 +
+++ new/drivers/floppy.asm 2004-06-08 21
Hi!
Because some peoples complain that my patches too big, I split patch
for floppy.asm by some consequtive part. Part one:
- bugfix: when fl_lba_ReadWrite() converted to ASMPASCAL (and `ret' replaced
by `ret 8'), "ret_AH" was remained as label for this tail (whereas other
functions use
Hi!
Part three:
- small code clean and tune.
--- Begin Message ---
diff -ruNp old/drivers/floppy.asm new/drivers/floppy.asm
--- old/drivers/floppy.asm 2004-06-08 20:10:34.0 +
+++ new/drivers/floppy.asm 2004-06-08 20:35:36.0 +
@@ -54,7 +54,7 @@ FL_RESET:
; int A
Hi!
Part 2:
- prototypes fixed and syncronized with dsk.c.
Note: I plan in the future join fl_read, fl_write, fl_verify and fl_format
into one function (similar to fl_lba_ReadWrite), consequently, I place those
prototypes near.
--- Begin Message ---
diff -ruNp old/drivers/floppy.asm new/drivers
Hi!
- prototypes fixed and syncronized with dsk.c.
- more and better comments.
- bugfix: when fl_lba_ReadWrite() converted to ASMPASCAL (and `ret' replaced
by `ret 8'), "ret_AH" was remained as label for this tail (whereas other
functions use plain `ret'); now ret_AH moved into another functio
Hi!
In main.c:init_device() driver counted as system console if its
attribute word contains only ATTR_CONIN bit. Isn't there should be both
ATTR_CONIN and ATTR_CONOUT bits set? Also, what prevents for one device be
both system console and clock driver? Also, ATTR_CONIN bit checked without
ATT
Hi!
7-Июн-2004 19:32 [EMAIL PROTECTED] (tom ehlert) wrote to "Arkady V.Belousov"
<[EMAIL PROTECTED]>:
>> I found another bug:
>> - when fl_lba_ReadWrite() converted to ASMPASCAL (and `ret' replaced by `ret
>> 8'), "ret_AH" remai
Hi!
I found another bug:
- when fl_lba_ReadWrite() converted to ASMPASCAL (and `ret' replaced by `ret
8'), "ret_AH" remains as label for this tail (whereas other functions use
plain `ret').
---
This SF.Net email is sponsored by the
Hi!
6-Июн-2004 00:47 [EMAIL PROTECTED] (Eric Auer) wrote to
[EMAIL PROTECTED]:
EA> * 698 floppy change / floppy DMA boundary check should be moved from
EA> "int" 25/26 to the int 13 handler. This is also needed for later when
EA> we want Win 3.1x /3 compatibility. Please comment on how hard i
Hi!
5-Июн-2004 11:22 [EMAIL PROTECTED] (Kenneth J. Davis) wrote to
[EMAIL PROTECTED]:
>>> Well, looks like Bart is gone. Who now will manage the kernel
>>> (reconcile patches, update CVS, release intermediate snapshots)? For
[...]
KJD> If there are no objections, then about once a week I wil
Hi!
4-Июн-2004 19:10 [EMAIL PROTECTED] (Alain) wrote to
[EMAIL PROTECTED]:
A> Could we ask Lucho to come back? He has helped a lot in the past.
A> those that have hes address could write him...
He wrote, that he not wish to make his email public again, and that he
not wish to manage the ker
Hi!
Well, looks like Bart is gone. Who now will manage the kernel
(reconcile patches, update CVS, release intermediate snapshots)? For
example, my current todo contains at least 6 bugfixes for dsk.c, and 2 which
I don't know how to handle. Beside this, there optimized out some hundreths
of by
Hi!
Old funny bug, which I report some times: INT21/440D, command 42h
(format tracks), bit 1 in gbfv_spcfunbit is set (format multiple tracks):
this subfunction is not supported (currently this function will always
format many times only one track). Reason: afentry.head++ in Genblkdev()
place
Hi!
- small source cleanup (expressions simplified, extraneous casts removed).
- removed all references to PROTO macro name.
- removed remained excerpt from history.txt at the end.
- bugfix: getlogdev(): in case of no DF_CURLOG flag is set, in rp->r_unit
now returned last+1 (equal to blk_dev.dh_
Hi!
- small source cleanup (expressions simplified, extraneous casts removed).
- removed all references to PROTO macro name.
- removed remained excerpt from history.txt at the end.
- bugfix: getlogdev(): in case of no DF_CURLOG flag is set, in rp->r_unit
now returned last+1 (equal to blk_dev.dh_
Hi!
2-Июн-2004 07:47 Arkady V.Belousov wrote to
[EMAIL PROTECTED]:
AVB> Subject: [Freedos-kernel] (no subject)
This was should be "patch: ioctl.c".
AVB> (replaces previous patch)
AVB> - 3 nested switch splitted into 2 switch (1st prepares parameters for
AVB> 2
Hi!
intr.asm
- wrong prototypes fixed and syncronized with *.h headers.
- small code cleanup (removed jumps) and optimizations, more comments.
--- Begin Message ---
diff -ruNp old/kernel/intr.asm new/kernel/intr.asm
--- old/kernel/intr.asm 2004-05-23 13:02:00.0 +
+++ new/kernel/intr.a
Hi!
(replaces previous patch)
- 3 nested switch splitted into 2 switch (1st prepares parameters for
2nd, which calls execrh()).
- device attribute word checked through table lookup.
- CharReqHdr.r_command computed through table lookup.
- removed all goto, except one.
Result:
DGROUP increased f
Hi!
DosDevIOctl() returns on SUCCESS for AL=9
(INT21/4409). RBIL says nothing about AX on return. Same for AL=0xA (there
returned AX=0). Why? If there are some reasons, these reasons should be
commented (especially for strange value S_DONE|S_BUSY).
---
--- Begin Message ---
diff -ruNp 0TXTOLD/docs/history.txt 0TXTNEW/docs/history.txt
--- 0TXTOLD/docs/history.txt2004-05-30 13:56:58.0 +
+++ 0TXTNEW/docs/history.txt2004-05-31 23:47:36.0 +
@@ -24,11 +24,10 @@
* time.h, fatfs.c: converted TM_ENCODE into a functi
patch: ioctl.c
Hi!
- 3 nested switches splitted by two separate swicth: one prepares parameters
(attr, flags), other calls execrh().
- CharReqHdr.r_command computed through table lookup.
- remained only one goto.
Result:
DGROUP increased from 1646h to 1658h (18 bytes),
TGROUP decreased from de6
Hi!
- bugfix: NetDelay and NetRetry are UWORD, not UBYTE values.
- small source cleanup.
--- Begin Message ---
diff -ruNp old/kernel/globals.h new/kernel/globals.h
--- old/kernel/globals.h2004-05-23 08:10:16.0 +
+++ new/kernel/globals.h2004-05-31 21:13:38.0 +00
Hi!
- code optimization: was forgotten to place lr.AL= after CritErrCode=.
- source cleanup: not all zeros was replaced by SUCCESS.
- shorten expressions and code: inline MK_FP instead defining extra
variable. There are already present similar inlinings: for example, see
ps_stack initializatio
Hi!
- code optimization.
--- Begin Message ---
diff -ruNp old/kernel/dsk.c new/kernel/dsk.c
--- old/kernel/dsk.c2004-05-29 02:51:30.0 +
+++ new/kernel/dsk.c2004-05-31 06:07:48.0 +
@@ -92,7 +92,7 @@ extern struct DynS ASM Dyn;
/*TE - array access functions */
ddt
Hi!
- removed extraneous variable assignment; code optimization.
--- Begin Message ---
diff -ruNp old/kernel/break.c new/kernel/break.c
--- old/kernel/break.c 2004-04-14 08:40:36.0 +
+++ new/kernel/break.c 2004-04-24 11:55:44.0 +
@@ -53,13 +53,13 @@ unsigned char ctrl_br
Hi!
- optimize for .callerARG1.
--- Begin Message ---
diff -ruNp old/kernel/inthndlr.c new/kernel/inthndlr.c
--- old/kernel/inthndlr.c 2004-05-31 07:29:14.0 +
+++ new/kernel/inthndlr.c 2004-05-31 07:36:16.0 +
@@ -1642,7 +1642,7 @@ struct int2f12regs {
UWORD
Hi!
- bugfix for INT21/3301: MS-DOS clears high buts of DL.
--- Begin Message ---
diff -ruNp old/kernel/inthndlr.c new/kernel/inthndlr.c
--- old/kernel/inthndlr.c 2004-05-28 12:08:32.0 +
+++ new/kernel/inthndlr.c 2004-05-31 07:29:14.0 +
@@ -78,14 +78,14 @@ VOID
Hi!
30-Май-2004 09:24 Arkady V.Belousov wrote to
[EMAIL PROTECTED]:
>>> No, all right: r_catfun is a xreg.x and r_cat is a xreg.h. Mistake is
>>> in my comment: I was should say "difference is that r_cat comes _after_
>>> r_fun to make consistent with CX&q
Hi!
30-Май-2004 20:56 [EMAIL PROTECTED] (Bart Oldeman) wrote to
[EMAIL PROTECTED]:
> +++ history.txt 30 May 2004 20:56:29 - 1.78
> + * inithma.c: moved fmemcmp's into a checkHMA function.
"... into EnabledA20() function."
> + * inithma.c: HMAFree == 0xfff0 - bytesToA
Hi!
29-Май-2004 12:30 [EMAIL PROTECTED] (Bart Oldeman) wrote to
[EMAIL PROTECTED]:
>> No, all right: r_catfun is a xreg.x and r_cat is a xreg.h. Mistake is
>> in my comment: I was should say "difference is that r_cat comes _after_
>> r_fun to make consistent with CX".
BO> No, it can't be. Se
Hi!
30-Май-2004 19:31 [EMAIL PROTECTED] (Bart Oldeman) wrote to
[EMAIL PROTECTED]:
> +++ io.asm30 May 2004 19:31:07 - 1.17
> +%include "stacks.inc"
> +++ nlssupt.asm 30 May 2004 19:31:07 - 1.13
> + %include "stacks.inc"
Don't forget to
Hi!
Why DosUmbLink() tries to join free blocks (in low memory) when
uppermem_link switched from 1 to 0 (but not when it switched to 1)? I think,
this is wrong: blocks joining should be performed (by RBIL) only for memory
allocation in DosMemAlloc() and DosMemChange() (realloc).
--
Hi!
24-Май-2004 22:15 [EMAIL PROTECTED] (tom ehlert) wrote to "Arkady V.Belousov"
<[EMAIL PROTECTED]>:
>> In above case at first glance I don't see possibilities to break
>> integrity ([] have top most priority over other operations), but this not
Hi!
24-Май-2004 22:14 [EMAIL PROTECTED] (tom ehlert) wrote to "Arkady V.Belousov"
<[EMAIL PROTECTED]>:
te> the original code reads:
te> if (GetBiosTime() - startTime > (unsigned)timeout * 18)
te>break;
te> and now I want to get an example when this
Hi!
24-Май-2004 18:39 [EMAIL PROTECTED] (Bart Oldeman) wrote to
[EMAIL PROTECTED]:
> +++ config.c 24 May 2004 18:39:49 - 1.87
> UWORD GetBiosKey(int timeout)
> @@ -752,26 +749,19 @@
> + if (timeout >= 0) do
>{
> r.a.x = 0x0100; /* are there keys available ? */
>
Hi!
24-Май-2004 20:16 [EMAIL PROTECTED] (tom ehlert) wrote to "Arkady V.Belousov"
<[EMAIL PROTECTED]>:
>>-#define LENGTH(x) (sizeof(x)/sizeof(x[0]))
>>+#define LENGTH(x) (sizeof (x)/sizeof *(x))
te> (sizeof(x)/sizeof(x[0])) has worked for me for ~20 years now.
t
Hi!
24-Май-2004 21:34 Arkady V.Belousov wrote to
[EMAIL PROTECTED]:
AVB> +++ new/hdr/portab.h 2004-05-24 21:31:58.0 +
AVB> #ifdef I86 /* commandline overflow - removing /DPROTO
AVB> TE */
AVB> #define PROTO
AVB> #endif
BTW,
Hi!
- fixed macros in portab.h: added extra parentesis around parameters;
- removed duplicated macro in exeflat.c.
--- Begin Message ---
diff -ruNp old/hdr/portab.h new/hdr/portab.h
--- old/hdr/portab.h2004-05-09 17:24:02.0 +
+++ new/hdr/portab.h2004-05-24 21:31:58.0 +
Hi!
24-Май-2004 17:33 Arkady V.Belousov wrote to
[EMAIL PROTECTED]:
AVB> - prototypes/comments cleanup.
To be precise: fixed wrong protypes, syncronized with *.h files.
AVB> diff -ruNp old/kernel/intr.asm new/kernel/intr.asm
--
Hi!
24-Май-2004 17:18 Arkady V.Belousov wrote to
[EMAIL PROTECTED]:
AVB> Should be: "if (checkHMA())". To make code more clear (understandable),
AVB> better to name this function as "checkHMApresent()".
Hi!
- code cleanup/optimization, comments added.
--- Begin Message ---
diff -ruNp old/kernel/intr.asm new/kernel/intr.asm
--- old/kernel/intr.asm 2004-05-24 17:29:46.0 +
+++ new/kernel/intr.asm 2004-05-24 17:39:06.0 +
@@ -108,9 +108,8 @@ RES_DOSEXEC:
push ds
Hi!
- prototypes/comments cleanup.
--- Begin Message ---
diff -ruNp old/kernel/intr.asm new/kernel/intr.asm
--- old/kernel/intr.asm 2004-05-23 13:02:00.0 +
+++ new/kernel/intr.asm 2004-05-24 17:29:46.0 +
@@ -94,7 +94,9 @@
segmentHMA_TEXT
-;; COUNT ASMPASCAL res
Hi!
Was:
__O\_/_\_/O__
int EnableHMA(VOID)
[...]
_DisableA20();
#ifdef DEBUG
if (fmemcmp(MK_FP(0x, 0x), MK_FP(0x, 0x0010), 128) != 0)
_
O
Hi!
Bart, what about removing AX=0 in INT21/5E02+?
---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE
Hi!
24-Май-2004 09:34 [EMAIL PROTECTED] (tom ehlert) wrote to "Arkady V.Belousov"
<[EMAIL PROTECTED]>:
>> Ops, mistype. Should be:
te> I HATE 'oops, mistype' style bugs introduced for no purpose into a
te> working kernel.
NiP (Nobody is Perfect
Hi!
23-Май-2004 21:50 [EMAIL PROTECTED] (Bart Oldeman) wrote to
[EMAIL PROTECTED]:
>> /* DELETED (0x5) || EXT_DELETED (0xe5) ? */
>> if ((UBYTE)(name[0] & ~0xE0) == DELETED)
Ops, mistype. Should be:
if ((UBYTE)((0x20 + name[0]) & ~0x20) == DELETED)
^^^
See: for
Hi!
23-Май-2004 18:28 [EMAIL PROTECTED] (Bart Oldeman) wrote to
[EMAIL PROTECTED]:
> +++ fatdir.c 23 May 2004 18:28:18 - 1.47
> STATIC void swap_deleted(char *name)
> {
> + if (name[0] == DELETED || name[0] == EXT_DELETED)
> +name[0] ^= EXT_DELETED - DELETED; /* 0xe0 */
> }
STA
Hi!
23-Май-2004 14:17 [EMAIL PROTECTED] (Bart Oldeman) wrote to
[EMAIL PROTECTED]:
> +++ newstuff.c23 May 2004 14:17:36 - 1.33
> - for (i = 0; i < ppsp->ps_maxfiles; i++)
> -newtab[i] = ppsp->ps_filetab[i];
> -
> - for (; i < nHandles; i++)
> -newtab[i] = 0xff;
> + fme
Hi!
23-Май-2004 14:49 [EMAIL PROTECTED] (Bart Oldeman) wrote to
[EMAIL PROTECTED]:
> Inlined dos_setdta. Various bug fixes and cleanups from Lucho and Arkady.
> +++ inthndlr.c23 May 2004 14:49:10 - 1.80
> - if (r->DL - 1 >= lastdrive || r->DL == 0)
> + if (r->DL > lastd
301 - 400 of 724 matches
Mail list logo