diff --git a/kernel/branches/flat_kernel/blkdev/cd_drv.inc b/kernel/branches/flat_kernel/blkdev/cd_drv.inc index 36b5b5feb1..5eba26bcdc 100644 --- a/kernel/branches/flat_kernel/blkdev/cd_drv.inc +++ b/kernel/branches/flat_kernel/blkdev/cd_drv.inc @@ -1,3 +1,11 @@ +$Revision: 431 $ +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; ;; +;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; +;; Distributed under terms of the GNU General Public License ;; +;; ;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + ;********************************************************** ; Непосредственная работа с устройством СD (ATAPI) ;********************************************************** diff --git a/kernel/branches/flat_kernel/blkdev/cdrom.inc b/kernel/branches/flat_kernel/blkdev/cdrom.inc index 9327544b79..75f6c3c59b 100644 --- a/kernel/branches/flat_kernel/blkdev/cdrom.inc +++ b/kernel/branches/flat_kernel/blkdev/cdrom.inc @@ -1,3 +1,11 @@ +$Revision: 431 $ +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; ;; +;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; +;; Copyright (C) MenuetOS 2000-2004 Ville Mikael Turjanmaa ;; +;; Distributed under terms of the GNU General Public License ;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + sys_cd_audio: cmp word [cdbase],word 0 diff --git a/kernel/branches/flat_kernel/blkdev/fdc.inc b/kernel/branches/flat_kernel/blkdev/fdc.inc index f5e5cf13b0..3544c8d553 100644 --- a/kernel/branches/flat_kernel/blkdev/fdc.inc +++ b/kernel/branches/flat_kernel/blkdev/fdc.inc @@ -1,3 +1,4 @@ +$Revision: 431 $ ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; ;; ;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; diff --git a/kernel/branches/flat_kernel/blkdev/flp_drv.inc b/kernel/branches/flat_kernel/blkdev/flp_drv.inc index cbb661de7a..a2c8a43e63 100644 --- a/kernel/branches/flat_kernel/blkdev/flp_drv.inc +++ b/kernel/branches/flat_kernel/blkdev/flp_drv.inc @@ -1,3 +1,4 @@ +$Revision: 431 $ ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; ;; ;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; diff --git a/kernel/branches/flat_kernel/blkdev/hd_drv.inc b/kernel/branches/flat_kernel/blkdev/hd_drv.inc index c1377ff2ed..3019c6ab45 100755 --- a/kernel/branches/flat_kernel/blkdev/hd_drv.inc +++ b/kernel/branches/flat_kernel/blkdev/hd_drv.inc @@ -1,3 +1,11 @@ +$Revision: 431 $ +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; ;; +;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; +;; Distributed under terms of the GNU General Public License ;; +;; ;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + ; Low-level driver for HDD access ; DMA support by Mario79 diff --git a/kernel/branches/flat_kernel/blkdev/rd.inc b/kernel/branches/flat_kernel/blkdev/rd.inc index 002266508c..a6f7e5ead5 100644 --- a/kernel/branches/flat_kernel/blkdev/rd.inc +++ b/kernel/branches/flat_kernel/blkdev/rd.inc @@ -1,4 +1,4 @@ -$Revision$ +$Revision: 442 $ ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; ;; ;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; @@ -1317,7 +1317,7 @@ fat_next_short_name: .insert_tilde: mov word [edi], '~1' popad -; clc ; CF already cleared + clc ret .tilde: push edi diff --git a/kernel/branches/flat_kernel/blkdev/rdsave.inc b/kernel/branches/flat_kernel/blkdev/rdsave.inc index 6b85a27fe6..243674092d 100644 --- a/kernel/branches/flat_kernel/blkdev/rdsave.inc +++ b/kernel/branches/flat_kernel/blkdev/rdsave.inc @@ -1,3 +1,11 @@ +$Revision: 431 $ +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; ;; +;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; +;; Distributed under terms of the GNU General Public License ;; +;; ;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + iglobal saverd_fileinfo: dd 2 ; subfunction: write diff --git a/kernel/branches/flat_kernel/boot/et.inc b/kernel/branches/flat_kernel/boot/et.inc index f03bc292b6..c4cf3afbc5 100644 --- a/kernel/branches/flat_kernel/boot/et.inc +++ b/kernel/branches/flat_kernel/boot/et.inc @@ -1,3 +1,4 @@ +$Revision: 425 $ ; Full ASCII code font ; only х and д added ; Kaitz diff --git a/kernel/branches/flat_kernel/boot/preboot.inc b/kernel/branches/flat_kernel/boot/preboot.inc index e02ab1d01b..b3a0af23b9 100644 --- a/kernel/branches/flat_kernel/boot/preboot.inc +++ b/kernel/branches/flat_kernel/boot/preboot.inc @@ -1,3 +1,11 @@ +$Revision: 431 $ +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; ;; +;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; +;; Distributed under terms of the GNU General Public License ;; +;; ;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + display_modechg db 0 ; display mode change for text, yes/no (0 or 2) ; ; !! Important note !! diff --git a/kernel/branches/flat_kernel/boot/rdload.inc b/kernel/branches/flat_kernel/boot/rdload.inc index b307382336..4f1501bc59 100644 --- a/kernel/branches/flat_kernel/boot/rdload.inc +++ b/kernel/branches/flat_kernel/boot/rdload.inc @@ -1,3 +1,11 @@ +$Revision: 431 $ +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; ;; +;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; +;; Distributed under terms of the GNU General Public License ;; +;; ;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + ; READ RAMDISK IMAGE FROM HD cmp [boot_dev+OS_BASE+0x10000],1 diff --git a/kernel/branches/flat_kernel/boot/ru.inc b/kernel/branches/flat_kernel/boot/ru.inc index 68ef06107a..430f01ac6e 100644 --- a/kernel/branches/flat_kernel/boot/ru.inc +++ b/kernel/branches/flat_kernel/boot/ru.inc @@ -1,3 +1,4 @@ +$Revision: 425 $ ; Generated by RUFNT.EXE ; By BadBugsKiller (C) ; Modifyed by BadBugsKiller 12.01.2004 17:45 @@ -89,4 +90,4 @@ RU_FNT2: db 0x00, 0x00, 0xCF, 0xCD, 0xEF, 0xEC, 0xFF, 0xDC, 0xDC, 0xCC, 0xCC, 0xCC, 0x00, 0x00, 0x00, 0x00 db 0x00, 0x00, 0x00, 0xC6, 0x7C, 0xC6, 0xC6, 0xC6, 0xC6, 0xC6, 0x7C, 0xC6, 0x00, 0x00, 0x00, 0x00 db 0x00, 0x00, 0x00, 0x00, 0x7E, 0x7E, 0x7E, 0x7E, 0x7E, 0x7E, 0x7E, 0x00, 0x00, 0x00, 0x00, 0x00 - db 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 \ No newline at end of file + db 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 diff --git a/kernel/branches/flat_kernel/boot/shutdown.inc b/kernel/branches/flat_kernel/boot/shutdown.inc index 635661be29..b1eced70d0 100644 --- a/kernel/branches/flat_kernel/boot/shutdown.inc +++ b/kernel/branches/flat_kernel/boot/shutdown.inc @@ -1,11 +1,16 @@ -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; -;; Shutdown for Menuet -;; -;; Distributed under General Public License -;; See file COPYING for details. -;; Copyright 2003 Ville Turjanmaa -;; +$Revision: 431 $ +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; ;; +;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; +;; Distributed under terms of the GNU General Public License ;; +;; ;; +;; Shutdown for Menuet ;; +;; ;; +;; Distributed under General Public License ;; +;; See file COPYING for details. ;; +;; Copyright 2003 Ville Turjanmaa ;; +;; ;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; align 4 pr_mode_exit: @@ -83,6 +88,7 @@ nbw31: cmp al,bl jne nbw sub al,129 + nbw32: dec ax ; 1 = write floppy diff --git a/kernel/branches/flat_kernel/bus/pci/pci16.inc b/kernel/branches/flat_kernel/bus/pci/pci16.inc index c229148529..9e75653c9f 100644 --- a/kernel/branches/flat_kernel/bus/pci/pci16.inc +++ b/kernel/branches/flat_kernel/bus/pci/pci16.inc @@ -1,5 +1,9 @@ -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +$Revision: 431 $ +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; ;; +;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; +;; Distributed under terms of the GNU General Public License ;; +;; ;; ;; PCI16.INC ;; ;; ;; ;; 16 bit PCI driver code ;; @@ -10,7 +14,7 @@ ;; ;; ;; See file COPYING for details ;; ;; ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; init_pci_16: @@ -43,4 +47,4 @@ pci16skip: mov ax,0x1000 mov es,ax - popad \ No newline at end of file + popad diff --git a/kernel/branches/flat_kernel/bus/pci/pci32.inc b/kernel/branches/flat_kernel/bus/pci/pci32.inc index a968b3fbd5..1fda49f0aa 100644 --- a/kernel/branches/flat_kernel/bus/pci/pci32.inc +++ b/kernel/branches/flat_kernel/bus/pci/pci32.inc @@ -1,5 +1,10 @@ -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +$Revision: 431 $ +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; ;; +;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; +;; Distributed under terms of the GNU General Public License ;; +;; ;; +;; ;; ;; PCI32.INC ;; ;; ;; ;; 32 bit PCI driver code ;; @@ -13,7 +18,7 @@ ;; ;; ;; See file COPYING for details ;; ;; ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;*************************************************************************** diff --git a/kernel/branches/flat_kernel/const.inc b/kernel/branches/flat_kernel/const.inc index f7aab4c2a1..f5e8567316 100644 --- a/kernel/branches/flat_kernel/const.inc +++ b/kernel/branches/flat_kernel/const.inc @@ -1,4 +1,10 @@ - +$Revision: 434 $ +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; ;; +;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; +;; Distributed under terms of the GNU General Public License ;; +;; ;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; drw0 equ 10010010b ; data read/write dpl0 drw3 equ 11110010b ; data read/write dpl3 diff --git a/kernel/branches/flat_kernel/core/debug.inc b/kernel/branches/flat_kernel/core/debug.inc index cd51d5eb83..08563abb68 100644 --- a/kernel/branches/flat_kernel/core/debug.inc +++ b/kernel/branches/flat_kernel/core/debug.inc @@ -1,3 +1,11 @@ +$Revision: 431 $ +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; ;; +;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; +;; Distributed under terms of the GNU General Public License ;; +;; ;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + ; diamond, 2006 sys_debug_services: cmp eax, 9 diff --git a/kernel/branches/flat_kernel/core/dll.inc b/kernel/branches/flat_kernel/core/dll.inc index 632669e595..4016a681dc 100644 --- a/kernel/branches/flat_kernel/core/dll.inc +++ b/kernel/branches/flat_kernel/core/dll.inc @@ -1,3 +1,10 @@ +$Revision: 431 $ +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; ;; +;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; +;; Distributed under terms of the GNU General Public License ;; +;; ;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; DRV_COMPAT equ 4 ;minimal required drivers version DRV_CURRENT equ 4 ;current drivers model version diff --git a/kernel/branches/flat_kernel/core/exports.inc b/kernel/branches/flat_kernel/core/exports.inc index e8afc0da34..922203bdaa 100644 --- a/kernel/branches/flat_kernel/core/exports.inc +++ b/kernel/branches/flat_kernel/core/exports.inc @@ -1,3 +1,10 @@ +$Revision: 431 $ +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; ;; +;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; +;; Distributed under terms of the GNU General Public License ;; +;; ;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; iglobal szKernel db 'KERNEL', 0 diff --git a/kernel/branches/flat_kernel/core/fpu.inc b/kernel/branches/flat_kernel/core/fpu.inc index a3da0e1c07..8bfb90d58e 100644 --- a/kernel/branches/flat_kernel/core/fpu.inc +++ b/kernel/branches/flat_kernel/core/fpu.inc @@ -1,3 +1,4 @@ +$Revision: 435 $ ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; ;; ;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; diff --git a/kernel/branches/flat_kernel/core/heap.inc b/kernel/branches/flat_kernel/core/heap.inc index 89f40196b5..35f0339620 100644 --- a/kernel/branches/flat_kernel/core/heap.inc +++ b/kernel/branches/flat_kernel/core/heap.inc @@ -1,3 +1,10 @@ +$Revision: 431 $ +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; ;; +;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; +;; Distributed under terms of the GNU General Public License ;; +;; ;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; struc MEM_BLOCK { .next_block dd ? diff --git a/kernel/branches/flat_kernel/core/malloc.inc b/kernel/branches/flat_kernel/core/malloc.inc index bd313b2eeb..44554f33e4 100644 --- a/kernel/branches/flat_kernel/core/malloc.inc +++ b/kernel/branches/flat_kernel/core/malloc.inc @@ -1,3 +1,11 @@ +$Revision: 431 $ +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; ;; +;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; +;; Distributed under terms of the GNU General Public License ;; +;; ;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + ; Small heap based on malloc/free/realloc written by Doug Lea ; Version 2.8.3 Thu Sep 22 11:16:15 2005 Doug Lea (dl at gee) ; Source ftp://gee.cs.oswego.edu/pub/misc/malloc.c diff --git a/kernel/branches/flat_kernel/core/memory.inc b/kernel/branches/flat_kernel/core/memory.inc index 90b2165c3d..0d6a937c41 100644 --- a/kernel/branches/flat_kernel/core/memory.inc +++ b/kernel/branches/flat_kernel/core/memory.inc @@ -1,4 +1,10 @@ -; $Revision$ +$Revision: 431 $ +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; ;; +;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; +;; Distributed under terms of the GNU General Public License ;; +;; ;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; align 4 proc alloc_page diff --git a/kernel/branches/flat_kernel/core/sched.inc b/kernel/branches/flat_kernel/core/sched.inc index ef1dcf87b0..f177507532 100644 --- a/kernel/branches/flat_kernel/core/sched.inc +++ b/kernel/branches/flat_kernel/core/sched.inc @@ -1,3 +1,4 @@ +$Revision: 434 $ ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; ;; ;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; diff --git a/kernel/branches/flat_kernel/core/sync.inc b/kernel/branches/flat_kernel/core/sync.inc index 147d13c3ba..4a1cc8285d 100644 --- a/kernel/branches/flat_kernel/core/sync.inc +++ b/kernel/branches/flat_kernel/core/sync.inc @@ -1,10 +1,16 @@ +$Revision: 431 $ +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; ;; +;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; +;; Distributed under terms of the GNU General Public License ;; +;; ;; +;; Synhronization for MenuetOS. ;; +;; Author: Halyavin Andrey, halyavin@land.ru ;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + if ~defined sync_inc sync_inc_fix: sync_inc fix sync_inc_fix -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;;Synhronization for MenuetOS. ;; -;;Author: Halyavin Andrey, halyavin@land.ru ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;simplest mutex. macro SimpleMutex name diff --git a/kernel/branches/flat_kernel/core/sys32.inc b/kernel/branches/flat_kernel/core/sys32.inc index a8b5e0cfc7..9f02131484 100644 --- a/kernel/branches/flat_kernel/core/sys32.inc +++ b/kernel/branches/flat_kernel/core/sys32.inc @@ -1,4 +1,4 @@ -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +$Revision: 434 $ ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; ;; ;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; diff --git a/kernel/branches/flat_kernel/core/syscall.inc b/kernel/branches/flat_kernel/core/syscall.inc index fd02d8ed39..00a7fe3600 100644 --- a/kernel/branches/flat_kernel/core/syscall.inc +++ b/kernel/branches/flat_kernel/core/syscall.inc @@ -1,3 +1,4 @@ +$Revision: 434 $ ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; ;; ;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; diff --git a/kernel/branches/flat_kernel/core/taskman.inc b/kernel/branches/flat_kernel/core/taskman.inc index 42a713462f..6690bcb89a 100644 --- a/kernel/branches/flat_kernel/core/taskman.inc +++ b/kernel/branches/flat_kernel/core/taskman.inc @@ -1,5 +1,12 @@ -GREEDY_KERNEL equ 0 +$Revision: 437 $ +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; ;; +;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; +;; Distributed under terms of the GNU General Public License ;; +;; ;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +GREEDY_KERNEL equ 0 struc APP_HEADER_00 { .banner dq ? diff --git a/kernel/branches/flat_kernel/detect/commouse.inc b/kernel/branches/flat_kernel/detect/commouse.inc index fc996989a8..a8269d7953 100644 --- a/kernel/branches/flat_kernel/detect/commouse.inc +++ b/kernel/branches/flat_kernel/detect/commouse.inc @@ -1,3 +1,11 @@ +$Revision: 431 $ +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; ;; +;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; +;; Distributed under terms of the GNU General Public License ;; +;; ;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + ;************************************************** ;* ПОИСК МЫШИ ПО ПОСЛЕДОВАТЕЛЬНЫМ ПОРТАМ * ;* Процедура подготавливает глобальные переменные * diff --git a/kernel/branches/flat_kernel/detect/dev_fd.inc b/kernel/branches/flat_kernel/detect/dev_fd.inc index 84cba7a4f8..e8e590c66a 100644 --- a/kernel/branches/flat_kernel/detect/dev_fd.inc +++ b/kernel/branches/flat_kernel/detect/dev_fd.inc @@ -1,3 +1,11 @@ +$Revision: 431 $ +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; ;; +;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; +;; Distributed under terms of the GNU General Public License ;; +;; ;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + ;*************************************************** ; предварительная очистка области таблицы ; поиск и занесение в таблицу приводов FDD diff --git a/kernel/branches/flat_kernel/detect/dev_hdcd.inc b/kernel/branches/flat_kernel/detect/dev_hdcd.inc index 05389ee2c2..38aba3d979 100644 --- a/kernel/branches/flat_kernel/detect/dev_hdcd.inc +++ b/kernel/branches/flat_kernel/detect/dev_hdcd.inc @@ -1,3 +1,11 @@ +$Revision: 431 $ +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; ;; +;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; +;; Distributed under terms of the GNU General Public License ;; +;; ;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + ;****************************************************** ; поиск приводов HDD и CD ; автор исходного текста Кулаков Владимир Геннадьевич. diff --git a/kernel/branches/flat_kernel/detect/disks.inc b/kernel/branches/flat_kernel/detect/disks.inc index 31b02f25cc..9c8d4b0981 100644 --- a/kernel/branches/flat_kernel/detect/disks.inc +++ b/kernel/branches/flat_kernel/detect/disks.inc @@ -1,3 +1,4 @@ +$Revision: 425 $ include 'dev_fd.inc' include 'dev_hdcd.inc' include 'sear_par.inc' diff --git a/kernel/branches/flat_kernel/detect/ps2mouse.inc b/kernel/branches/flat_kernel/detect/ps2mouse.inc index 0dd0b2e845..7cab9a6973 100644 --- a/kernel/branches/flat_kernel/detect/ps2mouse.inc +++ b/kernel/branches/flat_kernel/detect/ps2mouse.inc @@ -1,3 +1,11 @@ +$Revision: 431 $ +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; ;; +;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; +;; Distributed under terms of the GNU General Public License ;; +;; ;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + MouseSearch_PS2: jmp MouseSearch_PS2_begin @@ -75,7 +83,7 @@ MouseSearch_PS2_begin: mov bl, 0xAD ; disable keyboard interface call kb_cmd_c - + mov bl, 0xA8 ; enable mouse interface call kb_cmd_c diff --git a/kernel/branches/flat_kernel/detect/sear_par.inc b/kernel/branches/flat_kernel/detect/sear_par.inc index 1bc6bb0601..cc76d0dc97 100644 --- a/kernel/branches/flat_kernel/detect/sear_par.inc +++ b/kernel/branches/flat_kernel/detect/sear_par.inc @@ -1,4 +1,11 @@ -;**************************************************** +$Revision: 431 $ +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; ;; +;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; +;; Distributed under terms of the GNU General Public License ;; +;; ;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + ;**************************************************** ; поиск логических дисков на обнаруженных HDD ; и занесение данных в область таблицы ; автор Mario79 diff --git a/kernel/branches/flat_kernel/drivers/ati2d.asm b/kernel/branches/flat_kernel/drivers/ati2d.asm index ad5941d0ba..0537c67a35 100644 --- a/kernel/branches/flat_kernel/drivers/ati2d.asm +++ b/kernel/branches/flat_kernel/drivers/ati2d.asm @@ -1,3 +1,9 @@ +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; ;; +;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; +;; Distributed under terms of the GNU General Public License ;; +;; ;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; format MS COFF diff --git a/kernel/branches/flat_kernel/drivers/codec.inc b/kernel/branches/flat_kernel/drivers/codec.inc index f17cd8e1f7..4f2047181a 100644 --- a/kernel/branches/flat_kernel/drivers/codec.inc +++ b/kernel/branches/flat_kernel/drivers/codec.inc @@ -1,3 +1,9 @@ +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; ;; +;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; +;; Distributed under terms of the GNU General Public License ;; +;; ;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; align 4 proc detect_codec diff --git a/kernel/branches/flat_kernel/drivers/ensoniq.asm b/kernel/branches/flat_kernel/drivers/ensoniq.asm index 671d97ebad..d9f375c170 100644 --- a/kernel/branches/flat_kernel/drivers/ensoniq.asm +++ b/kernel/branches/flat_kernel/drivers/ensoniq.asm @@ -1,3 +1,9 @@ +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; ;; +;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; +;; Distributed under terms of the GNU General Public License ;; +;; ;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;alpha version diff --git a/kernel/branches/flat_kernel/drivers/imports.inc b/kernel/branches/flat_kernel/drivers/imports.inc index 28a8ecef2d..affd89511d 100644 --- a/kernel/branches/flat_kernel/drivers/imports.inc +++ b/kernel/branches/flat_kernel/drivers/imports.inc @@ -1,3 +1,9 @@ +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; ;; +;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; +;; Distributed under terms of the GNU General Public License ;; +;; ;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; all exported kernel functions and data diff --git a/kernel/branches/flat_kernel/drivers/infinity.asm b/kernel/branches/flat_kernel/drivers/infinity.asm index 75fe148b67..559743f509 100644 --- a/kernel/branches/flat_kernel/drivers/infinity.asm +++ b/kernel/branches/flat_kernel/drivers/infinity.asm @@ -1,17 +1,12 @@ -; -; This file is part of the Infinity sound library. +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; ;; +;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; +;; Distributed under terms of the GNU General Public License ;; +;; ;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + ; (C) copyright Serge 2006 ; email: infinity_sound@mail.ru -; -; This program 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 of the License, or -; (at your option) any later version. -; -; This program 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. format MS COFF @@ -32,7 +27,6 @@ SLOT_BASE equ (OS_BASE+0x0080000) TASK_COUNT equ (OS_BASE+0x0003004) CURRENT_TASK equ (OS_BASE+0x0003000) - CAPS_SSE2 equ 26 PG_SW equ 0x003 diff --git a/kernel/branches/flat_kernel/drivers/main.inc b/kernel/branches/flat_kernel/drivers/main.inc index c0f9a4c9cd..51c2e0ef4d 100644 --- a/kernel/branches/flat_kernel/drivers/main.inc +++ b/kernel/branches/flat_kernel/drivers/main.inc @@ -1,18 +1,12 @@ -; -; This file is part of the Infinity sound driver. +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; ;; +;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; +;; Distributed under terms of the GNU General Public License ;; +;; ;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + ; (C) copyright Serge 2006-2007 ; email: infinity_sound@mail.ru -; -; This program 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 of the License, or -; (at your option) any later version. -; -; This program 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. - SOUND_VERSION equ 0x01000100 diff --git a/kernel/branches/flat_kernel/drivers/mix_mmx.inc b/kernel/branches/flat_kernel/drivers/mix_mmx.inc index 9413c142d1..5778cc823d 100644 --- a/kernel/branches/flat_kernel/drivers/mix_mmx.inc +++ b/kernel/branches/flat_kernel/drivers/mix_mmx.inc @@ -1,3 +1,9 @@ +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; ;; +;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; +;; Distributed under terms of the GNU General Public License ;; +;; ;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; params ; edi= output diff --git a/kernel/branches/flat_kernel/drivers/mix_sse2.inc b/kernel/branches/flat_kernel/drivers/mix_sse2.inc index 4ca0a9e63d..aa450a61f8 100644 --- a/kernel/branches/flat_kernel/drivers/mix_sse2.inc +++ b/kernel/branches/flat_kernel/drivers/mix_sse2.inc @@ -1,3 +1,9 @@ +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; ;; +;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; +;; Distributed under terms of the GNU General Public License ;; +;; ;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; if used mmx128_mix_2 diff --git a/kernel/branches/flat_kernel/drivers/mixer.asm b/kernel/branches/flat_kernel/drivers/mixer.asm index 2dbdecad64..864063382b 100644 --- a/kernel/branches/flat_kernel/drivers/mixer.asm +++ b/kernel/branches/flat_kernel/drivers/mixer.asm @@ -1,17 +1,13 @@ -; -; This file is part of the Infinity sound library. +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; ;; +;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; +;; Distributed under terms of the GNU General Public License ;; +;; ;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + ; (C) copyright Serge 2006 ; email: infinity_sound@mail.ru -; -; This program 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 of the License, or -; (at your option) any later version. -; -; This program 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. + align 4 diff --git a/kernel/branches/flat_kernel/drivers/sceletone.asm b/kernel/branches/flat_kernel/drivers/sceletone.asm index a916c8b33e..72d7f0e2d8 100644 --- a/kernel/branches/flat_kernel/drivers/sceletone.asm +++ b/kernel/branches/flat_kernel/drivers/sceletone.asm @@ -1,3 +1,9 @@ +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; ;; +;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; +;; Distributed under terms of the GNU General Public License ;; +;; ;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;driver sceletone diff --git a/kernel/branches/flat_kernel/drivers/sis.asm b/kernel/branches/flat_kernel/drivers/sis.asm index 3ea1141ff1..834c1a59bb 100644 --- a/kernel/branches/flat_kernel/drivers/sis.asm +++ b/kernel/branches/flat_kernel/drivers/sis.asm @@ -1,3 +1,9 @@ +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; ;; +;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; +;; Distributed under terms of the GNU General Public License ;; +;; ;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; format MS COFF diff --git a/kernel/branches/flat_kernel/drivers/sound.asm b/kernel/branches/flat_kernel/drivers/sound.asm index ee48d62776..1f6099b64d 100644 --- a/kernel/branches/flat_kernel/drivers/sound.asm +++ b/kernel/branches/flat_kernel/drivers/sound.asm @@ -1,3 +1,9 @@ +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; ;; +;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; +;; Distributed under terms of the GNU General Public License ;; +;; ;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; format MS COFF diff --git a/kernel/branches/flat_kernel/fdo.inc b/kernel/branches/flat_kernel/fdo.inc index 1dfe619c85..714d360c78 100644 --- a/kernel/branches/flat_kernel/fdo.inc +++ b/kernel/branches/flat_kernel/fdo.inc @@ -1,3 +1,9 @@ +$Revision: 431 $ +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; ;; +;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; +;; Distributed under terms of the GNU General Public License ;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; ; Formatted Debug Output (FDO) ; Copyright (c) 2005-2006, mike.dld diff --git a/kernel/branches/flat_kernel/fs/fat12.inc b/kernel/branches/flat_kernel/fs/fat12.inc index c1c5752301..3f4094a996 100644 --- a/kernel/branches/flat_kernel/fs/fat12.inc +++ b/kernel/branches/flat_kernel/fs/fat12.inc @@ -1893,7 +1893,6 @@ fs_FloppyRewrite: repnz scasw mov al, ERROR_DISK_FULL jnz .ret - dec edi dec edi diff --git a/kernel/branches/flat_kernel/fs/fat32.inc b/kernel/branches/flat_kernel/fs/fat32.inc index 310247f892..cccb094caf 100644 --- a/kernel/branches/flat_kernel/fs/fat32.inc +++ b/kernel/branches/flat_kernel/fs/fat32.inc @@ -1,5 +1,9 @@ -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +$Revision: 431 $ +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; ;; +;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; +;; Distributed under terms of the GNU General Public License ;; +;; ;; ;; FAT32.INC ;; ;; ;; ;; FAT16/32 functions for KolibriOS ;; @@ -39,7 +43,7 @@ ;; 20.5.2002 Hd status check - VT ;; ;; 29.6.2002 Improved fat32 verification - VT ;; ;; ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; cache_max equ 1919 ; max. is 1919*512+0x610000=0x6ffe00 diff --git a/kernel/branches/flat_kernel/fs/fs.inc b/kernel/branches/flat_kernel/fs/fs.inc index 3fbb4eb99a..49ad843755 100644 --- a/kernel/branches/flat_kernel/fs/fs.inc +++ b/kernel/branches/flat_kernel/fs/fs.inc @@ -1,4 +1,4 @@ -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +$Revision: 431 $ ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; ;; ;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; diff --git a/kernel/branches/flat_kernel/fs/fs_lfn.inc b/kernel/branches/flat_kernel/fs/fs_lfn.inc index 4729208b4c..3d2f7d097a 100644 --- a/kernel/branches/flat_kernel/fs/fs_lfn.inc +++ b/kernel/branches/flat_kernel/fs/fs_lfn.inc @@ -1,3 +1,11 @@ +$Revision: 431 $ +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; ;; +;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; +;; Distributed under terms of the GNU General Public License ;; +;; ;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + ; System function 70 - files with long names (LFN) ; diamond, 2006 diff --git a/kernel/branches/flat_kernel/fs/iso9660.inc b/kernel/branches/flat_kernel/fs/iso9660.inc index 1bbacc3886..321739a9b1 100644 --- a/kernel/branches/flat_kernel/fs/iso9660.inc +++ b/kernel/branches/flat_kernel/fs/iso9660.inc @@ -1,3 +1,10 @@ +$Revision: 431 $ +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; ;; +;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; +;; Distributed under terms of the GNU General Public License ;; +;; ;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; uglobal cd_current_pointer_of_input dd 0 diff --git a/kernel/branches/flat_kernel/fs/ntfs.inc b/kernel/branches/flat_kernel/fs/ntfs.inc index 29c09965d8..d81e1f5614 100755 --- a/kernel/branches/flat_kernel/fs/ntfs.inc +++ b/kernel/branches/flat_kernel/fs/ntfs.inc @@ -1,3 +1,11 @@ +$Revision: 431 $ +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; ;; +;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; +;; Distributed under terms of the GNU General Public License ;; +;; ;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + ntfs_test_bootsec: ; in: ebx->buffer, edx=size of partition ; out: CF set <=> invalid diff --git a/kernel/branches/flat_kernel/fs/part_set.inc b/kernel/branches/flat_kernel/fs/part_set.inc index fba973569f..2491bc9e99 100644 --- a/kernel/branches/flat_kernel/fs/part_set.inc +++ b/kernel/branches/flat_kernel/fs/part_set.inc @@ -1,3 +1,11 @@ +$Revision: 431 $ +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; ;; +;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; +;; Distributed under terms of the GNU General Public License ;; +;; ;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + ;************************************************************* ;* 29.04.2006 Elimination of hangup after the * ;* expiration hd_wait_timeout - Mario79 * @@ -9,7 +17,7 @@ uglobal align 4 ;****************************************************** -; Please do not change this place - variables in text +; Please do not change this place - variables in text ; Mario79 ; START place ;****************************************************** diff --git a/kernel/branches/flat_kernel/gui/button.inc b/kernel/branches/flat_kernel/gui/button.inc index daffb42e85..438ea73992 100644 --- a/kernel/branches/flat_kernel/gui/button.inc +++ b/kernel/branches/flat_kernel/gui/button.inc @@ -1,3 +1,11 @@ +$Revision: 431 $ +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; ;; +;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; +;; Copyright (C) MenuetOS 2000-2004 Ville Mikael Turjanmaa ;; +;; Distributed under terms of the GNU General Public License ;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + max_buttons=4095 dececx: push edx diff --git a/kernel/branches/flat_kernel/gui/event.inc b/kernel/branches/flat_kernel/gui/event.inc index c3c99dc1d9..57eed828a9 100644 --- a/kernel/branches/flat_kernel/gui/event.inc +++ b/kernel/branches/flat_kernel/gui/event.inc @@ -1,3 +1,10 @@ +$Revision: 431 $ +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; ;; +;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; +;; Copyright (C) MenuetOS 2000-2004 Ville Mikael Turjanmaa ;; +;; Distributed under terms of the GNU General Public License ;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; align 4 init_events: diff --git a/kernel/branches/flat_kernel/gui/font.inc b/kernel/branches/flat_kernel/gui/font.inc index 8b2a949311..c3f1f51c7e 100644 --- a/kernel/branches/flat_kernel/gui/font.inc +++ b/kernel/branches/flat_kernel/gui/font.inc @@ -1,3 +1,11 @@ +$Revision: 431 $ +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; ;; +;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; +;; Distributed under terms of the GNU General Public License ;; +;; ;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + align 4 dtext: ; Text String Output (rw by Johnny_B[john@kolibrios.org]) ; eax x & y diff --git a/kernel/branches/flat_kernel/gui/mouse.inc b/kernel/branches/flat_kernel/gui/mouse.inc index 68f05ee37a..5046e86fe6 100644 --- a/kernel/branches/flat_kernel/gui/mouse.inc +++ b/kernel/branches/flat_kernel/gui/mouse.inc @@ -1,3 +1,10 @@ +$Revision: 431 $ +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; ;; +;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; +;; Copyright (C) MenuetOS 2000-2004 Ville Mikael Turjanmaa ;; +;; Distributed under terms of the GNU General Public License ;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; iglobal diff --git a/kernel/branches/flat_kernel/gui/skincode.inc b/kernel/branches/flat_kernel/gui/skincode.inc index f25a4995bd..32b77ef6ba 100644 --- a/kernel/branches/flat_kernel/gui/skincode.inc +++ b/kernel/branches/flat_kernel/gui/skincode.inc @@ -1,3 +1,11 @@ +$Revision: 431 $ +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; ;; +;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; +;; Distributed under terms of the GNU General Public License ;; +;; ;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + include "skindata.inc" ;skin_data = 0x00778000 diff --git a/kernel/branches/flat_kernel/gui/skindata.inc b/kernel/branches/flat_kernel/gui/skindata.inc index 5faffc1b88..4a2c93f488 100644 --- a/kernel/branches/flat_kernel/gui/skindata.inc +++ b/kernel/branches/flat_kernel/gui/skindata.inc @@ -1,3 +1,11 @@ +$Revision: 431 $ +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; ;; +;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; +;; Distributed under terms of the GNU General Public License ;; +;; ;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + ; ; WINDOW SKIN DATA ; diff --git a/kernel/branches/flat_kernel/gui/window.inc b/kernel/branches/flat_kernel/gui/window.inc index 6fea3a4dfc..0372879403 100644 --- a/kernel/branches/flat_kernel/gui/window.inc +++ b/kernel/branches/flat_kernel/gui/window.inc @@ -1,3 +1,11 @@ +$Revision: 431 $ +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; ;; +;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; +;; Copyright (C) MenuetOS 2000-2004 Ville Mikael Turjanmaa ;; +;; Distributed under terms of the GNU General Public License ;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + get_titlebar_height: ; edi = window draw_data pointer mov al,[edi+WDATA.fl_wstyle] and al,0x0F diff --git a/kernel/branches/flat_kernel/hid/keyboard.inc b/kernel/branches/flat_kernel/hid/keyboard.inc index d384047fdc..2992c276d5 100644 --- a/kernel/branches/flat_kernel/hid/keyboard.inc +++ b/kernel/branches/flat_kernel/hid/keyboard.inc @@ -1,3 +1,11 @@ +$Revision: 431 $ +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; ;; +;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; +;; Copyright (C) MenuetOS 2000-2004 Ville Mikael Turjanmaa ;; +;; Distributed under terms of the GNU General Public License ;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + ;// mike.dld [ VKEY_LSHIFT = 0000000000000001b diff --git a/kernel/branches/flat_kernel/hid/m_com1.inc b/kernel/branches/flat_kernel/hid/m_com1.inc index f1b63f6d01..9d1eef314b 100644 --- a/kernel/branches/flat_kernel/hid/m_com1.inc +++ b/kernel/branches/flat_kernel/hid/m_com1.inc @@ -1,3 +1,11 @@ +$Revision: 431 $ +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; ;; +;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; +;; Distributed under terms of the GNU General Public License ;; +;; ;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + ; Номер принимаемого от мыши байта MouseByteNumber DB 0 ; Трехбайтовая структура данных, передаваемая мышью diff --git a/kernel/branches/flat_kernel/hid/m_com2.inc b/kernel/branches/flat_kernel/hid/m_com2.inc index 6c33f1b90c..5f5a309f27 100644 --- a/kernel/branches/flat_kernel/hid/m_com2.inc +++ b/kernel/branches/flat_kernel/hid/m_com2.inc @@ -1,3 +1,11 @@ +$Revision: 431 $ +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; ;; +;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; +;; Distributed under terms of the GNU General Public License ;; +;; ;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + ; Номер принимаемого от мыши байта MouseByteNumber_1 DB 0 ; Трехбайтовая структура данных, передаваемая мышью diff --git a/kernel/branches/flat_kernel/hid/m_ps2.inc b/kernel/branches/flat_kernel/hid/m_ps2.inc index 09d50779c9..b6b17cca13 100644 --- a/kernel/branches/flat_kernel/hid/m_ps2.inc +++ b/kernel/branches/flat_kernel/hid/m_ps2.inc @@ -1,3 +1,11 @@ +$Revision: 431 $ +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; ;; +;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; +;; Distributed under terms of the GNU General Public License ;; +;; ;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + ; Номер принимаемого от мыши байта MouseByteNumber_2 DB 0 ; Трехбайтовая структура данных, передаваемая мышью diff --git a/kernel/branches/flat_kernel/hid/mousedrv.inc b/kernel/branches/flat_kernel/hid/mousedrv.inc index b9aea2ba0b..f28b97d7b7 100644 --- a/kernel/branches/flat_kernel/hid/mousedrv.inc +++ b/kernel/branches/flat_kernel/hid/mousedrv.inc @@ -1,3 +1,11 @@ +$Revision: 431 $ +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; ;; +;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; +;; Distributed under terms of the GNU General Public License ;; +;; ;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + ; check mouse ; ; diff --git a/kernel/branches/flat_kernel/hid/set_dtc.inc b/kernel/branches/flat_kernel/hid/set_dtc.inc index 479ebce80c..1f631d93da 100644 --- a/kernel/branches/flat_kernel/hid/set_dtc.inc +++ b/kernel/branches/flat_kernel/hid/set_dtc.inc @@ -1,3 +1,11 @@ +$Revision: 431 $ +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; ;; +;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; +;; Distributed under terms of the GNU General Public License ;; +;; ;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + ;setting date,time,clock and alarm-clock ;add sys_settime at servetable as for ex. 22 fcn: ; 22 - SETTING DATE TIME, CLOCK AND ALARM-CLOCK @@ -180,7 +188,7 @@ sys_settime: sti mov [esp+36],dword 1 ret - + startstopclk: mov al,0x0b out dx,al diff --git a/kernel/branches/flat_kernel/kernel32.inc b/kernel/branches/flat_kernel/kernel32.inc index 9cd0eee1c4..5ba0c450e1 100644 --- a/kernel/branches/flat_kernel/kernel32.inc +++ b/kernel/branches/flat_kernel/kernel32.inc @@ -1,5 +1,9 @@ -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +$Revision: 431 $ +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; ;; +;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; +;; Distributed under terms of the GNU General Public License ;; +;; ;; ;; KERNEL32.INC ;; ;; ;; ;; Included 32 bit kernel files for MenuetOS ;; @@ -8,72 +12,7 @@ ;; maintain and compile with an automated SETUP program ;; ;; in the future. ;; ;; ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; - -; structure definition helper -macro struct name, [arg] - { - common - name@struct equ name - struc name arg { - } - -macro struct_helper name - { - match xname,name - \{ - virtual at 0 - xname xname - sizeof.#xname = $ - xname - name equ sizeof.#xname - end virtual - \} - } - -ends fix } struct_helper name@struct - -;// mike.dld, 2006-29-01 [ - -; macros definition -macro diff16 title,l1,l2 -{ - local s,d - s = l2-l1 - display title,': 0x' - repeat 8 - d = 48 + s shr ((8-%) shl 2) and $0F - if d > 57 - d = d + 65-57-1 - end if - display d - end repeat - display 13,10 -} - -; \begin{diamond}[29.09.2006] -; may be useful for kernel debugging -; example 1: -; dbgstr 'Hello, World!' -; example 2: -; dbgstr 'Hello, World!', save_flags -macro dbgstr string*, f -{ -local a -iglobal_nested -a db 'K : ',string,13,10,0 -endg_nested -if ~ f eq - pushfd -end if - push esi - mov esi, a - call sys_msg_board_str - pop esi -if ~ f eq - popfd -end if -} -; \end{diamond}[29.09.2006] +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;struc db [a] { common . db a ; if ~used . diff --git a/kernel/branches/flat_kernel/kglobals.inc b/kernel/branches/flat_kernel/kglobals.inc index 68276a10c7..164c0fb0d5 100644 --- a/kernel/branches/flat_kernel/kglobals.inc +++ b/kernel/branches/flat_kernel/kglobals.inc @@ -1,3 +1,11 @@ +$Revision: 431 $ +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; ;; +;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; +;; Distributed under terms of the GNU General Public License ;; +;; ;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + ;------------------------------------------------------------------ ; use "iglobal" for inserting initialized global data definitions. ;------------------------------------------------------------------ diff --git a/kernel/branches/flat_kernel/network/eth_drv/arp.inc b/kernel/branches/flat_kernel/network/eth_drv/arp.inc index 94ac376b62..4fabddb8f8 100644 --- a/kernel/branches/flat_kernel/network/eth_drv/arp.inc +++ b/kernel/branches/flat_kernel/network/eth_drv/arp.inc @@ -1,21 +1,25 @@ -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; -;; ARP.INC -;; -;; Address Resolution Protocol -;; -;; Last revision: 10.11.2006 -;; -;; This file contains the following: -;; arp_table_manager - Manages an ARPTable -;; arp_request - Sends an ARP request on the ethernet -;; arp_handler - Called when an ARP packet is received -;; -;; Changes history: -;; 22.09.2003 - [Mike Hibbett] : mikeh@oceanfree.net -;; 11.11.2006 - [Johnny_B] and [smb] -;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +$Revision: 431 $ +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; ;; +;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; +;; Distributed under terms of the GNU General Public License ;; +;; ;; +;; ARP.INC ;; +;; ;; +;; Address Resolution Protocol ;; +;; ;; +;; Last revision: 10.11.2006 ;; +;; ;; +;; This file contains the following: ;; +;; arp_table_manager - Manages an ARPTable ;; +;; arp_request - Sends an ARP request on the ethernet ;; +;; arp_handler - Called when an ARP packet is received ;; +;; ;; +;; Changes history: ;; +;; 22.09.2003 - [Mike Hibbett] : mikeh@oceanfree.net ;; +;; 11.11.2006 - [Johnny_B] and [smb] ;; +;; ;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ARP_NO_ENTRY equ 0 ARP_VALID_MAPPING equ 1 @@ -157,7 +161,7 @@ proc arp_table_manager stdcall uses ebx esi edi ecx edx,\ movsx esi, word [ebx + ARP_ENTRY.TTL] cmp esi, 0xFFFFFFFF je .timer_loop_end ;if TTL==0xFFFF then it's static entry - + test esi, esi jnz .timer_loop_end_with_dec ;if TTL!=0 @@ -181,7 +185,7 @@ proc arp_table_manager stdcall uses ebx esi edi ecx edx,\ .timer_loop_end_with_dec: - dec word [ebx + ARP_ENTRY.TTL] ;decrease TTL + dec word [ebx + ARP_ENTRY.TTL] ;decrease TTL .timer_loop_end: add ebx, ARP_ENTRY_SIZE loop .timer_loop diff --git a/kernel/branches/flat_kernel/network/eth_drv/drivers/3c59x.inc b/kernel/branches/flat_kernel/network/eth_drv/drivers/3c59x.inc index 4280823c59..debb094473 100644 --- a/kernel/branches/flat_kernel/network/eth_drv/drivers/3c59x.inc +++ b/kernel/branches/flat_kernel/network/eth_drv/drivers/3c59x.inc @@ -1,3 +1,11 @@ +$Revision: 431 $ +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; ;; +;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; +;; Distributed under terms of the GNU General Public License ;; +;; ;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + ;; Copyright (c) 2004, Endre Kozma ;; All rights reserved. ;; diff --git a/kernel/branches/flat_kernel/network/eth_drv/drivers/i8255x.inc b/kernel/branches/flat_kernel/network/eth_drv/drivers/i8255x.inc index 2aeb86414b..c714c98266 100644 --- a/kernel/branches/flat_kernel/network/eth_drv/drivers/i8255x.inc +++ b/kernel/branches/flat_kernel/network/eth_drv/drivers/i8255x.inc @@ -1,5 +1,10 @@ +$Revision: 431 $ ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; ;; +;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; +;; Distributed under terms of the GNU General Public License ;; +;; ;; +;; ;; ;; I8255X.INC ;; ;; ;; ;; Ethernet driver for Menuet OS ;; diff --git a/kernel/branches/flat_kernel/network/eth_drv/drivers/pcnet32.inc b/kernel/branches/flat_kernel/network/eth_drv/drivers/pcnet32.inc index 4f6e3db1ad..303b3dd86b 100644 --- a/kernel/branches/flat_kernel/network/eth_drv/drivers/pcnet32.inc +++ b/kernel/branches/flat_kernel/network/eth_drv/drivers/pcnet32.inc @@ -1,23 +1,27 @@ -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; ;; -;; PCNET32.INC ;; -;; ;; -;; Ethernet driver for Menuet OS ;; -;; ;; -;; Version 1.0 31 July 2004 ;; -;; ;; -;; This driver is based on the PCNet32 driver from ;; -;; the etherboot 5.0.6 project. The copyright statement is ;; -;; ;; -;; GNU GENERAL PUBLIC LICENSE ;; -;; Version 2, June 1991 ;; -;; ;; -;; remaining parts Copyright 2004 Jarek Pelczar, ;; -;; jpelczar@interia.pl ;; -;; ;; -;; See file COPYING for details ;; -;; ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +$Revision: 431 $ +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; ;; +;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; +;; Distributed under terms of the GNU General Public License ;; +;; ;; +;; PCNET32.INC ;; +;; ;; +;; Ethernet driver for Menuet OS ;; +;; ;; +;; Version 1.0 31 July 2004 ;; +;; ;; +;; This driver is based on the PCNet32 driver from ;; +;; the etherboot 5.0.6 project. The copyright statement is ;; +;; ;; +;; GNU GENERAL PUBLIC LICENSE ;; +;; Version 2, June 1991 ;; +;; ;; +;; remaining parts Copyright 2004 Jarek Pelczar, ;; +;; jpelczar@interia.pl ;; +;; ;; +;; See file COPYING for details ;; +;; ;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;macro PutStr X ;{ ; local .__xyz1 diff --git a/kernel/branches/flat_kernel/network/eth_drv/drivers/rtl8029.inc b/kernel/branches/flat_kernel/network/eth_drv/drivers/rtl8029.inc index 40683316b1..887308c0a0 100644 --- a/kernel/branches/flat_kernel/network/eth_drv/drivers/rtl8029.inc +++ b/kernel/branches/flat_kernel/network/eth_drv/drivers/rtl8029.inc @@ -1,5 +1,9 @@ +$Revision: 431 $ ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; ;; +;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; +;; Distributed under terms of the GNU General Public License ;; +;; ;; ;; RTL8029.INC ;; ;; ;; ;; Ethernet driver for Menuet OS ;; diff --git a/kernel/branches/flat_kernel/network/eth_drv/drivers/rtl8139.inc b/kernel/branches/flat_kernel/network/eth_drv/drivers/rtl8139.inc index cb938da187..5acac10e2e 100644 --- a/kernel/branches/flat_kernel/network/eth_drv/drivers/rtl8139.inc +++ b/kernel/branches/flat_kernel/network/eth_drv/drivers/rtl8139.inc @@ -1,5 +1,9 @@ +$Revision: 431 $ ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; ;; +;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; +;; Distributed under terms of the GNU General Public License ;; +;; ;; ;; RTL8139.INC ;; ;; ;; ;; Ethernet driver for Menuet OS ;; diff --git a/kernel/branches/flat_kernel/network/eth_drv/drivers/rtl8169.inc b/kernel/branches/flat_kernel/network/eth_drv/drivers/rtl8169.inc index 999f870f07..7ccc08537e 100644 --- a/kernel/branches/flat_kernel/network/eth_drv/drivers/rtl8169.inc +++ b/kernel/branches/flat_kernel/network/eth_drv/drivers/rtl8169.inc @@ -1,5 +1,9 @@ +$Revision: 431 $ ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; ;; +;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; +;; Distributed under terms of the GNU General Public License ;; +;; ;; ;; RTL8169.INC ;; ;; ;; ;; Ethernet driver for Menuet OS ;; diff --git a/kernel/branches/flat_kernel/network/eth_drv/drivers/sis900.inc b/kernel/branches/flat_kernel/network/eth_drv/drivers/sis900.inc index af54313b9e..df75e11797 100644 --- a/kernel/branches/flat_kernel/network/eth_drv/drivers/sis900.inc +++ b/kernel/branches/flat_kernel/network/eth_drv/drivers/sis900.inc @@ -1,5 +1,9 @@ +$Revision: 431 $ ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; ;; +;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; +;; Distributed under terms of the GNU General Public License ;; +;; ;; ;; SIS900.INC ;; ;; ;; ;; Ethernet driver for Menuet OS ;; diff --git a/kernel/branches/flat_kernel/network/eth_drv/ethernet.inc b/kernel/branches/flat_kernel/network/eth_drv/ethernet.inc index 32686464e9..04bb50ba2c 100644 --- a/kernel/branches/flat_kernel/network/eth_drv/ethernet.inc +++ b/kernel/branches/flat_kernel/network/eth_drv/ethernet.inc @@ -1,5 +1,9 @@ +$Revision: 431 $ ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; ;; +;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; +;; Distributed under terms of the GNU General Public License ;; +;; ;; ;; ETHERNET.INC ;; ;; ;; ;; Ethernet network layer for Menuet OS ;; diff --git a/kernel/branches/flat_kernel/network/eth_drv/pci.inc b/kernel/branches/flat_kernel/network/eth_drv/pci.inc index 21b0212b5f..b37aa6c366 100644 --- a/kernel/branches/flat_kernel/network/eth_drv/pci.inc +++ b/kernel/branches/flat_kernel/network/eth_drv/pci.inc @@ -1,3 +1,11 @@ +$Revision: 431 $ +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; ;; +;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; +;; Distributed under terms of the GNU General Public License ;; +;; ;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + ;*************************************************************************** ; ; PCI CODE FOLLOWS diff --git a/kernel/branches/flat_kernel/network/icmp.inc b/kernel/branches/flat_kernel/network/icmp.inc index cc4ad81f16..474e93b5ac 100644 --- a/kernel/branches/flat_kernel/network/icmp.inc +++ b/kernel/branches/flat_kernel/network/icmp.inc @@ -1,21 +1,25 @@ -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; -;; ICMP.INC -;; -;; Internet Control Message Protocol ( RFC 792 ) -;; -;; Last revision: 11.11.2006 -;; -;; This file contains the following: -;; icmp_rx - processes ICMP-packets received by the IP layer -;; -;; Changes history: -;; 22.09.2003 - [Mike Hibbett] : mikeh@oceanfree.net -;; 11.11.2006 - [Johnny_B] and [smb] -;; -;; Current status: +$Revision: 431 $ +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; ;; +;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; +;; Distributed under terms of the GNU General Public License ;; +;; ;; +;; ICMP.INC ;; +;; ;; +;; Internet Control Message Protocol ( RFC 792 ) ;; +;; ;; +;; Last revision: 11.11.2006 ;; +;; ;; +;; This file contains the following: ;; +;; icmp_rx - processes ICMP-packets received by the IP layer ;; +;; ;; +;; Changes history: ;; +;; 22.09.2003 - [Mike Hibbett] : mikeh@oceanfree.net ;; +;; 11.11.2006 - [Johnny_B] and [smb] ;; +;; ;; +;; Current status: ;; ;; This implemetation of ICMP proto supports message of ECHO type. -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; struc ICMP_PACKET @@ -54,66 +58,66 @@ end virtual ICMP_ECHOREPLY equ 0 ; echo reply message ICMP_UNREACH equ 3 - ICMP_UNREACH_NET equ 0 ; bad net - ICMP_UNREACH_HOST equ 1 ; bad host - ICMP_UNREACH_PROTOCOL equ 2 ; bad protocol + ICMP_UNREACH_NET equ 0 ; bad net + ICMP_UNREACH_HOST equ 1 ; bad host + ICMP_UNREACH_PROTOCOL equ 2 ; bad protocol ICMP_UNREACH_PORT equ 3 ; bad port ICMP_UNREACH_NEEDFRAG equ 4 ; IP_DF caused drop ICMP_UNREACH_SRCFAIL equ 5 ; src route failed ICMP_UNREACH_NET_UNKNOWN equ 6 ; unknown net ICMP_UNREACH_HOST_UNKNOWN equ 7 ; unknown host - ICMP_UNREACH_ISOLATED equ 8 ; src host isolated - ICMP_UNREACH_NET_PROHIB equ 9 ; prohibited access - ICMP_UNREACH_HOST_PROHIB equ 10 ; ditto - ICMP_UNREACH_TOSNET equ 11 ; bad tos for net - ICMP_UNREACH_TOSHOST equ 12 ; bad tos for host - ICMP_UNREACH_FILTER_PROHIB equ 13 ; admin prohib - ICMP_UNREACH_HOST_PRECEDENCE equ 14 ; host prec vio. - ICMP_UNREACH_PRECEDENCE_CUTOFF equ 15 ; prec cutoff + ICMP_UNREACH_ISOLATED equ 8 ; src host isolated + ICMP_UNREACH_NET_PROHIB equ 9 ; prohibited access + ICMP_UNREACH_HOST_PROHIB equ 10 ; ditto + ICMP_UNREACH_TOSNET equ 11 ; bad tos for net + ICMP_UNREACH_TOSHOST equ 12 ; bad tos for host + ICMP_UNREACH_FILTER_PROHIB equ 13 ; admin prohib + ICMP_UNREACH_HOST_PRECEDENCE equ 14 ; host prec vio. + ICMP_UNREACH_PRECEDENCE_CUTOFF equ 15 ; prec cutoff -ICMP_SOURCEQUENCH equ 4 ; packet lost, slow down +ICMP_SOURCEQUENCH equ 4 ; packet lost, slow down -ICMP_REDIRECT equ 5 ; shorter route, codes: - ICMP_REDIRECT_NET equ 0 ; for network - ICMP_REDIRECT_HOST equ 1 ; for host - ICMP_REDIRECT_TOSNET equ 2 ; for tos and net - ICMP_REDIRECT_TOSHOST equ 3 ; for tos and host - -ICMP_ALTHOSTADDR equ 6 ; alternate host address -ICMP_ECHO equ 8 ; echo service -ICMP_ROUTERADVERT equ 9 ; router advertisement - ICMP_ROUTERADVERT_NORMAL equ 0 ; normal advertisement - ICMP_ROUTERADVERT_NOROUTE_COMMON equ 16 ; selective routing +ICMP_REDIRECT equ 5 ; shorter route, codes: + ICMP_REDIRECT_NET equ 0 ; for network + ICMP_REDIRECT_HOST equ 1 ; for host + ICMP_REDIRECT_TOSNET equ 2 ; for tos and net + ICMP_REDIRECT_TOSHOST equ 3 ; for tos and host -ICMP_ROUTERSOLICIT equ 10 ; router solicitation -ICMP_TIMXCEED equ 11 ; time exceeded, code: - ICMP_TIMXCEED_INTRANS equ 0 ; ttl==0 in transit - ICMP_TIMXCEED_REASS equ 1 ; ttl==0 in reass +ICMP_ALTHOSTADDR equ 6 ; alternate host address +ICMP_ECHO equ 8 ; echo service +ICMP_ROUTERADVERT equ 9 ; router advertisement + ICMP_ROUTERADVERT_NORMAL equ 0 ; normal advertisement + ICMP_ROUTERADVERT_NOROUTE_COMMON equ 16 ; selective routing -ICMP_PARAMPROB equ 12 ; ip header bad - ICMP_PARAMPROB_ERRATPTR equ 0 ; error at param ptr - ICMP_PARAMPROB_OPTABSENT equ 1 ; req. opt. absent - ICMP_PARAMPROB_LENGTH equ 2 ; bad length - -ICMP_TSTAMP equ 13 ; timestamp request -ICMP_TSTAMPREPLY equ 14 ; timestamp reply -ICMP_IREQ equ 15 ; information request -ICMP_IREQREPLY equ 16 ; information reply -ICMP_MASKREQ equ 17 ; address mask request -ICMP_MASKREPLY equ 18 ; address mask reply -ICMP_TRACEROUTE equ 30 ; traceroute -ICMP_DATACONVERR equ 31 ; data conversion error -ICMP_MOBILE_REDIRECT equ 32 ; mobile host redirect -ICMP_IPV6_WHEREAREYOU equ 33 ; IPv6 where-are-you - ICMP_IPV6_IAMHERE equ 34 ; IPv6 i-am-here -ICMP_MOBILE_REGREQUEST equ 35 ; mobile registration req -ICMP_MOBILE_REGREPLY equ 36 ; mobile registreation reply -ICMP_SKIP equ 39 ; SKIP +ICMP_ROUTERSOLICIT equ 10 ; router solicitation +ICMP_TIMXCEED equ 11 ; time exceeded, code: + ICMP_TIMXCEED_INTRANS equ 0 ; ttl==0 in transit + ICMP_TIMXCEED_REASS equ 1 ; ttl==0 in reass -ICMP_PHOTURIS equ 40 ; Photuris - ICMP_PHOTURIS_UNKNOWN_INDEX equ 1 ; unknown sec index - ICMP_PHOTURIS_AUTH_FAILED equ 2 ; auth failed - ICMP_PHOTURIS_DECRYPT_FAILED equ 3 ; decrypt failed +ICMP_PARAMPROB equ 12 ; ip header bad + ICMP_PARAMPROB_ERRATPTR equ 0 ; error at param ptr + ICMP_PARAMPROB_OPTABSENT equ 1 ; req. opt. absent + ICMP_PARAMPROB_LENGTH equ 2 ; bad length + +ICMP_TSTAMP equ 13 ; timestamp request +ICMP_TSTAMPREPLY equ 14 ; timestamp reply +ICMP_IREQ equ 15 ; information request +ICMP_IREQREPLY equ 16 ; information reply +ICMP_MASKREQ equ 17 ; address mask request +ICMP_MASKREPLY equ 18 ; address mask reply +ICMP_TRACEROUTE equ 30 ; traceroute +ICMP_DATACONVERR equ 31 ; data conversion error +ICMP_MOBILE_REDIRECT equ 32 ; mobile host redirect +ICMP_IPV6_WHEREAREYOU equ 33 ; IPv6 where-are-you + ICMP_IPV6_IAMHERE equ 34 ; IPv6 i-am-here +ICMP_MOBILE_REGREQUEST equ 35 ; mobile registration req +ICMP_MOBILE_REGREPLY equ 36 ; mobile registreation reply +ICMP_SKIP equ 39 ; SKIP + +ICMP_PHOTURIS equ 40 ; Photuris + ICMP_PHOTURIS_UNKNOWN_INDEX equ 1 ; unknown sec index + ICMP_PHOTURIS_AUTH_FAILED equ 2 ; auth failed + ICMP_PHOTURIS_DECRYPT_FAILED equ 3 ; decrypt failed ;*************************************************************************** @@ -185,4 +189,4 @@ proc icmp_rx stdcall uses ebx esi edi,\ .exit: ret -endp \ No newline at end of file +endp diff --git a/kernel/branches/flat_kernel/network/ip.inc b/kernel/branches/flat_kernel/network/ip.inc index 6e8d3b27d0..6c1b9b3db3 100644 --- a/kernel/branches/flat_kernel/network/ip.inc +++ b/kernel/branches/flat_kernel/network/ip.inc @@ -1,3 +1,4 @@ +$Revision: 425 $ ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; ;; ;; IP.INC ;; diff --git a/kernel/branches/flat_kernel/network/queue.inc b/kernel/branches/flat_kernel/network/queue.inc index 6dc6a00033..6f44c1867f 100644 --- a/kernel/branches/flat_kernel/network/queue.inc +++ b/kernel/branches/flat_kernel/network/queue.inc @@ -1,16 +1,21 @@ -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; ;; -;; QUEUE.INC ;; -;; ;; -;; Buffer queue management for Menuet OS TCP/IP Stack ;; -;; ;; -;; Version 0.3 29 August 2002 ;; -;; ;; -;; Copyright 2002 Mike Hibbett, mikeh@oceanfree.net ;; -;; ;; -;; See file COPYING for details ;; -;; ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +$Revision: 431 $ +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; ;; +;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; +;; Distributed under terms of the GNU General Public License ;; +;; ;; +;; ;; +;; QUEUE.INC ;; +;; ;; +;; Buffer queue management for Menuet OS TCP/IP Stack ;; +;; ;; +;; Version 0.3 29 August 2002 ;; +;; ;; +;; Copyright 2002 Mike Hibbett, mikeh@oceanfree.net ;; +;; ;; +;; See file COPYING for details ;; +;; ;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;******************************************************************* diff --git a/kernel/branches/flat_kernel/network/socket.inc b/kernel/branches/flat_kernel/network/socket.inc index 0939d0b08c..b8bc4b2fb8 100644 --- a/kernel/branches/flat_kernel/network/socket.inc +++ b/kernel/branches/flat_kernel/network/socket.inc @@ -1,30 +1,34 @@ -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; -;; SOCKET.INC -;; -;; Sockets constants, structures and functions -;; -;; Last revision: 11.11.2006 -;; -;; This file contains the following: -;; is_localport_unused -;; get_free_socket -;; socket_open -;; socket_open_tcp -;; socket_close -;; socket_close_tcp -;; socket_poll -;; socket_status -;; socket_read -;; socket_write -;; socket_write_tcp -;; -;; -;; Changes history: -;; 22.09.2003 - [Mike Hibbett] : mikeh@oceanfree.net -;; 11.11.2006 - [Johnny_B] and [smb] -;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +$Revision: 431 $ +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; ;; +;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; +;; Distributed under terms of the GNU General Public License ;; +;; ;; +;; SOCKET.INC ;; +;; ;; +;; Sockets constants, structures and functions ;; +;; ;; +;; Last revision: 11.11.2006 ;; +;; ;; +;; This file contains the following: ;; +;; is_localport_unused ;; +;; get_free_socket ;; +;; socket_open ;; +;; socket_open_tcp ;; +;; socket_close ;; +;; socket_close_tcp ;; +;; socket_poll ;; +;; socket_status ;; +;; socket_read ;; +;; socket_write ;; +;; socket_write_tcp ;; +;; ;; +;; ;; +;; Changes history: ;; +;; 22.09.2003 - [Mike Hibbett] : mikeh@oceanfree.net ;; +;; 11.11.2006 - [Johnny_B] and [smb] ;; +;; ;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; ; Socket Descriptor + Buffer diff --git a/kernel/branches/flat_kernel/network/stack.inc b/kernel/branches/flat_kernel/network/stack.inc index 87288f2180..d46a88a649 100644 --- a/kernel/branches/flat_kernel/network/stack.inc +++ b/kernel/branches/flat_kernel/network/stack.inc @@ -1,22 +1,26 @@ -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; ;; -;; STACK.INC ;; -;; ;; -;; TCP/IP stack for Menuet OS ;; -;; ;; -;; Version 0.7 4th July 2004 ;; -;; ;; -;; Copyright 2002 Mike Hibbett, mikeh@oceanfree.net ;; -;; ;; -;; See file COPYING for details ;; -;; ;; -;; Version 0.7 ;; -;; Added a timer per socket to allow delays when rx window ;; -;; gets below 1KB ;; -;; ;; -;; 10.01.2007 Bugfix for checksum function from Paolo Franchetti ;; -;; ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +$Revision: 431 $ +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; ;; +;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; +;; Distributed under terms of the GNU General Public License ;; +;; ;; +;; STACK.INC ;; +;; ;; +;; TCP/IP stack for Menuet OS ;; +;; ;; +;; Version 0.7 4th July 2004 ;; +;; ;; +;; Copyright 2002 Mike Hibbett, mikeh@oceanfree.net ;; +;; ;; +;; See file COPYING for details ;; +;; ;; +;; Version 0.7 ;; +;; Added a timer per socket to allow delays when rx window ;; +;; gets below 1KB ;; +;; ;; +;;10.01.2007 Bugfix for checksum function from Paolo Franchetti ;; +;; ;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; diff --git a/kernel/branches/flat_kernel/network/tcp.inc b/kernel/branches/flat_kernel/network/tcp.inc index aae99c63a3..c759def8e7 100644 --- a/kernel/branches/flat_kernel/network/tcp.inc +++ b/kernel/branches/flat_kernel/network/tcp.inc @@ -1,18 +1,22 @@ -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; ;; -;; TCP.INC ;; -;; ;; -;; TCP Processes for Menuet OS TCP/IP stack ;; -;; ;; -;; Version 0.6 4th July 2004 ;; -;; ;; -;; Copyright 2002 Mike Hibbett, mikeh@oceanfree.net ;; -;; ;; -;; See file COPYING for details ;; -;; v0.6 : Added reset handling in the established state ;; -;; Added a timer per socket to allow delays when rx window ;; -;; gets below 1KB ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +$Revision: 431 $ +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; ;; +;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; +;; Distributed under terms of the GNU General Public License ;; +;; ;; +;; TCP.INC ;; +;; ;; +;; TCP Processes for Menuet OS TCP/IP stack ;; +;; ;; +;; Version 0.6 4th July 2004 ;; +;; ;; +;; Copyright 2002 Mike Hibbett, mikeh@oceanfree.net ;; +;; ;; +;; See file COPYING for details ;; +;; v0.6 : Added reset handling in the established state ;; +;; Added a timer per socket to allow delays when ;; +;; rx window gets below 1KB ;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; TCP TCB states TCB_LISTEN equ 1 diff --git a/kernel/branches/flat_kernel/network/udp.inc b/kernel/branches/flat_kernel/network/udp.inc index b4b7bda250..ba0418bee3 100644 --- a/kernel/branches/flat_kernel/network/udp.inc +++ b/kernel/branches/flat_kernel/network/udp.inc @@ -1,16 +1,25 @@ -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; ;; -;; UDP.INC ;; -;; ;; -;; UDP Processes for Menuet OS TCP/IP stack ;; -;; ;; -;; Version 0.3 29 August 2002 ;; -;; ;; -;; Copyright 2002 Mike Hibbett, mikeh@oceanfree.net ;; -;; ;; -;; See file COPYING for details ;; -;; ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +$Revision: 431 $ +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; ;; +;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; +;; Distributed under terms of the GNU General Public License ;; +;; ;; +;; ;; +;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; +;; Distributed under terms of the GNU General Public License ;; +;; ;; +;; ;; +;; UDP.INC ;; +;; ;; +;; UDP Processes for Menuet OS TCP/IP stack ;; +;; ;; +;; Version 0.3 29 August 2002 ;; +;; ;; +;; Copyright 2002 Mike Hibbett, mikeh@oceanfree.net ;; +;; ;; +;; See file COPYING for details ;; +;; ;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;******************************************************************* diff --git a/kernel/branches/flat_kernel/skin/default.asm b/kernel/branches/flat_kernel/skin/default.asm index 5d0ea59deb..88c6f15f12 100644 --- a/kernel/branches/flat_kernel/skin/default.asm +++ b/kernel/branches/flat_kernel/skin/default.asm @@ -1,3 +1,10 @@ +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; ;; +;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; +;; Distributed under terms of the GNU General Public License ;; +;; ;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + include 'me_skin.inc' SKIN_PARAMS \ diff --git a/kernel/branches/flat_kernel/skin/me_skin.inc b/kernel/branches/flat_kernel/skin/me_skin.inc index ccbb3c191c..365964eb38 100644 --- a/kernel/branches/flat_kernel/skin/me_skin.inc +++ b/kernel/branches/flat_kernel/skin/me_skin.inc @@ -1,3 +1,10 @@ +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; ;; +;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; +;; Distributed under terms of the GNU General Public License ;; +;; ;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + ;============================================================================ ; This file should be used to generate skins of new standard ;============================================================================ diff --git a/kernel/branches/flat_kernel/sound/playnote.inc b/kernel/branches/flat_kernel/sound/playnote.inc index 79548434a2..05aeaec515 100644 --- a/kernel/branches/flat_kernel/sound/playnote.inc +++ b/kernel/branches/flat_kernel/sound/playnote.inc @@ -1,5 +1,9 @@ +$Revision: 431 $ ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; ;; +;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; +;; Distributed under terms of the GNU General Public License ;; +;; ;; ;; PLAYNOTE.INC version 1.1 22 November 2003 ;; ;; ;; ;; Player Notes for Speaker PC ;; @@ -126,10 +130,10 @@ ReadNoteByte: mov edx,[memAdrNote] inc [memAdrNote] call read_process_memory -.failed: +.failed: pop edx pop ecx pop ebx pop eax - ret + ret ;------------------- END CODE ------------------- diff --git a/kernel/branches/flat_kernel/sound/sb16.inc b/kernel/branches/flat_kernel/sound/sb16.inc index 1c2bde36dd..d1182eb6cb 100644 --- a/kernel/branches/flat_kernel/sound/sb16.inc +++ b/kernel/branches/flat_kernel/sound/sb16.inc @@ -1,16 +1,20 @@ -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; ;; -;; SB16.INC ;; -;; ;; -;; Sound Blaster 16 functions for MenuetOS ;; -;; ;; -;; Copyright 2002 Paolo Minazzi, paolo.minazzi@inwind.it ;; -;; ;; -;; See file COPYING for details ;; -;; ;; -;; - 11.07.2002 8 bit stereo mode - Ville Turjanmaa ;; -;; ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +$Revision: 431 $ +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; ;; +;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; +;; Distributed under terms of the GNU General Public License ;; +;; ;; +;; SB16.INC ;; +;; ;; +;; Sound Blaster 16 functions for MenuetOS ;; +;; ;; +;; Copyright 2002 Paolo Minazzi, paolo.minazzi@inwind.it ;; +;; ;; +;; See file COPYING for details ;; +;; ;; +;; - 11.07.2002 8 bit stereo mode - Ville Turjanmaa ;; +;; ;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; SB16_load_music equ 0xc0000000 diff --git a/kernel/branches/flat_kernel/unpacker.inc b/kernel/branches/flat_kernel/unpacker.inc index 044ad697cf..8749125c2e 100755 --- a/kernel/branches/flat_kernel/unpacker.inc +++ b/kernel/branches/flat_kernel/unpacker.inc @@ -1,3 +1,11 @@ +$Revision: 431 $ +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; ;; +;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; +;; Distributed under terms of the GNU General Public License ;; +;; ;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + ; void __stdcall unpack(void* packed_data, void* unpacked_data); unpack: pushad diff --git a/kernel/branches/flat_kernel/video/cursors.inc b/kernel/branches/flat_kernel/video/cursors.inc index 4bd792010c..13993f86e6 100644 --- a/kernel/branches/flat_kernel/video/cursors.inc +++ b/kernel/branches/flat_kernel/video/cursors.inc @@ -1,3 +1,10 @@ +$Revision: 425 $ +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; ;; +;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; +;; Distributed under terms of the GNU General Public License ;; +;; ;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; LOAD_FROM_FILE equ 0 LOAD_FROM_MEM equ 1 diff --git a/kernel/branches/flat_kernel/video/vesa12.inc b/kernel/branches/flat_kernel/video/vesa12.inc index 9dfdbd3598..ddc54e11c5 100644 --- a/kernel/branches/flat_kernel/video/vesa12.inc +++ b/kernel/branches/flat_kernel/video/vesa12.inc @@ -1,16 +1,20 @@ -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; ;; -;; VESA12.INC ;; -;; ;; -;; Vesa 1.2 functions for MenuetOS ;; -;; ;; -;; Copyright 2002 Ville Turjanmaa ;; -;; ;; -;; quickcode@mail.ru - bankswitch for S3 cards ;; -;; ;; -;; See file COPYING for details ;; -;; ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +$Revision: 431 $ +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; ;; +;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; +;; Distributed under terms of the GNU General Public License ;; +;; ;; +;; VESA12.INC ;; +;; ;; +;; Vesa 1.2 functions for MenuetOS ;; +;; ;; +;; Copyright 2002 Ville Turjanmaa ;; +;; ;; +;; quickcode@mail.ru - bankswitch for S3 cards ;; +;; ;; +;; See file COPYING for details ;; +;; ;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; A complete video driver should include the following types of function diff --git a/kernel/branches/flat_kernel/video/vesa20.inc b/kernel/branches/flat_kernel/video/vesa20.inc index 384bd9f248..6cefe94f57 100644 --- a/kernel/branches/flat_kernel/video/vesa20.inc +++ b/kernel/branches/flat_kernel/video/vesa20.inc @@ -1,18 +1,22 @@ -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; ;; -;; VESA20.INC ;; -;; ;; -;; Vesa 2.0 functions for MenuetOS ;; -;; ;; -;; Copyright 2002 Ville Turjanmaa ;; -;; Alexey, kgaz@crosswindws.net ;; -;; - Voodoo compatible graphics ;; -;; Juan M. Caravaca ;; -;; - Graphics optimimizations eg. drawline ;; -;; ;; -;; See file COPYING for details ;; -;; ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +$Revision: 431 $ +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; ;; +;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; +;; Distributed under terms of the GNU General Public License ;; +;; ;; +;; VESA20.INC ;; +;; ;; +;; Vesa 2.0 functions for MenuetOS ;; +;; ;; +;; Copyright 2002 Ville Turjanmaa ;; +;; Alexey, kgaz@crosswindws.net ;; +;; - Voodoo compatible graphics ;; +;; Juan M. Caravaca ;; +;; - Graphics optimimizations eg. drawline ;; +;; ;; +;; See file COPYING for details ;; +;; ;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; If you're planning to write your own video driver I suggest ; you replace the VESA12.INC file and see those instructions. diff --git a/kernel/branches/flat_kernel/video/vga.inc b/kernel/branches/flat_kernel/video/vga.inc index 9fe840db9a..48a59798bb 100644 --- a/kernel/branches/flat_kernel/video/vga.inc +++ b/kernel/branches/flat_kernel/video/vga.inc @@ -1,12 +1,16 @@ -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; ;; -;; VGA.INC ;; -;; ;; -;; 640x480 mode 0x12 VGA functions for MenuetOS ;; -;; ;; -;; Paul Butcher, paul.butcher@asa.co.uk ;; -;; ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +$Revision: 431 $ +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; ;; +;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; +;; Distributed under terms of the GNU General Public License ;; +;; ;; +;; VGA.INC ;; +;; ;; +;; 640x480 mode 0x12 VGA functions for MenuetOS ;; +;; ;; +;; Paul Butcher, paul.butcher@asa.co.uk ;; +;; ;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; diff --git a/kernel/branches/flat_kernel/vmodeint.inc b/kernel/branches/flat_kernel/vmodeint.inc index 90f4ecc926..0162b7b055 100644 --- a/kernel/branches/flat_kernel/vmodeint.inc +++ b/kernel/branches/flat_kernel/vmodeint.inc @@ -1,3 +1,11 @@ +$Revision: 431 $ +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; ;; +;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; +;; Distributed under terms of the GNU General Public License ;; +;; ;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + ; ; Call of videomode driver's functions ; diff --git a/kernel/branches/flat_kernel/vmodeld.inc b/kernel/branches/flat_kernel/vmodeld.inc index 46b0dc710b..edd9a62231 100644 --- a/kernel/branches/flat_kernel/vmodeld.inc +++ b/kernel/branches/flat_kernel/vmodeld.inc @@ -1,3 +1,11 @@ +$Revision: 431 $ +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; ;; +;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; +;; Distributed under terms of the GNU General Public License ;; +;; ;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + ; ; Load of videomode driver in memory ;