Binary files OLD/source/ker2014/bin/kernel.sys and NEW/source/ker2014/bin/kernel.sys differ diff -bBdNrw -U5 OLD/source/ker2014/bin/sys.log NEW/source/ker2014/bin/sys.log --- OLD/source/ker2014/bin/sys.log Fri Sep 17 00:49:12 1999 +++ NEW/source/ker2014/bin/sys.log Thu Sep 16 03:34:04 1999 @@ -1,7 +1,7 @@ Old Boot Sector: -000 EB 4C 90 29 53 29 4B 31 49 48 43 00 02 01 01 00 .L.)S)K1IHC..... +000 EB 4C 90 29 35 44 62 3A 49 48 43 00 02 01 01 00 .L.)5Db:IHC..... 010 02 E0 00 40 0B F0 09 00 12 00 02 00 00 00 00 00 ...@............ 020 00 00 00 00 00 00 29 E5 11 6F 0A 46 52 45 45 44 ......)..o.FREED 030 4F 53 20 20 20 20 46 41 54 31 32 20 20 20 60 00 OS FAT12 `. 040 0E 00 01 00 00 00 13 00 00 00 21 00 00 00 FA FC ..........!..... 050 8C C8 8E D0 8E D8 BD 00 7C 8D 66 E0 FB CD 12 B1 ........|.f..... @@ -38,11 +38,11 @@ FAT starts at sector 1 = (0 + 1) Root directory starts at sector 19 = (PREVIOUS + 9 * 2) DATA starts at sector 33 = (PREVIOUS + 14) New Boot Sector: -000 EB 4C 90 00 00 00 00 00 00 00 00 00 02 01 01 00 .L.)S)K1IHC..... +000 EB 4C 90 00 00 00 00 00 00 00 00 00 02 01 01 00 .L.)5Db:IHC..... 010 02 E0 00 40 0B F0 09 00 12 00 02 00 00 00 00 00 ...@............ 020 00 00 00 00 00 00 29 E5 11 6F 0A 46 52 45 45 44 ......)..o.FREED 030 4F 53 20 20 20 20 46 41 54 31 32 20 20 20 60 00 OS FAT12 `. 040 0E 00 01 00 00 00 13 00 00 00 21 00 00 00 FA FC ..........!..... 050 8C C8 8E D0 8E D8 BD 00 7C 8D 66 E0 FB CD 12 B1 ........|.f..... Binary files OLD/source/ker2014/boot/b_fat12.bin and NEW/source/ker2014/boot/b_fat12.bin differ Binary files OLD/source/ker2014/boot/b_fat16.bin and NEW/source/ker2014/boot/b_fat16.bin differ diff -bBdNrw -U5 OLD/source/ker2014/docs/history.txt NEW/source/ker2014/docs/history.txt --- OLD/source/ker2014/docs/history.txt Tue Sep 14 12:35:42 1999 +++ NEW/source/ker2014/docs/history.txt Fri Sep 17 06:11:58 1999 @@ -1,5 +1,11 @@ +1999 Sep 16 - Build 2015 + -------- James Tabor (jimtabor@infohwy.com) +*Added Networking and Server Call +*Added Dos Idle call +*fixed Console.asm ConInStat + 1999 Sep 13 - Build 2014 -------- John Price (linux-guru@gcfl.net) * Deleted some file from the drivers directory that were not being used. * Changed the LIB.MAK file so it would work for TC2 or TC3 or higher. Binary files OLD/source/ker2014/drivers/device.lib and NEW/source/ker2014/drivers/device.lib differ diff -bBdNrw -U5 OLD/source/ker2014/kernel/chario.c NEW/source/ker2014/kernel/chario.c --- OLD/source/ker2014/kernel/chario.c Tue Sep 14 12:35:42 1999 +++ NEW/source/ker2014/kernel/chario.c Fri Sep 17 05:05:16 1999 @@ -166,15 +166,29 @@ sto(BS); sto(' '); sto(BS); } + +VOID Do_DosIdle_loop(void) +{ + FOREVER{ + if(StdinBusy()) + return; + else + { + DosIdle_int(); + continue; + } + } +} + + UCOUNT _sti(void) { static COUNT scratch; UBYTE c; - /* * XXX: If there's a read error, this will just keep retrying the read until * the error disappears. Maybe it should do something else instead. -- ror4 */ while (GenericRead(STDIN, 1, (BYTE FAR *)&c, (COUNT FAR *)&scratch, TRUE) @@ -271,10 +285,13 @@ return; if (kp->kb_size <= kp->kb_count || kp->kb_buf[kp->kb_count] != CR) kp->kb_count = 0; FOREVER { + + Do_DosIdle_loop(); + switch (c = _sti()) { case CTL_C: handle_break(); case CTL_F: diff -bBdNrw -U5 OLD/source/ker2014/kernel/console.asm NEW/source/ker2014/kernel/console.asm --- OLD/source/ker2014/kernel/console.asm Tue Sep 14 12:35:42 1999 +++ NEW/source/ker2014/kernel/console.asm Fri Sep 17 06:00:44 1999 @@ -233,10 +233,25 @@ mov al,[cs:uScanCode] ; Test for last scan code or al,al ; Was it zero ? jnz ConCharReady ; Jump if there's a char waiting mov ah,1 int 16h ; get status, if zf=0 al=char - jz ConCharReady ; Jump if zero - jmp _IODone ; no key ready (busy=1) + jz ConNoChar ; Jump if zero + + or ax,ax ; Zero ? + jnz ConIS1 ; Jump if not zero + int 16h ; get status, if zf=0 al=char + jmp short ConInStat + +ConIS1: + cmp ax,PRT_SCREEN ; Was print screen key pressed? + jne ConIS2 ; Jump if not + mov al,CTL_P + +ConIS2: + lds bx,[_ReqPktPtr] ; Set the status + mov [bx+0Dh],al ConCharReady: - jmp _IOExit ; key ready (busy=0) + jmp _IODone ; key ready (busy=1) +ConNoChar: + jmp _IOExit ; no key ready (busy=0) diff -bBdNrw -U5 OLD/source/ker2014/kernel/dosidle.asm NEW/source/ker2014/kernel/dosidle.asm --- OLD/source/ker2014/kernel/dosidle.asm Thu Jan 1 00:00:00 1970 +++ NEW/source/ker2014/kernel/dosidle.asm Fri Sep 17 05:05:52 1999 @@ -0,0 +1,110 @@ +; File: +; DosIdle.asm +; Description: +; Dos Idle Interrupt Call +; +; DOS-C +; Copyright (c) 1995, 1999 +; Pasquale J. Villani +; All Rights Reserved +; +; Copyright (c) 1995, 1999 +; James Tabor +; All Rights Reserved +; +; This file is part of DOS-C. +; +; DOS-C is free software; you can redistribute it and/or +; modify it under the terms of the GNU General Public License +; as published by the Free Software Foundation; either version +; 2, or (at your option) any later version. +; +; DOS-C is distributed in the hope that it will be useful, but +; WITHOUT ANY WARRANTY; without even the implied warranty of +; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See +; the GNU General Public License for more details. +; +; You should have received a copy of the GNU General Public +; License along with DOS-C; see the file COPYING. If not, +; write to the Free Software Foundation, 675 Mass Ave, +; Cambridge, MA 02139, USA. +; +; + %include "segs.inc" + +PSP_USERSP equ 2eh +PSP_USERSS equ 30h + +segment _TEXT + + global _DosIdle_int + + + extern _InDOS:wrt DGROUP + extern _cu_psp:wrt DGROUP + extern _MachineId:wrt DGROUP + extern critical_sp:wrt DGROUP + extern _lpUserStack:wrt DGROUP + extern _user_r:wrt DGROUP + extern _api_sp:wrt DGROUP ; api stacks - for context + extern _api_ss:wrt DGROUP ; switching + extern _usr_sp:wrt DGROUP ; user stacks + extern _usr_ss:wrt DGROUP + extern _dosidle_flag:wrt DGROUP +; +; +_DosIdle_int: + push ds + push ax + mov ax,DGROUP + mov ds,ax + pop ax + cmp byte [_dosidle_flag],0 + jnz DosId1 + call Do_DosI +DosId1: + pop ds + retn + +Do_DosI: + inc byte [_dosidle_flag] + push ax + push es + push word [_MachineId] + push word [_user_r] + push word [_user_r+2] + push word [_lpUserStack] + push word [_lpUserStack+2] + push word [_api_sp] + push word [_api_ss] + push word [_usr_sp] + push word [_usr_ss] + mov es,word [_cu_psp] + push word [es:PSP_USERSS] + push word [es:PSP_USERSP] + + int 28h + + pop word [es:PSP_USERSP] + pop word [es:PSP_USERSS] + mov word [_cu_psp],es + pop word [_usr_ss] + pop word [_usr_sp] + pop word [_api_ss] + pop word [_api_sp] + pop word [_lpUserStack+2] + pop word [_lpUserStack] + pop word [_user_r+2] + pop word [_user_r] + pop word [_MachineId] + pop es + pop ax + dec byte [_dosidle_flag] + ret + + + + + + + diff -bBdNrw -U5 OLD/source/ker2014/kernel/entry.asm NEW/source/ker2014/kernel/entry.asm --- OLD/source/ker2014/kernel/entry.asm Tue Sep 14 12:35:42 1999 +++ NEW/source/ker2014/kernel/entry.asm Fri Sep 17 04:17:06 1999 @@ -78,10 +78,14 @@ extern _usr_sp:wrt DGROUP ; user stacks extern _usr_ss:wrt DGROUP extern int21regs_seg:wrt DGROUP extern int21regs_off:wrt DGROUP + extern _dosidle_flag:wrt DGROUP + extern _Int21AX:wrt DGROUP + + global _cpm_entry global _int20_handler global _int21_handler global _low_int25_handler global _low_int26_handler @@ -225,11 +229,12 @@ ; AH. The next is the error stack determined by _ErrorMode. ; Then there's the character stack also determined by system ; call number. Finally, all others run on the disk stack. ; They are evaluated in that order. -int21_reentry: cmp ah,33h +int21_reentry: + cmp ah,33h je int21_user cmp ah,50h je int21_user cmp ah,51h je int21_user @@ -257,21 +262,30 @@ jmp short int21_exit int21_2: inc byte [_InDOS] cmp ah,0ch jg int21_3 +; +; Make FreeDOS better than the others! +; + cmp byte [_dosidle_flag],0 + jne int21_user + mov bp,ds mov ss,bp mov bp,_char_api_tos mov sp,bp cli push word [_user_r+2] push word [_user_r] call _int21_syscall jmp short int21_exit -int21_3: mov bp,ds +int21_3: + call dos_crit_sect + + mov bp,ds mov ss,bp mov bp,_disk_api_tos mov sp,bp cli ; @@ -297,12 +311,21 @@ ; ; ... and return. ; iret - - +; +; end Dos Critical Section 0 thur 7 +; +; +dos_crit_sect: + mov [_Int21AX],ax ; needed! + push ax ; This must be here!!! + mov ah,82h ; re-enrty sake before disk stack + int 2ah ; Calling Server Hook! + pop ax + ret ; ; Terminate the current process ; ; VOID INRPT far diff -bBdNrw -U5 OLD/source/ker2014/kernel/globals.h NEW/source/ker2014/kernel/globals.h --- OLD/source/ker2014/kernel/globals.h Tue Sep 14 12:35:42 1999 +++ NEW/source/ker2014/kernel/globals.h Fri Sep 17 00:20:08 1999 @@ -388,10 +388,15 @@ /* Globally referenced variables - WARNING: ORDER IS DEFINED IN */ /* KERNAL.ASM AND MUST NOT BE CHANGED. DO NOT CHANGE ORDER BECAUSE THEY */ /* ARE DOCUMENTED AS UNDOCUMENTED (?) AND HAVE MANY PROGRAMS AND TSR'S */ /* ACCESSING THEM */ + +extern UWORD NetBios; +extern BYTE * net_name; +extern BYTE net_set_count; + extern UWORD first_mcb; /* Start of user memory */ extern struct dpb FAR *DPBp; /* First drive Parameter Block */ extern sfttbl diff -bBdNrw -U5 OLD/source/ker2014/kernel/inthndlr.c NEW/source/ker2014/kernel/inthndlr.c --- OLD/source/ker2014/kernel/inthndlr.c Tue Sep 14 12:35:42 1999 +++ NEW/source/ker2014/kernel/inthndlr.c Fri Sep 17 06:03:20 1999 @@ -319,10 +319,11 @@ break; #endif /* Read Keyboard with Echo */ case 0x01: + Do_DosIdle_loop(); r->AL = _sti(); sto(r->AL); break; /* Display Character */ @@ -362,10 +363,11 @@ /* Direct Console Input */ case 0x07: /* Read Keyboard Without Echo */ case 0x08: + Do_DosIdle_loop(); r->AL = _sti(); break; /* Display String */ case 0x09: @@ -1303,10 +1305,28 @@ default: goto error_invalid; } break; + case 0xd5e: + switch (r->AL) + { + case 0x00: + r->CX = get_machine_name(MK_FP(r->DS, r->DX)); + break; + + case 0x01: + set_machine_name(MK_FP(r->DS, r->DX), r->CX); + break; + + default: + goto error_invalid; + } + break; + + + case 0x60: /* TRUENAME */ if ((rc = truename(MK_FP(r->DS, r->SI), adjust_far(MK_FP(r->ES, r->DI)))) != SUCCESS) goto error_exit; else @@ -1592,10 +1612,14 @@ r->flags &= ~FLG_CARRY; --InDOS; } VOID INRPT FAR int28_handler(void) +{ +} + +VOID INRPT FAR int2a_handler(void) { } VOID INRPT FAR empty_handler(void) { diff -bBdNrw -U5 OLD/source/ker2014/kernel/kernel.asm NEW/source/ker2014/kernel/kernel.asm --- OLD/source/ker2014/kernel/kernel.asm Tue Sep 14 12:35:42 1999 +++ NEW/source/ker2014/kernel/kernel.asm Fri Sep 17 01:20:12 1999 @@ -212,10 +212,18 @@ dos_data db 0 dw kernel_start db 0 ; padding dw 1 ; Hardcoded MS-DOS 4.0+ style + times (0eh - ($ - DATASTART)) db 0 + global _NetBios +_NetBios db 0 ; NetBios Number + global _Num_Name +_Num_Name db 0 + + + times (26h - 0ch - ($ - DATASTART)) db 0 ; Globally referenced variables - WARNING: DO NOT CHANGE ORDER ; BECAUSE THEY ARE DOCUMENTED AS UNDOCUMENTED (?) AND HAVE ; MANY MULTIPLEX PROGRAMS AND TSR'S ACCESSING THEM @@ -324,14 +332,14 @@ ; open/close for block devices ; disabled ; FF = sharing module loaded, ; open/close for block devices ; enabled (not implemented) - global net_set_count -net_set_count db 1 ;-28 - count the name below was set - global net_name -net_name db ' ' ;-27 - 15 Character Network Name + global _net_set_count +_net_set_count db 1 ;-28 - count the name below was set + global _net_name +_net_name db ' ' ;-27 - 15 Character Network Name db 00 ; Terminating 0 byte ; ; Variables contained the the "STATE_DATA" segment contain @@ -411,11 +419,12 @@ ; force rebuild on first clock read global _DayOfWeek _DayOfWeek db 2 ; 36 - day of week global _Year _Year dw 1980 ; 37 - year - db 0 ; 39 - unknown + global _dosidle_flag +_dosidle_flag db 0 ; 39 - unknown *no more* global _CharReqHdr _CharReqHdr: global _ClkReqHdr _ClkReqHdr times 30 db 0 ; 3A - Device driver request header dd 0 ; 58 - pointer to driver entry Binary files OLD/source/ker2014/kernel/kernel.exe and NEW/source/ker2014/kernel/kernel.exe differ diff -bBdNrw -U5 OLD/source/ker2014/kernel/kernel.mak NEW/source/ker2014/kernel/kernel.mak --- OLD/source/ker2014/kernel/kernel.mak Tue Sep 14 12:35:42 1999 +++ NEW/source/ker2014/kernel/kernel.mak Fri Sep 17 04:19:32 1999 @@ -121,10 +121,11 @@ blockio.obj \ break.obj \ chario.obj \ config.obj \ console.obj \ + dosidle.obj \ dosfns.obj \ dosnames.obj \ dsk.obj \ entry.obj \ error.obj \ @@ -142,10 +143,11 @@ kernel.obj \ main.obj \ memmgr.obj \ misc.obj \ newstuff.obj \ + network.obj \ nls.obj \ nlssupt.obj \ prf.obj \ printer.obj \ procsupt.obj \ @@ -181,10 +183,11 @@ $(LIBUTIL) kernel +fattab +fcbfns +initoem +inthndlr +ioctl $(LIBUTIL) kernel +main +config +memmgr +misc +newstuff +nls $(LIBUTIL) kernel +dosnames +prf +strings +sysclk +syspack $(LIBUTIL) kernel +systime +task +int2f +irqstack +apisupt $(LIBUTIL) kernel +asmsupt +execrh +nlssupt +procsupt +break + $(LIBUTIL) kernel +dosidle +network del kernel.bak $(LINK) /m/c/L$(LIBPATH) kernel,kernel,kernel,kernel+$(LIBS); del kernel.lib # *Individual File Dependencies* @@ -212,10 +215,12 @@ nlssupt.obj: nlssupt.asm segs.inc procsupt.obj: procsupt.asm segs.inc $(HDR)stacks.inc +dosidle.obj: dosidle.asm segs.inc + # XXX: Special handling for initialization modules -- this is required because # TC 2.01 cannot handle `#pragma option' like TC 3 can. -- ror4 config.obj: config.c init-mod.h $(HDR)portab.h globals.h \ $(HDR)device.h $(HDR)mcb.h $(HDR)pcb.h $(HDR)date.h $(HDR)time.h \ $(HDR)fat.h $(HDR)fcb.h $(HDR)tail.h $(HDR)process.h $(HDR)dcb.h \ @@ -344,10 +349,17 @@ $(HDR)tail.h $(HDR)process.h $(HDR)dcb.h $(HDR)sft.h $(HDR)cds.h \ $(HDR)exe.h $(HDR)fnode.h $(HDR)dirmatch.h $(HDR)file.h \ $(HDR)clock.h $(HDR)kbd.h $(HDR)error.h $(HDR)version.h proto.h newstuff.obj: newstuff.c $(HDR)portab.h globals.h $(HDR)device.h \ + $(HDR)mcb.h $(HDR)pcb.h $(HDR)date.h $(HDR)time.h $(HDR)fat.h \ + $(HDR)fcb.h $(HDR)tail.h $(HDR)process.h $(HDR)dcb.h $(HDR)sft.h \ + $(HDR)cds.h $(HDR)exe.h $(HDR)fnode.h $(HDR)dirmatch.h \ + $(HDR)file.h $(HDR)clock.h $(HDR)kbd.h $(HDR)error.h \ + $(HDR)version.h proto.h + +network.obj: network.c $(HDR)portab.h globals.h $(HDR)device.h \ $(HDR)mcb.h $(HDR)pcb.h $(HDR)date.h $(HDR)time.h $(HDR)fat.h \ $(HDR)fcb.h $(HDR)tail.h $(HDR)process.h $(HDR)dcb.h $(HDR)sft.h \ $(HDR)cds.h $(HDR)exe.h $(HDR)fnode.h $(HDR)dirmatch.h \ $(HDR)file.h $(HDR)clock.h $(HDR)kbd.h $(HDR)error.h \ $(HDR)version.h proto.h Binary files OLD/source/ker2014/kernel/kernel.sys and NEW/source/ker2014/kernel/kernel.sys differ diff -bBdNrw -U5 OLD/source/ker2014/kernel/main.c NEW/source/ker2014/kernel/main.c --- OLD/source/ker2014/kernel/main.c Tue Sep 14 12:35:42 1999 +++ NEW/source/ker2014/kernel/main.c Thu Sep 16 01:41:36 1999 @@ -185,10 +185,11 @@ setvec(0x24, int24_handler); setvec(0x25, low_int25_handler); setvec(0x26, low_int26_handler); setvec(0x27, int27_handler); setvec(0x28, int28_handler); + setvec(0x2a, int2a_handler); setvec(0x2f, int2f_handler); #endif /* Initialize the screen handler for backspaces */ scr_pos = 0; diff -bBdNrw -U5 OLD/source/ker2014/kernel/network.c NEW/source/ker2014/kernel/network.c --- OLD/source/ker2014/kernel/network.c Thu Jan 1 00:00:00 1970 +++ NEW/source/ker2014/kernel/network.c Fri Sep 17 04:19:50 1999 @@ -0,0 +1,67 @@ +/****************************************************************/ +/* */ +/* network.c */ +/* DOS-C */ +/* */ +/* Networing Support functions */ +/* */ +/* Copyright (c) 1995, 1999 */ +/* Pasquale J. Villani */ +/* All Rights Reserved */ +/* */ +/* Copyright (c) 1995, 1999 */ +/* James Tabor */ +/* All Rights Reserved */ +/* */ +/* This file is part of DOS-C. */ +/* */ +/* DOS-C is free software; you can redistribute it and/or */ +/* modify it under the terms of the GNU General Public License */ +/* as published by the Free Software Foundation; either version */ +/* 2, or (at your option) any later version. */ +/* */ +/* DOS-C is distributed in the hope that it will be useful, but */ +/* WITHOUT ANY WARRANTY; without even the implied warranty of */ +/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See */ +/* the GNU General Public License for more details. */ +/* */ +/* You should have received a copy of the GNU General Public */ +/* License along with DOS-C; see the file COPYING. If not, */ +/* write to the Free Software Foundation, 675 Mass Ave, */ +/* Cambridge, MA 02139, USA. */ +/****************************************************************/ + +#include "portab.h" +#include "globals.h" + + +#ifdef VERSION_STRINGS +static BYTE *RcsId = "$Id: Network.C,v 0.1 1999/09/16 03:18:09 jimtabor Exp $"; +#endif + +/* + * $Log: NETWORK.C,v $ + */ + + +UWORD get_machine_name(BYTE FAR * netname) +{ + BYTE FAR * xn; + + xn = MK_FP(net_name, 0); + fbcopy((BYTE FAR *) netname, xn, 15); + return (NetBios); + +} + +VOID set_machine_name(BYTE FAR * netname, UWORD name_num) +{ + BYTE FAR * xn; + + xn = MK_FP(net_name, 0); + NetBios = name_num; + fbcopy( xn, (BYTE FAR *) netname, 15); + net_set_count++; + +} + diff -bBdNrw -U5 OLD/source/ker2014/kernel/proto.h NEW/source/ker2014/kernel/proto.h --- OLD/source/ker2014/kernel/proto.h Tue Sep 14 12:35:42 1999 +++ NEW/source/ker2014/kernel/proto.h Thu Sep 16 06:39:58 1999 @@ -143,10 +143,11 @@ UCOUNT _sti(void); VOID con_hold(void); BOOL con_break(void); BOOL StdinBusy(void); VOID KbdFlush(void); +VOID Do_DosIdle_loop(void); __FAR_WRAPPER(VOID, sti, (keyboard FAR * kp)) sft FAR *get_sft(COUNT); /* config.c */ @@ -183,10 +184,13 @@ COUNT DosGetFtime(COUNT hndl, date FAR * dp, time FAR * tp); COUNT DosSetFtime(COUNT hndl, date FAR * dp, time FAR * tp); COUNT DosGetFattr(BYTE FAR * name, UWORD FAR * attrp); COUNT DosSetFattr(BYTE FAR * name, UWORD FAR * attrp); +/*dosidle.asm*/ +VOID DosIdle_int(void); + /* dosnames.c */ VOID SpacePad(BYTE *, COUNT); COUNT ParseDosName(BYTE FAR *, COUNT *, BYTE *, BYTE *, BYTE *, BOOL); COUNT ParseDosPath(BYTE FAR *, COUNT *, BYTE *, BYTE *); BOOL IsDevice(BYTE * FileName); @@ -304,10 +308,11 @@ VOID INRPT FAR low_int26_handler(void); VOID int25_handler(); VOID int26_handler(); VOID INRPT FAR int27_handler(int es, int ds, int di, int si, int bp, int sp, int bx, int dx, int cx, int ax, int ip, int cs, int flags); VOID INRPT FAR int28_handler(void); +VOID INRPT FAR int2a_handler(void); VOID INRPT FAR int2f_handler(void); VOID INRPT FAR empty_handler(void); /* ioctl.c */ COUNT DosDevIOctl(iregs FAR * r, COUNT FAR * err); @@ -410,10 +415,15 @@ /* newstuff.c */ int SetJFTSize(UWORD nHandles); int DosMkTmp(BYTE FAR * pathname, UWORD attr); int truename(char FAR * src, char FAR * dest); + +/* network.c */ +UWORD get_machine_name(BYTE FAR * netname); +VOID set_machine_name(BYTE FAR * netname, UWORD name_num); + /* procsupt.asm */ VOID INRPT FAR exec_user(iregs FAR * irp); #define strcpy(d, s) scopy(s, d) Binary files OLD/source/ker2014/lib/device.lib and NEW/source/ker2014/lib/device.lib differ Binary files OLD/source/ker2014/lib/libm.lib and NEW/source/ker2014/lib/libm.lib differ diff -bBdNrw -U5 OLD/source/ker2014/sys/b_fat12.h NEW/source/ker2014/sys/b_fat12.h --- OLD/source/ker2014/sys/b_fat12.h Thu Jan 1 00:00:00 1970 +++ NEW/source/ker2014/sys/b_fat12.h Thu Sep 16 03:32:56 1999 @@ -0,0 +1,66 @@ +unsigned char b_fat12[] = { + 0xEB, 0x4C, 0x90, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFA, 0xFC, + 0x8C, 0xC8, 0x8E, 0xD0, 0x8E, 0xD8, 0xBD, 0x00, + 0x7C, 0x8D, 0x66, 0xE0, 0xFB, 0xCD, 0x12, 0xB1, + 0x06, 0xD3, 0xE0, 0x2D, 0xE0, 0x07, 0x8E, 0xC0, + 0x89, 0xEE, 0x89, 0xEF, 0xB9, 0x00, 0x01, 0xF3, + 0xA5, 0x06, 0xBB, 0x77, 0x7C, 0x53, 0xCB, 0x8E, + 0xD8, 0x8E, 0xD0, 0x88, 0x56, 0x24, 0xE8, 0xDD, + 0x00, 0x4C, 0x6F, 0x61, 0x64, 0x69, 0x6E, 0x67, + 0x20, 0x46, 0x72, 0x65, 0x65, 0x44, 0x4F, 0x53, + 0x2E, 0x2E, 0x2E, 0x0D, 0x0A, 0x52, 0x4F, 0x4F, + 0x54, 0x00, 0x8B, 0x46, 0x46, 0x8B, 0x56, 0x48, + 0x8B, 0x7E, 0x40, 0x31, 0xDB, 0x8E, 0x46, 0x3E, + 0xE8, 0xCF, 0x00, 0x72, 0x38, 0x31, 0xFF, 0xB9, + 0x0B, 0x00, 0xBE, 0xF1, 0x7D, 0x57, 0xF3, 0xA6, + 0x5F, 0x26, 0x8B, 0x45, 0x1A, 0x74, 0x0B, 0x83, + 0xC7, 0x20, 0x26, 0x80, 0x3D, 0x00, 0x75, 0xE7, + 0x72, 0x6F, 0xE8, 0x91, 0x00, 0x20, 0x46, 0x41, + 0x54, 0x00, 0x50, 0x8E, 0x46, 0x3E, 0x31, 0xDB, + 0x8B, 0x7E, 0x16, 0x8B, 0x46, 0x42, 0x8B, 0x56, + 0x44, 0xE8, 0x96, 0x00, 0x58, 0x72, 0x52, 0x1E, + 0x06, 0x1F, 0x07, 0xBF, 0x00, 0x40, 0xAB, 0x89, + 0xC6, 0x01, 0xF6, 0x01, 0xC6, 0xD1, 0xEE, 0xAD, + 0x73, 0x04, 0xB1, 0x04, 0xD3, 0xE8, 0x80, 0xE4, + 0x0F, 0x3D, 0xFF, 0x0F, 0x72, 0xE8, 0x31, 0xC0, + 0xAB, 0x0E, 0x1F, 0xE8, 0x50, 0x00, 0x20, 0x4B, + 0x45, 0x52, 0x4E, 0x45, 0x4C, 0x00, 0x8E, 0x46, + 0x3E, 0x31, 0xDB, 0xBE, 0x00, 0x40, 0xAD, 0x09, + 0xC0, 0x74, 0x29, 0x48, 0x48, 0x8B, 0x7E, 0x0D, + 0x81, 0xE7, 0xFF, 0x00, 0xF7, 0xE7, 0x03, 0x46, + 0x4A, 0x13, 0x56, 0x4C, 0xE8, 0x43, 0x00, 0x73, + 0xE5, 0xE8, 0x22, 0x00, 0x0D, 0x0A, 0x42, 0x4F, + 0x4F, 0x54, 0x20, 0x65, 0x72, 0x72, 0x6F, 0x72, + 0x21, 0x00, 0xEB, 0xFE, 0xE8, 0x0F, 0x00, 0x20, + 0x47, 0x4F, 0x21, 0x0D, 0x0A, 0x00, 0x8A, 0x5E, + 0x24, 0xEA, 0x00, 0x00, 0x60, 0x00, 0x89, 0x76, + 0x03, 0x5E, 0x50, 0x53, 0x57, 0x31, 0xDB, 0xB4, + 0x0E, 0xAC, 0x3C, 0x00, 0x74, 0x04, 0xCD, 0x10, + 0xEB, 0xF7, 0x5F, 0x5B, 0x58, 0x56, 0x8B, 0x76, + 0x03, 0xC3, 0x56, 0x52, 0x50, 0xF7, 0x76, 0x18, + 0x89, 0xD1, 0x31, 0xD2, 0xF7, 0x76, 0x1A, 0x88, + 0xD6, 0xD0, 0xCC, 0xD0, 0xCC, 0x86, 0xC4, 0x8A, + 0x56, 0x18, 0x28, 0xCA, 0xFE, 0xC1, 0x09, 0xC1, + 0x88, 0xD0, 0x52, 0x89, 0xFE, 0x89, 0xD8, 0xF7, + 0xD8, 0x74, 0x0B, 0x31, 0xD2, 0xF7, 0x76, 0x0B, + 0x39, 0xF8, 0x72, 0x02, 0x89, 0xC6, 0x5A, 0x8B, + 0x76, 0x18, 0x46, 0x89, 0xC8, 0x25, 0x3F, 0x00, + 0x29, 0xC6, 0x89, 0xF8, 0x39, 0xFE, 0x7D, 0x02, + 0x89, 0xF0, 0x50, 0xB4, 0x02, 0x8A, 0x56, 0x24, + 0xCD, 0x13, 0x58, 0x73, 0x08, 0x30, 0xE4, 0xCD, + 0x13, 0x58, 0x5A, 0xEB, 0xA6, 0xF7, 0x66, 0x0B, + 0x01, 0xC3, 0x73, 0x07, 0x8C, 0xC0, 0x80, 0xC4, + 0x10, 0x8E, 0xC0, 0x58, 0x5A, 0x01, 0xF0, 0x83, + 0xD2, 0x00, 0x29, 0xF7, 0x7F, 0x8D, 0xF8, 0x5E, + 0xC3, 0x4B, 0x45, 0x52, 0x4E, 0x45, 0x4C, 0x20, + 0x20, 0x53, 0x59, 0x53, 0x00, 0x00, 0x55, 0xAA +}; diff -bBdNrw -U5 OLD/source/ker2014/sys/b_fat16.h NEW/source/ker2014/sys/b_fat16.h --- OLD/source/ker2014/sys/b_fat16.h Thu Jan 1 00:00:00 1970 +++ NEW/source/ker2014/sys/b_fat16.h Thu Sep 16 03:32:56 1999 @@ -0,0 +1,66 @@ +unsigned char b_fat16[] = { + 0xEB, 0x4C, 0x90, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFA, 0xFC, + 0x8C, 0xC8, 0x8E, 0xD0, 0x8E, 0xD8, 0xBD, 0x00, + 0x7C, 0x8D, 0x66, 0xE0, 0xFB, 0xCD, 0x12, 0xB1, + 0x06, 0xD3, 0xE0, 0x2D, 0xE0, 0x07, 0x8E, 0xC0, + 0x89, 0xEE, 0x89, 0xEF, 0xB9, 0x00, 0x01, 0xF3, + 0xA5, 0x06, 0xBB, 0x77, 0x7C, 0x53, 0xCB, 0x8E, + 0xD8, 0x8E, 0xD0, 0x88, 0x56, 0x24, 0xE8, 0xDA, + 0x00, 0x4C, 0x6F, 0x61, 0x64, 0x69, 0x6E, 0x67, + 0x20, 0x46, 0x72, 0x65, 0x65, 0x44, 0x4F, 0x53, + 0x2E, 0x2E, 0x2E, 0x0D, 0x0A, 0x52, 0x4F, 0x4F, + 0x54, 0x00, 0x8B, 0x46, 0x46, 0x8B, 0x56, 0x48, + 0x8B, 0x7E, 0x40, 0x31, 0xDB, 0x8E, 0x46, 0x3E, + 0xE8, 0xCC, 0x00, 0x72, 0x38, 0x31, 0xFF, 0xB9, + 0x0B, 0x00, 0xBE, 0xEE, 0x7D, 0x57, 0xF3, 0xA6, + 0x5F, 0x26, 0x8B, 0x45, 0x1A, 0x74, 0x0B, 0x83, + 0xC7, 0x20, 0x26, 0x80, 0x3D, 0x00, 0x75, 0xE7, + 0x72, 0x6C, 0xE8, 0x8E, 0x00, 0x20, 0x46, 0x41, + 0x54, 0x00, 0x50, 0x8E, 0x46, 0x3E, 0x31, 0xDB, + 0x8B, 0x7E, 0x16, 0x8B, 0x46, 0x42, 0x8B, 0x56, + 0x44, 0xE8, 0x93, 0x00, 0x58, 0x72, 0x4F, 0x1E, + 0x06, 0x1F, 0x07, 0xBF, 0x00, 0x40, 0xAB, 0x89, + 0xC6, 0x8B, 0x56, 0x3E, 0x01, 0xF6, 0x73, 0x03, + 0x80, 0xC6, 0x10, 0x8E, 0xDA, 0xAD, 0x3D, 0xF8, + 0xFF, 0x72, 0xEB, 0x31, 0xC0, 0xAB, 0x0E, 0x1F, + 0xE8, 0x50, 0x00, 0x20, 0x4B, 0x45, 0x52, 0x4E, + 0x45, 0x4C, 0x00, 0x8E, 0x46, 0x3E, 0x31, 0xDB, + 0xBE, 0x00, 0x40, 0xAD, 0x09, 0xC0, 0x74, 0x29, + 0x48, 0x48, 0x8B, 0x7E, 0x0D, 0x81, 0xE7, 0xFF, + 0x00, 0xF7, 0xE7, 0x03, 0x46, 0x4A, 0x13, 0x56, + 0x4C, 0xE8, 0x43, 0x00, 0x73, 0xE5, 0xE8, 0x22, + 0x00, 0x0D, 0x0A, 0x42, 0x4F, 0x4F, 0x54, 0x20, + 0x65, 0x72, 0x72, 0x6F, 0x72, 0x21, 0x00, 0xEB, + 0xFE, 0xE8, 0x0F, 0x00, 0x20, 0x47, 0x4F, 0x21, + 0x0D, 0x0A, 0x00, 0x8A, 0x5E, 0x24, 0xEA, 0x00, + 0x00, 0x60, 0x00, 0x89, 0x76, 0x03, 0x5E, 0x50, + 0x53, 0x57, 0x31, 0xDB, 0xB4, 0x0E, 0xAC, 0x3C, + 0x00, 0x74, 0x04, 0xCD, 0x10, 0xEB, 0xF7, 0x5F, + 0x5B, 0x58, 0x56, 0x8B, 0x76, 0x03, 0xC3, 0x56, + 0x52, 0x50, 0xF7, 0x76, 0x18, 0x89, 0xD1, 0x31, + 0xD2, 0xF7, 0x76, 0x1A, 0x88, 0xD6, 0xD0, 0xCC, + 0xD0, 0xCC, 0x86, 0xC4, 0x8A, 0x56, 0x18, 0x28, + 0xCA, 0xFE, 0xC1, 0x09, 0xC1, 0x88, 0xD0, 0x52, + 0x89, 0xFE, 0x89, 0xD8, 0xF7, 0xD8, 0x74, 0x0B, + 0x31, 0xD2, 0xF7, 0x76, 0x0B, 0x39, 0xF8, 0x72, + 0x02, 0x89, 0xC6, 0x5A, 0x8B, 0x76, 0x18, 0x46, + 0x89, 0xC8, 0x25, 0x3F, 0x00, 0x29, 0xC6, 0x89, + 0xF8, 0x39, 0xFE, 0x7D, 0x02, 0x89, 0xF0, 0x50, + 0xB4, 0x02, 0x8A, 0x56, 0x24, 0xCD, 0x13, 0x58, + 0x73, 0x08, 0x30, 0xE4, 0xCD, 0x13, 0x58, 0x5A, + 0xEB, 0xA6, 0xF7, 0x66, 0x0B, 0x01, 0xC3, 0x73, + 0x07, 0x8C, 0xC0, 0x80, 0xC4, 0x10, 0x8E, 0xC0, + 0x58, 0x5A, 0x01, 0xF0, 0x83, 0xD2, 0x00, 0x29, + 0xF7, 0x7F, 0x8D, 0xF8, 0x5E, 0xC3, 0x4B, 0x45, + 0x52, 0x4E, 0x45, 0x4C, 0x20, 0x20, 0x53, 0x59, + 0x53, 0x00, 0x00, 0x00, 0x00, 0x00, 0x55, 0xAA +}; Binary files OLD/source/ker2014/sys/bin2c.com and NEW/source/ker2014/sys/bin2c.com differ Binary files OLD/source/ker2014/sys/sys.com and NEW/source/ker2014/sys/sys.com differ