forked from KolibriOS/kolibrios
copyrights
git-svn-id: svn://kolibrios.org@431 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
b26a2baf38
commit
5b119159d4
347
kernel/trunk/COPYING.TXT
Normal file
347
kernel/trunk/COPYING.TXT
Normal file
@ -0,0 +1,347 @@
|
|||||||
|
|
||||||
|
GNU GENERAL PUBLIC LICENSE
|
||||||
|
|
||||||
|
Version 2, June 1991
|
||||||
|
|
||||||
|
|
||||||
|
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
|
||||||
|
675 Mass Ave, Cambridge, MA 02139, USA
|
||||||
|
|
||||||
|
Everyone is permitted to copy and distribute verbatim copies
|
||||||
|
of this license document, but changing it is not allowed.
|
||||||
|
|
||||||
|
|
||||||
|
Preamble
|
||||||
|
|
||||||
|
The licenses for most software are designed to take away your
|
||||||
|
freedom to share and change it. By contrast, the GNU General Public
|
||||||
|
License is intended to guarantee your freedom to share and change free
|
||||||
|
software--to make sure the software is free for all its users. This
|
||||||
|
General Public License applies to most of the Free Software
|
||||||
|
Foundation's software and to any other program whose authors commit to
|
||||||
|
using it. (Some other Free Software Foundation software is covered by
|
||||||
|
the GNU Library General Public License instead.) You can apply it to
|
||||||
|
your programs, too.
|
||||||
|
|
||||||
|
When we speak of free software, we are referring to freedom, not
|
||||||
|
price. Our General Public Licenses are designed to make sure that you
|
||||||
|
have the freedom to distribute copies of free software (and charge for
|
||||||
|
this service if you wish), that you receive source code or can get it
|
||||||
|
if you want it, that you can change the software or use pieces of it
|
||||||
|
in new free programs; and that you know you can do these things.
|
||||||
|
|
||||||
|
To protect your rights, we need to make restrictions that forbid
|
||||||
|
anyone to deny you these rights or to ask you to surrender the rights.
|
||||||
|
These restrictions translate to certain responsibilities for you if you
|
||||||
|
distribute copies of the software, or if you modify it.
|
||||||
|
|
||||||
|
For example, if you distribute copies of such a program, whether
|
||||||
|
gratis or for a fee, you must give the recipients all the rights that
|
||||||
|
you have. You must make sure that they, too, receive or can get the
|
||||||
|
source code. And you must show them these terms so they know their
|
||||||
|
rights.
|
||||||
|
|
||||||
|
We protect your rights with two steps: (1) copyright the software, and
|
||||||
|
(2) offer you this license which gives you legal permission to copy,
|
||||||
|
distribute and/or modify the software.
|
||||||
|
|
||||||
|
Also, for each author's protection and ours, we want to make certain
|
||||||
|
that everyone understands that there is no warranty for this free
|
||||||
|
software. If the software is modified by someone else and passed on, we
|
||||||
|
want its recipients to know that what they have is not the original, so
|
||||||
|
that any problems introduced by others will not reflect on the original
|
||||||
|
authors' reputations.
|
||||||
|
|
||||||
|
Finally, any free program is threatened constantly by software
|
||||||
|
patents. We wish to avoid the danger that redistributors of a free
|
||||||
|
program will individually obtain patent licenses, in effect making the
|
||||||
|
program proprietary. To prevent this, we have made it clear that any
|
||||||
|
patent must be licensed for everyone's free use or not licensed at all.
|
||||||
|
|
||||||
|
The precise terms and conditions for copying, distribution and
|
||||||
|
modification follow.
|
||||||
|
|
||||||
|
|
||||||
|
GNU GENERAL PUBLIC LICENSE
|
||||||
|
|
||||||
|
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||||
|
|
||||||
|
|
||||||
|
0. This License applies to any program or other work which contains
|
||||||
|
a notice placed by the copyright holder saying it may be distributed
|
||||||
|
under the terms of this General Public License. The "Program", below,
|
||||||
|
refers to any such program or work, and a "work based on the Program"
|
||||||
|
means either the Program or any derivative work under copyright law:
|
||||||
|
that is to say, a work containing the Program or a portion of it,
|
||||||
|
either verbatim or with modifications and/or translated into another
|
||||||
|
language. (Hereinafter, translation is included without limitation in
|
||||||
|
the term "modification".) Each licensee is addressed as "you".
|
||||||
|
|
||||||
|
Activities other than copying, distribution and modification are not
|
||||||
|
covered by this License; they are outside its scope. The act of
|
||||||
|
running the Program is not restricted, and the output from the Program
|
||||||
|
is covered only if its contents constitute a work based on the
|
||||||
|
Program (independent of having been made by running the Program).
|
||||||
|
Whether that is true depends on what the Program does.
|
||||||
|
|
||||||
|
1. You may copy and distribute verbatim copies of the Program's
|
||||||
|
source code as you receive it, in any medium, provided that you
|
||||||
|
conspicuously and appropriately publish on each copy an appropriate
|
||||||
|
copyright notice and disclaimer of warranty; keep intact all the
|
||||||
|
notices that refer to this License and to the absence of any warranty;
|
||||||
|
and give any other recipients of the Program a copy of this License
|
||||||
|
along with the Program.
|
||||||
|
|
||||||
|
You may charge a fee for the physical act of transferring a copy, and
|
||||||
|
you may at your option offer warranty protection in exchange for a fee.
|
||||||
|
|
||||||
|
2. You may modify your copy or copies of the Program or any portion
|
||||||
|
of it, thus forming a work based on the Program, and copy and
|
||||||
|
distribute such modifications or work under the terms of Section 1
|
||||||
|
above, provided that you also meet all of these conditions:
|
||||||
|
|
||||||
|
a) You must cause the modified files to carry prominent notices
|
||||||
|
stating that you changed the files and the date of any change.
|
||||||
|
|
||||||
|
b) You must cause any work that you distribute or publish, that in
|
||||||
|
whole or in part contains or is derived from the Program or any
|
||||||
|
part thereof, to be licensed as a whole at no charge to all third
|
||||||
|
parties under the terms of this License.
|
||||||
|
|
||||||
|
c) If the modified program normally reads commands interactively
|
||||||
|
when run, you must cause it, when started running for such
|
||||||
|
interactive use in the most ordinary way, to print or display an
|
||||||
|
announcement including an appropriate copyright notice and a
|
||||||
|
notice that there is no warranty (or else, saying that you provide
|
||||||
|
a warranty) and that users may redistribute the program under
|
||||||
|
these conditions, and telling the user how to view a copy of this
|
||||||
|
License. (Exception: if the Program itself is interactive but
|
||||||
|
does not normally print such an announcement, your work based on
|
||||||
|
the Program is not required to print an announcement.)
|
||||||
|
|
||||||
|
These requirements apply to the modified work as a whole. If
|
||||||
|
identifiable sections of that work are not derived from the Program,
|
||||||
|
and can be reasonably considered independent and separate works in
|
||||||
|
themselves, then this License, and its terms, do not apply to those
|
||||||
|
sections when you distribute them as separate works. But when you
|
||||||
|
distribute the same sections as part of a whole which is a work based
|
||||||
|
on the Program, the distribution of the whole must be on the terms of
|
||||||
|
this License, whose permissions for other licensees extend to the
|
||||||
|
entire whole, and thus to each and every part regardless of who wrote it.
|
||||||
|
|
||||||
|
Thus, it is not the intent of this section to claim rights or contest
|
||||||
|
your rights to work written entirely by you; rather, the intent is to
|
||||||
|
exercise the right to control the distribution of derivative or
|
||||||
|
collective works based on the Program.
|
||||||
|
|
||||||
|
In addition, mere aggregation of another work not based on the Program
|
||||||
|
with the Program (or with a work based on the Program) on a volume of
|
||||||
|
a storage or distribution medium does not bring the other work under
|
||||||
|
the scope of this License.
|
||||||
|
|
||||||
|
3. You may copy and distribute the Program (or a work based on it,
|
||||||
|
under Section 2) in object code or executable form under the terms of
|
||||||
|
Sections 1 and 2 above provided that you also do one of the following:
|
||||||
|
|
||||||
|
a) Accompany it with the complete corresponding machine-readable
|
||||||
|
source code, which must be distributed under the terms of Sections
|
||||||
|
1 and 2 above on a medium customarily used for software interchange; or,
|
||||||
|
|
||||||
|
b) Accompany it with a written offer, valid for at least three
|
||||||
|
years, to give any third party, for a charge no more than your
|
||||||
|
cost of physically performing source distribution, a complete
|
||||||
|
machine-readable copy of the corresponding source code, to be
|
||||||
|
distributed under the terms of Sections 1 and 2 above on a medium
|
||||||
|
customarily used for software interchange; or,
|
||||||
|
|
||||||
|
c) Accompany it with the information you received as to the offer
|
||||||
|
to distribute corresponding source code. (This alternative is
|
||||||
|
allowed only for noncommercial distribution and only if you
|
||||||
|
received the program in object code or executable form with such
|
||||||
|
an offer, in accord with Subsection b above.)
|
||||||
|
|
||||||
|
The source code for a work means the preferred form of the work for
|
||||||
|
making modifications to it. For an executable work, complete source
|
||||||
|
code means all the source code for all modules it contains, plus any
|
||||||
|
associated interface definition files, plus the scripts used to
|
||||||
|
control compilation and installation of the executable. However, as a
|
||||||
|
special exception, the source code distributed need not include
|
||||||
|
anything that is normally distributed (in either source or binary
|
||||||
|
form) with the major components (compiler, kernel, and so on) of the
|
||||||
|
operating system on which the executable runs, unless that component
|
||||||
|
itself accompanies the executable.
|
||||||
|
|
||||||
|
If distribution of executable or object code is made by offering
|
||||||
|
access to copy from a designated place, then offering equivalent
|
||||||
|
access to copy the source code from the same place counts as
|
||||||
|
distribution of the source code, even though third parties are not
|
||||||
|
compelled to copy the source along with the object code.
|
||||||
|
|
||||||
|
4. You may not copy, modify, sublicense, or distribute the Program
|
||||||
|
except as expressly provided under this License. Any attempt
|
||||||
|
otherwise to copy, modify, sublicense or distribute the Program is
|
||||||
|
void, and will automatically terminate your rights under this License.
|
||||||
|
However, parties who have received copies, or rights, from you under
|
||||||
|
this License will not have their licenses terminated so long as such
|
||||||
|
parties remain in full compliance.
|
||||||
|
|
||||||
|
5. You are not required to accept this License, since you have not
|
||||||
|
signed it. However, nothing else grants you permission to modify or
|
||||||
|
distribute the Program or its derivative works. These actions are
|
||||||
|
prohibited by law if you do not accept this License. Therefore, by
|
||||||
|
modifying or distributing the Program (or any work based on the
|
||||||
|
Program), you indicate your acceptance of this License to do so, and
|
||||||
|
all its terms and conditions for copying, distributing or modifying
|
||||||
|
the Program or works based on it.
|
||||||
|
|
||||||
|
6. Each time you redistribute the Program (or any work based on the
|
||||||
|
Program), the recipient automatically receives a license from the
|
||||||
|
original licensor to copy, distribute or modify the Program subject to
|
||||||
|
these terms and conditions. You may not impose any further
|
||||||
|
restrictions on the recipients' exercise of the rights granted herein.
|
||||||
|
You are not responsible for enforcing compliance by third parties to
|
||||||
|
this License.
|
||||||
|
|
||||||
|
7. If, as a consequence of a court judgment or allegation of patent
|
||||||
|
infringement or for any other reason (not limited to patent issues),
|
||||||
|
conditions are imposed on you (whether by court order, agreement or
|
||||||
|
otherwise) that contradict the conditions of this License, they do not
|
||||||
|
excuse you from the conditions of this License. If you cannot
|
||||||
|
distribute so as to satisfy simultaneously your obligations under this
|
||||||
|
License and any other pertinent obligations, then as a consequence you
|
||||||
|
may not distribute the Program at all. For example, if a patent
|
||||||
|
license would not permit royalty-free redistribution of the Program by
|
||||||
|
all those who receive copies directly or indirectly through you, then
|
||||||
|
the only way you could satisfy both it and this License would be to
|
||||||
|
refrain entirely from distribution of the Program.
|
||||||
|
|
||||||
|
If any portion of this section is held invalid or unenforceable under
|
||||||
|
any particular circumstance, the balance of the section is intended to
|
||||||
|
apply and the section as a whole is intended to apply in other
|
||||||
|
circumstances.
|
||||||
|
|
||||||
|
It is not the purpose of this section to induce you to infringe any
|
||||||
|
patents or other property right claims or to contest validity of any
|
||||||
|
such claims; this section has the sole purpose of protecting the
|
||||||
|
integrity of the free software distribution system, which is
|
||||||
|
implemented by public license practices. Many people have made
|
||||||
|
generous contributions to the wide range of software distributed
|
||||||
|
through that system in reliance on consistent application of that
|
||||||
|
system; it is up to the author/donor to decide if he or she is willing
|
||||||
|
to distribute software through any other system and a licensee cannot
|
||||||
|
impose that choice.
|
||||||
|
|
||||||
|
This section is intended to make thoroughly clear what is believed to
|
||||||
|
be a consequence of the rest of this License.
|
||||||
|
|
||||||
|
8. If the distribution and/or use of the Program is restricted in
|
||||||
|
certain countries either by patents or by copyrighted interfaces, the
|
||||||
|
original copyright holder who places the Program under this License
|
||||||
|
may add an explicit geographical distribution limitation excluding
|
||||||
|
those countries, so that distribution is permitted only in or among
|
||||||
|
countries not thus excluded. In such case, this License incorporates
|
||||||
|
the limitation as if written in the body of this License.
|
||||||
|
|
||||||
|
9. The Free Software Foundation may publish revised and/or new versions
|
||||||
|
of the General Public License from time to time. Such new versions will
|
||||||
|
be similar in spirit to the present version, but may differ in detail to
|
||||||
|
address new problems or concerns.
|
||||||
|
|
||||||
|
Each version is given a distinguishing version number. If the Program
|
||||||
|
specifies a version number of this License which applies to it and "any
|
||||||
|
later version", you have the option of following the terms and conditions
|
||||||
|
either of that version or of any later version published by the Free
|
||||||
|
Software Foundation. If the Program does not specify a version number of
|
||||||
|
this License, you may choose any version ever published by the Free Software
|
||||||
|
Foundation.
|
||||||
|
|
||||||
|
10. If you wish to incorporate parts of the Program into other free
|
||||||
|
programs whose distribution conditions are different, write to the author
|
||||||
|
to ask for permission. For software which is copyrighted by the Free
|
||||||
|
Software Foundation, write to the Free Software Foundation; we sometimes
|
||||||
|
make exceptions for this. Our decision will be guided by the two goals
|
||||||
|
of preserving the free status of all derivatives of our free software and
|
||||||
|
of promoting the sharing and reuse of software generally.
|
||||||
|
|
||||||
|
NO WARRANTY
|
||||||
|
|
||||||
|
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
|
||||||
|
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
|
||||||
|
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
|
||||||
|
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
|
||||||
|
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||||
|
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
|
||||||
|
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
|
||||||
|
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
|
||||||
|
REPAIR OR CORRECTION.
|
||||||
|
|
||||||
|
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||||
|
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
|
||||||
|
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
|
||||||
|
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
|
||||||
|
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
|
||||||
|
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
|
||||||
|
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
|
||||||
|
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
|
||||||
|
POSSIBILITY OF SUCH DAMAGES.
|
||||||
|
|
||||||
|
END OF TERMS AND CONDITIONS
|
||||||
|
|
||||||
|
Appendix: How to Apply These Terms to Your New Programs
|
||||||
|
|
||||||
|
If you develop a new program, and you want it to be of the greatest
|
||||||
|
possible use to the public, the best way to achieve this is to make it
|
||||||
|
free software which everyone can redistribute and change under these terms.
|
||||||
|
|
||||||
|
To do so, attach the following notices to the program. It is safest
|
||||||
|
to attach them to the start of each source file to most effectively
|
||||||
|
convey the exclusion of warranty; and each file should have at least
|
||||||
|
the "copyright" line and a pointer to where the full notice is found.
|
||||||
|
|
||||||
|
<one line to give the program's name and a brief idea of what it does.>
|
||||||
|
Copyright (C) 19yy <name of author>
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program; if not, write to the Free Software
|
||||||
|
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||||
|
|
||||||
|
Also add information on how to contact you by electronic and paper mail.
|
||||||
|
|
||||||
|
If the program is interactive, make it output a short notice like this
|
||||||
|
when it starts in an interactive mode:
|
||||||
|
|
||||||
|
Gnomovision version 69, Copyright (C) 19yy name of author
|
||||||
|
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||||
|
This is free software, and you are welcome to redistribute it
|
||||||
|
under certain conditions; type `show c' for details.
|
||||||
|
|
||||||
|
The hypothetical commands `show w' and `show c' should show the appropriate
|
||||||
|
parts of the General Public License. Of course, the commands you use may
|
||||||
|
be called something other than `show w' and `show c'; they could even be
|
||||||
|
mouse-clicks or menu items--whatever suits your program.
|
||||||
|
|
||||||
|
You should also get your employer (if you work as a programmer) or your
|
||||||
|
school, if any, to sign a "copyright disclaimer" for the program, if
|
||||||
|
necessary. Here is a sample; alter the names:
|
||||||
|
|
||||||
|
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
|
||||||
|
`Gnomovision' (which makes passes at compilers) written by James Hacker.
|
||||||
|
|
||||||
|
<signature of Ty Coon>, 1 April 1989
|
||||||
|
Ty Coon, President of Vice
|
||||||
|
|
||||||
|
This General Public License does not permit incorporating your program into
|
||||||
|
proprietary programs. If your program is a subroutine library, you may
|
||||||
|
consider it more useful to permit linking proprietary applications with the
|
||||||
|
library. If this is what you want to do, use the GNU Library General
|
||||||
|
Public License instead of this License.
|
@ -1,4 +1,11 @@
|
|||||||
$Revision$
|
$Revision$
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
;; ;;
|
||||||
|
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
|
||||||
|
;; Distributed under terms of the GNU General Public License ;;
|
||||||
|
;; ;;
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
;**********************************************************
|
;**********************************************************
|
||||||
; Непосредственная работа с устройством СD (ATAPI)
|
; Непосредственная работа с устройством СD (ATAPI)
|
||||||
;**********************************************************
|
;**********************************************************
|
||||||
|
@ -1,4 +1,11 @@
|
|||||||
$Revision$
|
$Revision$
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
;; ;;
|
||||||
|
;; 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:
|
sys_cd_audio:
|
||||||
|
|
||||||
cmp word [cdbase],word 0
|
cmp word [cdbase],word 0
|
||||||
|
@ -1,4 +1,12 @@
|
|||||||
$Revision$
|
$Revision$
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
;; ;;
|
||||||
|
;; 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
|
iglobal
|
||||||
;function pointers.
|
;function pointers.
|
||||||
fdc_irq_func dd fdc_null
|
fdc_irq_func dd fdc_null
|
||||||
|
@ -1,4 +1,11 @@
|
|||||||
$Revision$
|
$Revision$
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
;; ;;
|
||||||
|
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
|
||||||
|
;; Distributed under terms of the GNU General Public License ;;
|
||||||
|
;; ;;
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
;**********************************************************
|
;**********************************************************
|
||||||
; Непосредственная работа с контроллером гибкого диска
|
; Непосредственная работа с контроллером гибкого диска
|
||||||
;**********************************************************
|
;**********************************************************
|
||||||
|
@ -1,4 +1,11 @@
|
|||||||
$Revision$
|
$Revision$
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
;; ;;
|
||||||
|
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
|
||||||
|
;; Distributed under terms of the GNU General Public License ;;
|
||||||
|
;; ;;
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
; Low-level driver for HDD access
|
; Low-level driver for HDD access
|
||||||
; DMA support by Mario79
|
; DMA support by Mario79
|
||||||
|
|
||||||
|
@ -1,11 +1,14 @@
|
|||||||
$Revision$
|
$Revision$
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
;; ;;
|
;; ;;
|
||||||
;; RAMDISK functions ;;
|
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
|
||||||
;; (C) 2004 Ville Turjanmaa, License: GPL ;;
|
;; Distributed under terms of the GNU General Public License ;;
|
||||||
;; Addings by M.Lisovin ;;
|
;; ;;
|
||||||
;; LFN support by diamond ;;
|
;; RAMDISK functions ;;
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;; (C) 2004 Ville Turjanmaa, License: GPL ;;
|
||||||
|
;; Addings by M.Lisovin ;;
|
||||||
|
;; LFN support by diamond ;;
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
; calculate fat chain
|
; calculate fat chain
|
||||||
|
|
||||||
|
@ -1,4 +1,11 @@
|
|||||||
$Revision$
|
$Revision$
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
;; ;;
|
||||||
|
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
|
||||||
|
;; Distributed under terms of the GNU General Public License ;;
|
||||||
|
;; ;;
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
iglobal
|
iglobal
|
||||||
saverd_fileinfo:
|
saverd_fileinfo:
|
||||||
dd 2 ; subfunction: write
|
dd 2 ; subfunction: write
|
||||||
|
@ -1,12 +1,16 @@
|
|||||||
$Revision$
|
$Revision$
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
;; ;;
|
;; ;;
|
||||||
;; BOOTCODE.INC ;;
|
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
|
||||||
;; ;;
|
;; Copyright (C) MenuetOS 2000-2004 Ville Mikael Turjanmaa ;;
|
||||||
;; KolibriOS 16-bit loader, ;;
|
;; Distributed under terms of the GNU General Public License ;;
|
||||||
;; based on bootcode for MenuetOS ;;
|
;; ;;
|
||||||
;; ;;
|
;; BOOTCODE.INC ;;
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;; ;;
|
||||||
|
;; KolibriOS 16-bit loader, ;;
|
||||||
|
;; based on bootcode for MenuetOS ;;
|
||||||
|
;; ;;
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,4 +1,11 @@
|
|||||||
$Revision$
|
$Revision$
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
;; ;;
|
||||||
|
;; 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)
|
display_modechg db 0 ; display mode change for text, yes/no (0 or 2)
|
||||||
;
|
;
|
||||||
; !! Important note !!
|
; !! Important note !!
|
||||||
|
@ -1,4 +1,11 @@
|
|||||||
$Revision$
|
$Revision$
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
;; ;;
|
||||||
|
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
|
||||||
|
;; Distributed under terms of the GNU General Public License ;;
|
||||||
|
;; ;;
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
; READ RAMDISK IMAGE FROM HD
|
; READ RAMDISK IMAGE FROM HD
|
||||||
|
|
||||||
cmp [boot_dev],1
|
cmp [boot_dev],1
|
||||||
|
@ -1,12 +1,16 @@
|
|||||||
$Revision$
|
$Revision$
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
;;
|
;; ;;
|
||||||
;; Shutdown for Menuet
|
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
|
||||||
;;
|
;; Distributed under terms of the GNU General Public License ;;
|
||||||
;; Distributed under General Public License
|
;; ;;
|
||||||
;; See file COPYING for details.
|
;; Shutdown for Menuet ;;
|
||||||
;; Copyright 2003 Ville Turjanmaa
|
;; ;;
|
||||||
;;
|
;; Distributed under General Public License ;;
|
||||||
|
;; See file COPYING for details. ;;
|
||||||
|
;; Copyright 2003 Ville Turjanmaa ;;
|
||||||
|
;; ;;
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
|
|
||||||
system_shutdown: ; shut down the system
|
system_shutdown: ; shut down the system
|
||||||
@ -124,12 +128,12 @@ system_shutdown: ; shut down the system
|
|||||||
push 12
|
push 12
|
||||||
pop esi
|
pop esi
|
||||||
push edi ; may be destroyed
|
push edi ; may be destroyed
|
||||||
|
|
||||||
pushad
|
pushad
|
||||||
push eax
|
push eax
|
||||||
call file_system_lfn ; by SPraid fileread
|
call file_system_lfn ; by SPraid fileread
|
||||||
pop eax
|
pop eax
|
||||||
popad
|
popad
|
||||||
pop edi
|
pop edi
|
||||||
|
|
||||||
pop ecx
|
pop ecx
|
||||||
|
@ -1,17 +1,20 @@
|
|||||||
$Revision$
|
$Revision$
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
;; ;;
|
;; ;;
|
||||||
;; PCI16.INC ;;
|
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
|
||||||
;; ;;
|
;; Distributed under terms of the GNU General Public License ;;
|
||||||
;; 16 bit PCI driver code ;;
|
;; ;;
|
||||||
;; ;;
|
;; PCI16.INC ;;
|
||||||
;; Version 0.2 December 21st, 2002 ;;
|
;; ;;
|
||||||
;; ;;
|
;; 16 bit PCI driver code ;;
|
||||||
;; Author: Victor Prodan, victorprodan@yahoo.com ;;
|
;; ;;
|
||||||
;; ;;
|
;; Version 0.2 December 21st, 2002 ;;
|
||||||
;; See file COPYING for details ;;
|
;; ;;
|
||||||
;; ;;
|
;; Author: Victor Prodan, victorprodan@yahoo.com ;;
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;; ;;
|
||||||
|
;; See file COPYING for details ;;
|
||||||
|
;; ;;
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
|
|
||||||
init_pci_16:
|
init_pci_16:
|
||||||
@ -44,4 +47,4 @@ pci16skip:
|
|||||||
mov ax,0x1000
|
mov ax,0x1000
|
||||||
mov es,ax
|
mov es,ax
|
||||||
|
|
||||||
popad
|
popad
|
||||||
|
@ -1,20 +1,24 @@
|
|||||||
$Revision$
|
$Revision$
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
;; ;;
|
;; ;;
|
||||||
;; PCI32.INC ;;
|
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
|
||||||
;; ;;
|
;; Distributed under terms of the GNU General Public License ;;
|
||||||
;; 32 bit PCI driver code ;;
|
;; ;;
|
||||||
;; ;;
|
;; ;;
|
||||||
;; Version 0.2 December 21st, 2002 ;;
|
;; PCI32.INC ;;
|
||||||
;; ;;
|
;; ;;
|
||||||
;; Author: Victor Prodan, victorprodan@yahoo.com ;;
|
;; 32 bit PCI driver code ;;
|
||||||
;; Credits: ;;
|
;; ;;
|
||||||
;; Ralf Brown ;;
|
;; Version 0.2 December 21st, 2002 ;;
|
||||||
;; Mike Hibbett, mikeh@oceanfree.net ;;
|
;; ;;
|
||||||
;; ;;
|
;; Author: Victor Prodan, victorprodan@yahoo.com ;;
|
||||||
;; See file COPYING for details ;;
|
;; Credits: ;;
|
||||||
;; ;;
|
;; Ralf Brown ;;
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;; Mike Hibbett, mikeh@oceanfree.net ;;
|
||||||
|
;; ;;
|
||||||
|
;; See file COPYING for details ;;
|
||||||
|
;; ;;
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
|
|
||||||
;***************************************************************************
|
;***************************************************************************
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
$Revision$
|
$Revision$
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
;; ;;
|
||||||
|
;; 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
|
drw0 equ 10010010b ; data read/write dpl0
|
||||||
drw3 equ 11110010b ; data read/write dpl3
|
drw3 equ 11110010b ; data read/write dpl3
|
||||||
|
@ -1,4 +1,11 @@
|
|||||||
$Revision$
|
$Revision$
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
;; ;;
|
||||||
|
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
|
||||||
|
;; Distributed under terms of the GNU General Public License ;;
|
||||||
|
;; ;;
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
; diamond, 2006
|
; diamond, 2006
|
||||||
sys_debug_services:
|
sys_debug_services:
|
||||||
cmp eax, 9
|
cmp eax, 9
|
||||||
|
@ -1,4 +1,10 @@
|
|||||||
$Revision$
|
$Revision$
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
;; ;;
|
||||||
|
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
|
||||||
|
;; Distributed under terms of the GNU General Public License ;;
|
||||||
|
;; ;;
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
DRV_ENTRY equ 1
|
DRV_ENTRY equ 1
|
||||||
DRV_EXIT equ -1
|
DRV_EXIT equ -1
|
||||||
|
@ -1,4 +1,10 @@
|
|||||||
$Revision$
|
$Revision$
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
;; ;;
|
||||||
|
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
|
||||||
|
;; Distributed under terms of the GNU General Public License ;;
|
||||||
|
;; ;;
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
iglobal
|
iglobal
|
||||||
szKernel db 'KERNEL', 0
|
szKernel db 'KERNEL', 0
|
||||||
|
@ -1,4 +1,10 @@
|
|||||||
$Revision$
|
$Revision$
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
;; ;;
|
||||||
|
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
|
||||||
|
;; Distributed under terms of the GNU General Public License ;;
|
||||||
|
;; ;;
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
init_fpu:
|
init_fpu:
|
||||||
clts
|
clts
|
||||||
|
@ -1,4 +1,10 @@
|
|||||||
$Revision$
|
$Revision$
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
;; ;;
|
||||||
|
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
|
||||||
|
;; Distributed under terms of the GNU General Public License ;;
|
||||||
|
;; ;;
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
struc MEM_BLOCK
|
struc MEM_BLOCK
|
||||||
{ .next_block dd ?
|
{ .next_block dd ?
|
||||||
|
@ -1,4 +1,11 @@
|
|||||||
$Revision$
|
$Revision$
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
;; ;;
|
||||||
|
;; 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
|
; 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)
|
; 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
|
; Source ftp://gee.cs.oswego.edu/pub/misc/malloc.c
|
||||||
|
@ -1,4 +1,10 @@
|
|||||||
$Revision$
|
$Revision$
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
;; ;;
|
||||||
|
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
|
||||||
|
;; Distributed under terms of the GNU General Public License ;;
|
||||||
|
;; ;;
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
tmp_page_tab equ HEAP_BASE
|
tmp_page_tab equ HEAP_BASE
|
||||||
|
|
||||||
|
@ -1,9 +1,15 @@
|
|||||||
$Revision$
|
$Revision$
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
;; ;;
|
||||||
|
;; 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 ;;
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
;; IRQ0 HANDLER (TIMER INTERRUPT) ;;
|
;; IRQ0 HANDLER (TIMER INTERRUPT) ;;
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
|
|
||||||
align 32
|
align 32
|
||||||
irq0:
|
irq0:
|
||||||
save_ring3_context
|
save_ring3_context
|
||||||
|
@ -1,11 +1,16 @@
|
|||||||
$Revision$
|
$Revision$
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
;; ;;
|
||||||
|
;; 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
|
if ~defined sync_inc
|
||||||
sync_inc_fix:
|
sync_inc_fix:
|
||||||
sync_inc fix sync_inc_fix
|
sync_inc fix sync_inc_fix
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
||||||
;;Synhronization for MenuetOS. ;;
|
|
||||||
;;Author: Halyavin Andrey, halyavin@land.ru ;;
|
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
||||||
|
|
||||||
;simplest mutex.
|
;simplest mutex.
|
||||||
macro SimpleMutex name
|
macro SimpleMutex name
|
||||||
|
@ -1,12 +1,16 @@
|
|||||||
$Revision$
|
$Revision$
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
;; ;;
|
;; ;;
|
||||||
;; MenuetOS process management, protected ring3 ;;
|
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
|
||||||
;; ;;
|
;; Distributed under terms of the GNU General Public License ;;
|
||||||
;; Distributed under GPL. See file COPYING for details. ;;
|
;; ;;
|
||||||
;; Copyright 2003 Ville Turjanmaa ;;
|
;; ;;
|
||||||
;; ;;
|
;; MenuetOS process management, protected ring3 ;;
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;; ;;
|
||||||
|
;; Distributed under GPL. See file COPYING for details. ;;
|
||||||
|
;; Copyright 2003 Ville Turjanmaa ;;
|
||||||
|
;; ;;
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
align 4
|
align 4
|
||||||
idtreg:
|
idtreg:
|
||||||
|
@ -1,4 +1,11 @@
|
|||||||
$Revision$
|
$Revision$
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
;; ;;
|
||||||
|
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
|
||||||
|
;; Distributed under terms of the GNU General Public License ;;
|
||||||
|
;; ;;
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
;; ;;
|
;; ;;
|
||||||
;; SYSTEM CALL ENTRY ;;
|
;; SYSTEM CALL ENTRY ;;
|
||||||
|
@ -1,6 +1,12 @@
|
|||||||
$Revision$
|
$Revision$
|
||||||
GREEDY_KERNEL equ 0
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
;; ;;
|
||||||
|
;; 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
|
struc APP_HEADER_00
|
||||||
{ .banner dq ?
|
{ .banner dq ?
|
||||||
|
@ -1,4 +1,11 @@
|
|||||||
$Revision$
|
$Revision$
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
;; ;;
|
||||||
|
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
|
||||||
|
;; Distributed under terms of the GNU General Public License ;;
|
||||||
|
;; ;;
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
;**************************************************
|
;**************************************************
|
||||||
;* ПОИСК МЫШИ ПО ПОСЛЕДОВАТЕЛЬНЫМ ПОРТАМ *
|
;* ПОИСК МЫШИ ПО ПОСЛЕДОВАТЕЛЬНЫМ ПОРТАМ *
|
||||||
;* Процедура подготавливает глобальные переменные *
|
;* Процедура подготавливает глобальные переменные *
|
||||||
|
@ -1,4 +1,11 @@
|
|||||||
$Revision$
|
$Revision$
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
;; ;;
|
||||||
|
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
|
||||||
|
;; Distributed under terms of the GNU General Public License ;;
|
||||||
|
;; ;;
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
;***************************************************
|
;***************************************************
|
||||||
; предварительная очистка области таблицы
|
; предварительная очистка области таблицы
|
||||||
; поиск и занесение в таблицу приводов FDD
|
; поиск и занесение в таблицу приводов FDD
|
||||||
|
@ -1,4 +1,11 @@
|
|||||||
$Revision$
|
$Revision$
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
;; ;;
|
||||||
|
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
|
||||||
|
;; Distributed under terms of the GNU General Public License ;;
|
||||||
|
;; ;;
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
;******************************************************
|
;******************************************************
|
||||||
; поиск приводов HDD и CD
|
; поиск приводов HDD и CD
|
||||||
; автор исходного текста Кулаков Владимир Геннадьевич.
|
; автор исходного текста Кулаков Владимир Геннадьевич.
|
||||||
|
@ -1,4 +1,11 @@
|
|||||||
$Revision$
|
$Revision$
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
;; ;;
|
||||||
|
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
|
||||||
|
;; Distributed under terms of the GNU General Public License ;;
|
||||||
|
;; ;;
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
MouseSearch_PS2:
|
MouseSearch_PS2:
|
||||||
jmp MouseSearch_PS2_begin
|
jmp MouseSearch_PS2_begin
|
||||||
|
|
||||||
@ -76,7 +83,7 @@ MouseSearch_PS2_begin:
|
|||||||
|
|
||||||
mov bl, 0xAD ; disable keyboard interface
|
mov bl, 0xAD ; disable keyboard interface
|
||||||
call kb_cmd_c
|
call kb_cmd_c
|
||||||
|
|
||||||
mov bl, 0xA8 ; enable mouse interface
|
mov bl, 0xA8 ; enable mouse interface
|
||||||
call kb_cmd_c
|
call kb_cmd_c
|
||||||
|
|
||||||
|
@ -1,5 +1,11 @@
|
|||||||
$Revision$
|
$Revision$
|
||||||
;****************************************************
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
;; ;;
|
||||||
|
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
|
||||||
|
;; Distributed under terms of the GNU General Public License ;;
|
||||||
|
;; ;;
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
;****************************************************
|
||||||
; поиск логических дисков на обнаруженных HDD
|
; поиск логических дисков на обнаруженных HDD
|
||||||
; и занесение данных в область таблицы
|
; и занесение данных в область таблицы
|
||||||
; автор Mario79
|
; автор Mario79
|
||||||
|
@ -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
|
format MS COFF
|
||||||
|
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
;; ;;
|
||||||
|
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
|
||||||
|
;; Distributed under terms of the GNU General Public License ;;
|
||||||
|
;; ;;
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
align 4
|
align 4
|
||||||
proc detect_codec
|
proc detect_codec
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
;; ;;
|
||||||
|
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
|
||||||
|
;; Distributed under terms of the GNU General Public License ;;
|
||||||
|
;; ;;
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
;alpha version
|
;alpha version
|
||||||
|
|
||||||
|
@ -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
|
; all exported kernel functions and data
|
||||||
|
|
||||||
|
@ -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
|
; (C) copyright Serge 2006
|
||||||
; email: infinity_sound@mail.ru
|
; 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
|
format MS COFF
|
||||||
|
|
||||||
|
@ -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
|
; (C) copyright Serge 2006-2007
|
||||||
; email: infinity_sound@mail.ru
|
; 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
|
SOUND_VERSION equ 0x01000100
|
||||||
|
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
;; ;;
|
||||||
|
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
|
||||||
|
;; Distributed under terms of the GNU General Public License ;;
|
||||||
|
;; ;;
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
; params
|
; params
|
||||||
; edi= output
|
; edi= output
|
||||||
|
@ -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
|
if used mmx128_mix_2
|
||||||
|
|
||||||
|
@ -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
|
; (C) copyright Serge 2006
|
||||||
; email: infinity_sound@mail.ru
|
; 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
|
align 4
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
;; ;;
|
||||||
|
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
|
||||||
|
;; Distributed under terms of the GNU General Public License ;;
|
||||||
|
;; ;;
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
;driver sceletone
|
;driver sceletone
|
||||||
|
|
||||||
|
@ -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
|
format MS COFF
|
||||||
|
|
||||||
|
@ -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
|
format MS COFF
|
||||||
|
|
||||||
|
@ -1,4 +1,9 @@
|
|||||||
$Revision$
|
$Revision$
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
;; ;;
|
||||||
|
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
|
||||||
|
;; Distributed under terms of the GNU General Public License ;;
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
;
|
;
|
||||||
; Formatted Debug Output (FDO)
|
; Formatted Debug Output (FDO)
|
||||||
; Copyright (c) 2005-2006, mike.dld
|
; Copyright (c) 2005-2006, mike.dld
|
||||||
|
@ -1,10 +1,13 @@
|
|||||||
$Revision$
|
$Revision$
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
;; ;;
|
;; ;;
|
||||||
;; FAT12.INC ;;
|
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
|
||||||
;; (C) 2005 Mario79, License: GPL ;;
|
;; Distributed under terms of the GNU General Public License ;;
|
||||||
;; ;;
|
;; ;;
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;; FAT12.INC ;;
|
||||||
|
;; (C) 2005 Mario79, License: GPL ;;
|
||||||
|
;; ;;
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
n_sector dd 0 ; temporary save for sector value
|
n_sector dd 0 ; temporary save for sector value
|
||||||
flp_status dd 0
|
flp_status dd 0
|
||||||
|
@ -1,46 +1,49 @@
|
|||||||
$Revision$
|
$Revision$
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
;; ;;
|
;; ;;
|
||||||
;; FAT32.INC ;;
|
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
|
||||||
;; ;;
|
;; Distributed under terms of the GNU General Public License ;;
|
||||||
;; FAT16/32 functions for KolibriOS ;;
|
;; ;;
|
||||||
;; ;;
|
;; FAT32.INC ;;
|
||||||
;; Copyright 2002 Paolo Minazzi, paolo.minazzi@inwind.it ;;
|
;; ;;
|
||||||
;; ;;
|
;; FAT16/32 functions for KolibriOS ;;
|
||||||
;; See file COPYING for details ;;
|
;; ;;
|
||||||
;; 04.02.2007 LFN create folder - diamond ;;
|
;; Copyright 2002 Paolo Minazzi, paolo.minazzi@inwind.it ;;
|
||||||
;; 08.10.2006 LFN delete file/folder - diamond ;;
|
;; ;;
|
||||||
;; 20.08.2006 LFN set file size (truncate/extend) - diamond ;;
|
;; See file COPYING for details ;;
|
||||||
;; 17.08.2006 LFN write/append to file - diamond ;;
|
;; 04.02.2007 LFN create folder - diamond ;;
|
||||||
;; 23.06.2006 LFN start application - diamond ;;
|
;; 08.10.2006 LFN delete file/folder - diamond ;;
|
||||||
;; 15.06.2006 LFN get/set file/folder info - diamond ;;
|
;; 20.08.2006 LFN set file size (truncate/extend) - diamond ;;
|
||||||
;; 27.05.2006 LFN create/rewrite file - diamond ;;
|
;; 17.08.2006 LFN write/append to file - diamond ;;
|
||||||
;; 04.05.2006 LFN read folder - diamond ;;
|
;; 23.06.2006 LFN start application - diamond ;;
|
||||||
;; 29.04.2006 Elimination of hangup after the ;;
|
;; 15.06.2006 LFN get/set file/folder info - diamond ;;
|
||||||
;; expiration hd_wait_timeout - Mario79 ;;
|
;; 27.05.2006 LFN create/rewrite file - diamond ;;
|
||||||
;; 23.04.2006 LFN read file - diamond ;;
|
;; 04.05.2006 LFN read folder - diamond ;;
|
||||||
;; 28.01.2006 find all Fat16/32 partition in all input point ;;
|
;; 29.04.2006 Elimination of hangup after the ;;
|
||||||
;; to MBR, see file part_set.inc - Mario79 ;;
|
;; expiration hd_wait_timeout - Mario79 ;;
|
||||||
;; 15.01.2005 get file size/attr/date, file_append - ATV ;;
|
;; 23.04.2006 LFN read file - diamond ;;
|
||||||
;; 04.12.2004 skip volume label, file delete bug fixed - ATV ;;
|
;; 28.01.2006 find all Fat16/32 partition in all input point ;;
|
||||||
;; 29.11.2004 get_free_FAT changed, append dir bug fixed - ATV ;;
|
;; to MBR, see file part_set.inc - Mario79 ;;
|
||||||
;; 23.11.2004 don't allow overwrite dir with file - ATV ;;
|
;; 15.01.2005 get file size/attr/date, file_append - ATV ;;
|
||||||
;; 18.11.2004 get_disk_info and more error codes - ATV ;;
|
;; 04.12.2004 skip volume label, file delete bug fixed - ATV ;;
|
||||||
;; 17.11.2004 set_FAT/get_FAT and disk cache rewritten - ATV ;;
|
;; 29.11.2004 get_free_FAT changed, append dir bug fixed - ATV ;;
|
||||||
;; 10.11.2004 removedir clear whole directory structure - ATV ;;
|
;; 23.11.2004 don't allow overwrite dir with file - ATV ;;
|
||||||
;; 08.11.2004 rename - ATV ;;
|
;; 18.11.2004 get_disk_info and more error codes - ATV ;;
|
||||||
;; 30.10.2004 file_read return also dirsize in bytes - ATV ;;
|
;; 17.11.2004 set_FAT/get_FAT and disk cache rewritten - ATV ;;
|
||||||
;; 20.10.2004 Makedir/Removedir - ATV ;;
|
;; 10.11.2004 removedir clear whole directory structure - ATV ;;
|
||||||
;; 14.10.2004 Partition chain/Fat16 - ATV (thanks drh3xx) ;;
|
;; 08.11.2004 rename - ATV ;;
|
||||||
;; 06.9.2004 Fix free space by Mario79 added - MH ;;
|
;; 30.10.2004 file_read return also dirsize in bytes - ATV ;;
|
||||||
;; 24.5.2004 Write back buffer for File_write -VT ;;
|
;; 20.10.2004 Makedir/Removedir - ATV ;;
|
||||||
;; 20.5.2004 File_read function to work with syscall 58 - VT ;;
|
;; 14.10.2004 Partition chain/Fat16 - ATV (thanks drh3xx) ;;
|
||||||
;; 30.3.2004 Error parameters at function return - VT ;;
|
;; 06.9.2004 Fix free space by Mario79 added - MH ;;
|
||||||
;; 01.5.2002 Bugfix in device write - VT ;;
|
;; 24.5.2004 Write back buffer for File_write -VT ;;
|
||||||
;; 20.5.2002 Hd status check - VT ;;
|
;; 20.5.2004 File_read function to work with syscall 58 - VT ;;
|
||||||
;; 29.6.2002 Improved fat32 verification - VT ;;
|
;; 30.3.2004 Error parameters at function return - VT ;;
|
||||||
;; ;;
|
;; 01.5.2002 Bugfix in device write - VT ;;
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;; 20.5.2002 Hd status check - VT ;;
|
||||||
|
;; 29.6.2002 Improved fat32 verification - VT ;;
|
||||||
|
;; ;;
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
cache_max equ 1919 ; max. is 1919*512+0x610000=0x6ffe00
|
cache_max equ 1919 ; max. is 1919*512+0x610000=0x6ffe00
|
||||||
|
|
||||||
|
@ -1,17 +1,22 @@
|
|||||||
$Revision$
|
$Revision$
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
;; ;;
|
;; ;;
|
||||||
;; System service for filesystem call ;;
|
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
|
||||||
;; (C) 2004 Ville Turjanmaa, License: GPL ;;
|
;; Distributed under terms of the GNU General Public License ;;
|
||||||
;; 29.04.2006 Elimination of hangup after the ;;
|
;; ;;
|
||||||
;; expiration hd_wait_timeout (for LBA) - Mario79 ;;
|
;; ;;
|
||||||
;; 15.01.2005 get file size/attr/date, file_append (only for hd) - ATV ;;
|
;; System service for filesystem call ;;
|
||||||
;; 23.11.2004 test if hd/partition is set - ATV ;;
|
;; (C) 2004 Ville Turjanmaa, License: GPL ;;
|
||||||
;; 18.11.2004 get_disk_info and more error codes - ATV ;;
|
;; 29.04.2006 Elimination of hangup after the ;;
|
||||||
;; 08.11.2004 expand_pathz and rename (only for hd) - ATV ;;
|
;; expiration hd_wait_timeout (for LBA) - Mario79 ;;
|
||||||
;; 20.10.2004 Makedir/Removedir (only for hd) - ATV ;;
|
;; 15.01.2005 get file size/attr/date, ;;
|
||||||
;; ;;
|
;; file_append (only for hd) - ATV ;;
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;; 23.11.2004 test if hd/partition is set - ATV ;;
|
||||||
|
;; 18.11.2004 get_disk_info and more error codes - ATV ;;
|
||||||
|
;; 08.11.2004 expand_pathz and rename (only for hd) - ATV ;;
|
||||||
|
;; 20.10.2004 Makedir/Removedir (only for hd) - ATV ;;
|
||||||
|
;; ;;
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
iglobal
|
iglobal
|
||||||
dir0: db 'HARDDISK '
|
dir0: db 'HARDDISK '
|
||||||
|
@ -1,4 +1,11 @@
|
|||||||
$Revision$
|
$Revision$
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
;; ;;
|
||||||
|
;; 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)
|
; System function 70 - files with long names (LFN)
|
||||||
; diamond, 2006
|
; diamond, 2006
|
||||||
|
|
||||||
|
@ -1,4 +1,10 @@
|
|||||||
$Revision$
|
$Revision$
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
;; ;;
|
||||||
|
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
|
||||||
|
;; Distributed under terms of the GNU General Public License ;;
|
||||||
|
;; ;;
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
uglobal
|
uglobal
|
||||||
cd_current_pointer_of_input dd 0
|
cd_current_pointer_of_input dd 0
|
||||||
|
@ -1,4 +1,11 @@
|
|||||||
$Revision$
|
$Revision$
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
;; ;;
|
||||||
|
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
|
||||||
|
;; Distributed under terms of the GNU General Public License ;;
|
||||||
|
;; ;;
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
ntfs_test_bootsec:
|
ntfs_test_bootsec:
|
||||||
; in: ebx->buffer, edx=size of partition
|
; in: ebx->buffer, edx=size of partition
|
||||||
; out: CF set <=> invalid
|
; out: CF set <=> invalid
|
||||||
|
@ -1,4 +1,11 @@
|
|||||||
$Revision$
|
$Revision$
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
;; ;;
|
||||||
|
;; 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 *
|
;* 29.04.2006 Elimination of hangup after the *
|
||||||
;* expiration hd_wait_timeout - Mario79 *
|
;* expiration hd_wait_timeout - Mario79 *
|
||||||
@ -10,7 +17,7 @@ uglobal
|
|||||||
align 4
|
align 4
|
||||||
|
|
||||||
;******************************************************
|
;******************************************************
|
||||||
; Please do not change this place - variables in text
|
; Please do not change this place - variables in text
|
||||||
; Mario79
|
; Mario79
|
||||||
; START place
|
; START place
|
||||||
;******************************************************
|
;******************************************************
|
||||||
|
@ -1,4 +1,11 @@
|
|||||||
$Revision$
|
$Revision$
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
;; ;;
|
||||||
|
;; 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
|
max_buttons=4095
|
||||||
dececx:
|
dececx:
|
||||||
push edx
|
push edx
|
||||||
|
@ -1,4 +1,10 @@
|
|||||||
$Revision$
|
$Revision$
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
;; ;;
|
||||||
|
;; 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
|
align 4
|
||||||
init_events:
|
init_events:
|
||||||
|
@ -1,4 +1,11 @@
|
|||||||
$Revision$
|
$Revision$
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
;; ;;
|
||||||
|
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
|
||||||
|
;; Distributed under terms of the GNU General Public License ;;
|
||||||
|
;; ;;
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
align 4
|
align 4
|
||||||
dtext: ; Text String Output (rw by Johnny_B[john@kolibrios.org])
|
dtext: ; Text String Output (rw by Johnny_B[john@kolibrios.org])
|
||||||
; eax x & y
|
; eax x & y
|
||||||
|
@ -1,4 +1,10 @@
|
|||||||
$Revision$
|
$Revision$
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
;; ;;
|
||||||
|
;; 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
|
iglobal
|
||||||
|
|
||||||
|
@ -1,4 +1,11 @@
|
|||||||
$Revision$
|
$Revision$
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
;; ;;
|
||||||
|
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
|
||||||
|
;; Distributed under terms of the GNU General Public License ;;
|
||||||
|
;; ;;
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
include "skindata.inc"
|
include "skindata.inc"
|
||||||
|
|
||||||
;skin_data = 0x00778000
|
;skin_data = 0x00778000
|
||||||
@ -15,7 +22,7 @@ load_skin_file:
|
|||||||
push eax
|
push eax
|
||||||
sub edx,std_application_base_address
|
sub edx,std_application_base_address
|
||||||
mov [skin_to_load.adr],edx
|
mov [skin_to_load.adr],edx
|
||||||
|
|
||||||
;sub eax,std_application_base_address
|
;sub eax,std_application_base_address
|
||||||
;mov [skin_to_load.stradr],eax
|
;mov [skin_to_load.stradr],eax
|
||||||
mov [skin_to_load.stradr],_skin_file_default - std_application_base_address
|
mov [skin_to_load.stradr],_skin_file_default - std_application_base_address
|
||||||
@ -28,15 +35,15 @@ load_skin_file:
|
|||||||
|
|
||||||
|
|
||||||
ret
|
ret
|
||||||
|
|
||||||
|
|
||||||
skin_to_load:
|
skin_to_load:
|
||||||
dd 0,0,0
|
dd 0,0,0
|
||||||
dd 64*1024
|
dd 64*1024
|
||||||
.adr dd 0
|
.adr dd 0
|
||||||
db 0
|
db 0
|
||||||
.stradr dd 0
|
.stradr dd 0
|
||||||
|
|
||||||
|
|
||||||
struct SKIN_HEADER
|
struct SKIN_HEADER
|
||||||
.ident dd ?
|
.ident dd ?
|
||||||
|
@ -1,4 +1,11 @@
|
|||||||
$Revision$
|
$Revision$
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
;; ;;
|
||||||
|
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
|
||||||
|
;; Distributed under terms of the GNU General Public License ;;
|
||||||
|
;; ;;
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
;
|
;
|
||||||
; WINDOW SKIN DATA
|
; WINDOW SKIN DATA
|
||||||
;
|
;
|
||||||
|
@ -1,4 +1,11 @@
|
|||||||
$Revision$
|
$Revision$
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
;; ;;
|
||||||
|
;; 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
|
get_titlebar_height: ; edi = window draw_data pointer
|
||||||
mov al,[edi+WDATA.fl_wstyle]
|
mov al,[edi+WDATA.fl_wstyle]
|
||||||
and al,0x0F
|
and al,0x0F
|
||||||
|
@ -1,4 +1,11 @@
|
|||||||
$Revision$
|
$Revision$
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
;; ;;
|
||||||
|
;; 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 [
|
;// mike.dld [
|
||||||
|
|
||||||
VKEY_LSHIFT = 0000000000000001b
|
VKEY_LSHIFT = 0000000000000001b
|
||||||
|
@ -1,4 +1,11 @@
|
|||||||
$Revision$
|
$Revision$
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
;; ;;
|
||||||
|
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
|
||||||
|
;; Distributed under terms of the GNU General Public License ;;
|
||||||
|
;; ;;
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
; Номер принимаемого от мыши байта
|
; Номер принимаемого от мыши байта
|
||||||
MouseByteNumber DB 0
|
MouseByteNumber DB 0
|
||||||
; Трехбайтовая структура данных, передаваемая мышью
|
; Трехбайтовая структура данных, передаваемая мышью
|
||||||
|
@ -1,4 +1,11 @@
|
|||||||
$Revision$
|
$Revision$
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
;; ;;
|
||||||
|
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
|
||||||
|
;; Distributed under terms of the GNU General Public License ;;
|
||||||
|
;; ;;
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
; Номер принимаемого от мыши байта
|
; Номер принимаемого от мыши байта
|
||||||
MouseByteNumber_1 DB 0
|
MouseByteNumber_1 DB 0
|
||||||
; Трехбайтовая структура данных, передаваемая мышью
|
; Трехбайтовая структура данных, передаваемая мышью
|
||||||
|
@ -1,4 +1,11 @@
|
|||||||
$Revision$
|
$Revision$
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
;; ;;
|
||||||
|
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
|
||||||
|
;; Distributed under terms of the GNU General Public License ;;
|
||||||
|
;; ;;
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
; Номер принимаемого от мыши байта
|
; Номер принимаемого от мыши байта
|
||||||
MouseByteNumber_2 DB 0
|
MouseByteNumber_2 DB 0
|
||||||
; Трехбайтовая структура данных, передаваемая мышью
|
; Трехбайтовая структура данных, передаваемая мышью
|
||||||
|
@ -1,4 +1,11 @@
|
|||||||
$Revision$
|
$Revision$
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
;; ;;
|
||||||
|
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
|
||||||
|
;; Distributed under terms of the GNU General Public License ;;
|
||||||
|
;; ;;
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
; check mouse
|
; check mouse
|
||||||
;
|
;
|
||||||
;
|
;
|
||||||
|
@ -1,4 +1,11 @@
|
|||||||
$Revision$
|
$Revision$
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
;; ;;
|
||||||
|
;; 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
|
;setting date,time,clock and alarm-clock
|
||||||
;add sys_settime at servetable as for ex. 22 fcn:
|
;add sys_settime at servetable as for ex. 22 fcn:
|
||||||
; 22 - SETTING DATE TIME, CLOCK AND ALARM-CLOCK
|
; 22 - SETTING DATE TIME, CLOCK AND ALARM-CLOCK
|
||||||
@ -181,7 +188,7 @@ sys_settime:
|
|||||||
sti
|
sti
|
||||||
mov [esp+36],dword 1
|
mov [esp+36],dword 1
|
||||||
ret
|
ret
|
||||||
|
|
||||||
startstopclk:
|
startstopclk:
|
||||||
mov al,0x0b
|
mov al,0x0b
|
||||||
out dx,al
|
out dx,al
|
||||||
|
@ -1,13 +1,54 @@
|
|||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
;;
|
;;
|
||||||
;; Kolibri OS - based on source code Menuet OS, but not 100% compatible.
|
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved.
|
||||||
|
;; PROGRAMMING:
|
||||||
|
;; Ivan Poddubny
|
||||||
|
;; Marat Zakiyanov (Mario79)
|
||||||
|
;; VaStaNi
|
||||||
|
;; Trans
|
||||||
|
;; Mihail Semenyako (mike.dld)
|
||||||
|
;; Sergey Kuzmin (Wildwest)
|
||||||
|
;; Andrey Halyavin (halyavin)
|
||||||
|
;; Mihail Lisovin (Mihasik)
|
||||||
|
;; Andrey Ignatiev (andrew_programmer)
|
||||||
|
;; NoName
|
||||||
|
;; Evgeny Grechnikov (Diamond)
|
||||||
|
;; Iliya Mihailov (Ghost)
|
||||||
|
;; Sergey Semyonov (Serge)
|
||||||
|
;; Johnny_B
|
||||||
;;
|
;;
|
||||||
;; See file COPYING or GNU.TXT for details with these additional details:
|
;; Data in this file was originally part of MenuetOS project which is
|
||||||
;; - All code written in 32 bit x86 assembly language
|
;; distributed under the terms of GNU GPL. It is modified and redistributed as
|
||||||
;; - No external code (eg. bios) at process execution time
|
;; part of KolibriOS project under the terms of GNU GPL.
|
||||||
;;
|
;;
|
||||||
|
;; Copyright (C) MenuetOS 2000-2004 Ville Mikael Turjanmaa
|
||||||
|
;; PROGRAMMING:
|
||||||
;;
|
;;
|
||||||
;; Compile with last version FASM
|
;; Ville Mikael Turjanmaa, villemt@itu.jyu.fi
|
||||||
|
;; - main os coding/design
|
||||||
|
;; Jan-Michael Brummer, BUZZ2@gmx.de
|
||||||
|
;; Felix Kaiser, info@felix-kaiser.de
|
||||||
|
;; Paolo Minazzi, paolo.minazzi@inwind.it
|
||||||
|
;; quickcode@mail.ru
|
||||||
|
;; Alexey, kgaz@crosswinds.net
|
||||||
|
;; Juan M. Caravaca, bitrider@wanadoo.es
|
||||||
|
;; kristol@nic.fi
|
||||||
|
;; Mike Hibbett, mikeh@oceanfree.net
|
||||||
|
;; Lasse Kuusijarvi, kuusijar@lut.fi
|
||||||
|
;; Jarek Pelczar, jarekp3@wp.pl
|
||||||
|
;;
|
||||||
|
;; KolibriOS is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||||
|
;; WARRANTY. No author or distributor accepts responsibility to anyone for the
|
||||||
|
;; consequences of using it or for whether it serves any particular purpose or
|
||||||
|
;; works at all, unless he says so in writing. Refer to the GNU General Public
|
||||||
|
;; License (the "GPL") for full details.
|
||||||
|
;
|
||||||
|
;; Everyone is granted permission to copy, modify and redistribute KolibriOS,
|
||||||
|
;; but only under the conditions described in the GPL. A copy of this license
|
||||||
|
;; is supposed to have been given to you along with KolibriOS so you can know
|
||||||
|
;; your rights and responsibilities. It should be in a file named COPYING.
|
||||||
|
;; Among other things, the copyright notice and this notice must be preserved
|
||||||
|
;; on all copies.
|
||||||
;;
|
;;
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
|
@ -1,17 +1,20 @@
|
|||||||
$Revision$
|
$Revision$
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
;; ;;
|
;; ;;
|
||||||
;; KERNEL16.INC ;;
|
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
|
||||||
;; ;;
|
;; Distributed under terms of the GNU General Public License ;;
|
||||||
;; Included 16 bit kernel files for MenuetOS ;;
|
;; ;;
|
||||||
;; ;;
|
;; KERNEL16.INC ;;
|
||||||
;; This file is kept separate as it will be easier to ;;
|
;; ;;
|
||||||
;; maintain and compile with an automated SETUP program ;;
|
;; Included 16 bit kernel files for MenuetOS ;;
|
||||||
;; in the future. ;;
|
;; ;;
|
||||||
;; ;;
|
;; This file is kept separate as it will be easier to ;;
|
||||||
;; Copyright Ville Turjanmaa, see file COPYING for details. ;;
|
;; maintain and compile with an automated SETUP program ;;
|
||||||
;; ;;
|
;; in the future. ;;
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;; ;;
|
||||||
|
;; Copyright Ville Turjanmaa, see file COPYING for details. ;;
|
||||||
|
;; ;;
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
|
|
||||||
;% +include
|
;% +include
|
||||||
@ -39,7 +42,7 @@ end if
|
|||||||
|
|
||||||
; сюда данные записываются в 16 разрядном режиме, читаются в 32 разрядном
|
; сюда данные записываются в 16 разрядном режиме, читаются в 32 разрядном
|
||||||
bx_from_load: ; структура для хранения параметров- откуда гашрузились, берется ниже из bx ; {SPraid}[13.03.2007]
|
bx_from_load: ; структура для хранения параметров- откуда гашрузились, берется ниже из bx ; {SPraid}[13.03.2007]
|
||||||
.from_disc db 0 ; a,b,c,d - âèí÷åñòåðû, r - ðàì äèñê
|
.from_disc db 0 ; a,b,c,d - âèí÷åñòåðû, r - ðàì äèñê
|
||||||
.from_part db 0,0 ; # диска... символ, а не байт. '1', а не 1
|
.from_part db 0,0 ; # диска... символ, а не байт. '1', а не 1
|
||||||
|
|
||||||
org $-0x10000
|
org $-0x10000
|
||||||
@ -48,4 +51,4 @@ include "boot/bootcode.inc" ; 16 bit system boot code
|
|||||||
|
|
||||||
include "bus/pci/pci16.inc"
|
include "bus/pci/pci16.inc"
|
||||||
|
|
||||||
;% -include
|
;% -include
|
||||||
|
@ -1,15 +1,18 @@
|
|||||||
$Revision$
|
$Revision$
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
;; ;;
|
;; ;;
|
||||||
;; KERNEL32.INC ;;
|
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
|
||||||
;; ;;
|
;; Distributed under terms of the GNU General Public License ;;
|
||||||
;; Included 32 bit kernel files for MenuetOS ;;
|
;; ;;
|
||||||
;; ;;
|
;; KERNEL32.INC ;;
|
||||||
;; This file is kept separate as it will be easier to ;;
|
;; ;;
|
||||||
;; maintain and compile with an automated SETUP program ;;
|
;; Included 32 bit kernel files for MenuetOS ;;
|
||||||
;; in the future. ;;
|
;; ;;
|
||||||
;; ;;
|
;; This file is kept separate as it will be easier to ;;
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;; maintain and compile with an automated SETUP program ;;
|
||||||
|
;; in the future. ;;
|
||||||
|
;; ;;
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
;struc db [a] { common . db a
|
;struc db [a] { common . db a
|
||||||
; if ~used .
|
; if ~used .
|
||||||
|
@ -1,4 +1,11 @@
|
|||||||
$Revision$
|
$Revision$
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
;; ;;
|
||||||
|
;; 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.
|
; use "iglobal" for inserting initialized global data definitions.
|
||||||
;------------------------------------------------------------------
|
;------------------------------------------------------------------
|
||||||
@ -52,7 +59,7 @@ macro IncludeAllGlobals {
|
|||||||
IncludeIGlobals
|
IncludeIGlobals
|
||||||
IncludeUGlobals
|
IncludeUGlobals
|
||||||
}
|
}
|
||||||
|
|
||||||
iglobal
|
iglobal
|
||||||
endg
|
endg
|
||||||
|
|
||||||
|
@ -1,22 +1,25 @@
|
|||||||
$Revision$
|
$Revision$
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
;;
|
;; ;;
|
||||||
;; ARP.INC
|
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
|
||||||
;;
|
;; Distributed under terms of the GNU General Public License ;;
|
||||||
;; Address Resolution Protocol
|
;; ;;
|
||||||
;;
|
;; ARP.INC ;;
|
||||||
;; Last revision: 10.11.2006
|
;; ;;
|
||||||
;;
|
;; Address Resolution Protocol ;;
|
||||||
;; This file contains the following:
|
;; ;;
|
||||||
;; arp_table_manager - Manages an ARPTable
|
;; Last revision: 10.11.2006 ;;
|
||||||
;; arp_request - Sends an ARP request on the ethernet
|
;; ;;
|
||||||
;; arp_handler - Called when an ARP packet is received
|
;; This file contains the following: ;;
|
||||||
;;
|
;; arp_table_manager - Manages an ARPTable ;;
|
||||||
;; Changes history:
|
;; arp_request - Sends an ARP request on the ethernet ;;
|
||||||
;; 22.09.2003 - [Mike Hibbett] : mikeh@oceanfree.net
|
;; arp_handler - Called when an ARP packet is received ;;
|
||||||
;; 11.11.2006 - [Johnny_B] and [smb]
|
;; ;;
|
||||||
;;
|
;; Changes history: ;;
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;; 22.09.2003 - [Mike Hibbett] : mikeh@oceanfree.net ;;
|
||||||
|
;; 11.11.2006 - [Johnny_B] and [smb] ;;
|
||||||
|
;; ;;
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
ARP_NO_ENTRY equ 0
|
ARP_NO_ENTRY equ 0
|
||||||
ARP_VALID_MAPPING equ 1
|
ARP_VALID_MAPPING equ 1
|
||||||
@ -158,7 +161,7 @@ proc arp_table_manager stdcall uses ebx esi edi ecx edx,\
|
|||||||
movsx esi, word [ebx + ARP_ENTRY.TTL]
|
movsx esi, word [ebx + ARP_ENTRY.TTL]
|
||||||
cmp esi, 0xFFFFFFFF
|
cmp esi, 0xFFFFFFFF
|
||||||
je .timer_loop_end ;if TTL==0xFFFF then it's static entry
|
je .timer_loop_end ;if TTL==0xFFFF then it's static entry
|
||||||
|
|
||||||
test esi, esi
|
test esi, esi
|
||||||
jnz .timer_loop_end_with_dec ;if TTL!=0
|
jnz .timer_loop_end_with_dec ;if TTL!=0
|
||||||
|
|
||||||
@ -182,7 +185,7 @@ proc arp_table_manager stdcall uses ebx esi edi ecx edx,\
|
|||||||
|
|
||||||
|
|
||||||
.timer_loop_end_with_dec:
|
.timer_loop_end_with_dec:
|
||||||
dec word [ebx + ARP_ENTRY.TTL] ;decrease TTL
|
dec word [ebx + ARP_ENTRY.TTL] ;decrease TTL
|
||||||
.timer_loop_end:
|
.timer_loop_end:
|
||||||
add ebx, ARP_ENTRY_SIZE
|
add ebx, ARP_ENTRY_SIZE
|
||||||
loop .timer_loop
|
loop .timer_loop
|
||||||
|
@ -1,4 +1,11 @@
|
|||||||
$Revision$
|
$Revision$
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
;; ;;
|
||||||
|
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
|
||||||
|
;; Distributed under terms of the GNU General Public License ;;
|
||||||
|
;; ;;
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
;; Copyright (c) 2004, Endre Kozma <endre.kozma@axelero.hu>
|
;; Copyright (c) 2004, Endre Kozma <endre.kozma@axelero.hu>
|
||||||
;; All rights reserved.
|
;; All rights reserved.
|
||||||
;;
|
;;
|
||||||
|
@ -1,6 +1,10 @@
|
|||||||
$Revision$
|
$Revision$
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
;; ;;
|
;; ;;
|
||||||
|
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
|
||||||
|
;; Distributed under terms of the GNU General Public License ;;
|
||||||
|
;; ;;
|
||||||
|
;; ;;
|
||||||
;; I8255X.INC ;;
|
;; I8255X.INC ;;
|
||||||
;; ;;
|
;; ;;
|
||||||
;; Ethernet driver for Menuet OS ;;
|
;; Ethernet driver for Menuet OS ;;
|
||||||
|
@ -1,24 +1,27 @@
|
|||||||
$Revision$
|
$Revision$
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
;; ;;
|
;; ;;
|
||||||
;; PCNET32.INC ;;
|
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
|
||||||
;; ;;
|
;; Distributed under terms of the GNU General Public License ;;
|
||||||
;; Ethernet driver for Menuet OS ;;
|
;; ;;
|
||||||
;; ;;
|
;; PCNET32.INC ;;
|
||||||
;; Version 1.0 31 July 2004 ;;
|
;; ;;
|
||||||
;; ;;
|
;; Ethernet driver for Menuet OS ;;
|
||||||
;; This driver is based on the PCNet32 driver from ;;
|
;; ;;
|
||||||
;; the etherboot 5.0.6 project. The copyright statement is ;;
|
;; Version 1.0 31 July 2004 ;;
|
||||||
;; ;;
|
;; ;;
|
||||||
;; GNU GENERAL PUBLIC LICENSE ;;
|
;; This driver is based on the PCNet32 driver from ;;
|
||||||
;; Version 2, June 1991 ;;
|
;; the etherboot 5.0.6 project. The copyright statement is ;;
|
||||||
;; ;;
|
;; ;;
|
||||||
;; remaining parts Copyright 2004 Jarek Pelczar, ;;
|
;; GNU GENERAL PUBLIC LICENSE ;;
|
||||||
;; jpelczar@interia.pl ;;
|
;; Version 2, June 1991 ;;
|
||||||
;; ;;
|
;; ;;
|
||||||
;; See file COPYING for details ;;
|
;; remaining parts Copyright 2004 Jarek Pelczar, ;;
|
||||||
;; ;;
|
;; jpelczar@interia.pl ;;
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;; ;;
|
||||||
|
;; See file COPYING for details ;;
|
||||||
|
;; ;;
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
;macro PutStr X
|
;macro PutStr X
|
||||||
;{
|
;{
|
||||||
; local .__xyz1
|
; local .__xyz1
|
||||||
|
@ -1,6 +1,9 @@
|
|||||||
$Revision$
|
$Revision$
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
;; ;;
|
;; ;;
|
||||||
|
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
|
||||||
|
;; Distributed under terms of the GNU General Public License ;;
|
||||||
|
;; ;;
|
||||||
;; RTL8029.INC ;;
|
;; RTL8029.INC ;;
|
||||||
;; ;;
|
;; ;;
|
||||||
;; Ethernet driver for Menuet OS ;;
|
;; Ethernet driver for Menuet OS ;;
|
||||||
|
@ -1,6 +1,9 @@
|
|||||||
$Revision$
|
$Revision$
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
;; ;;
|
;; ;;
|
||||||
|
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
|
||||||
|
;; Distributed under terms of the GNU General Public License ;;
|
||||||
|
;; ;;
|
||||||
;; RTL8139.INC ;;
|
;; RTL8139.INC ;;
|
||||||
;; ;;
|
;; ;;
|
||||||
;; Ethernet driver for Menuet OS ;;
|
;; Ethernet driver for Menuet OS ;;
|
||||||
|
@ -1,6 +1,9 @@
|
|||||||
$Revision$
|
$Revision$
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
;; ;;
|
;; ;;
|
||||||
|
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
|
||||||
|
;; Distributed under terms of the GNU General Public License ;;
|
||||||
|
;; ;;
|
||||||
;; RTL8169.INC ;;
|
;; RTL8169.INC ;;
|
||||||
;; ;;
|
;; ;;
|
||||||
;; Ethernet driver for Menuet OS ;;
|
;; Ethernet driver for Menuet OS ;;
|
||||||
|
@ -1,6 +1,9 @@
|
|||||||
$Revision$
|
$Revision$
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
;; ;;
|
;; ;;
|
||||||
|
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
|
||||||
|
;; Distributed under terms of the GNU General Public License ;;
|
||||||
|
;; ;;
|
||||||
;; SIS900.INC ;;
|
;; SIS900.INC ;;
|
||||||
;; ;;
|
;; ;;
|
||||||
;; Ethernet driver for Menuet OS ;;
|
;; Ethernet driver for Menuet OS ;;
|
||||||
|
@ -1,6 +1,9 @@
|
|||||||
$Revision$
|
$Revision$
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
;; ;;
|
;; ;;
|
||||||
|
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
|
||||||
|
;; Distributed under terms of the GNU General Public License ;;
|
||||||
|
;; ;;
|
||||||
;; ETHERNET.INC ;;
|
;; ETHERNET.INC ;;
|
||||||
;; ;;
|
;; ;;
|
||||||
;; Ethernet network layer for Menuet OS ;;
|
;; Ethernet network layer for Menuet OS ;;
|
||||||
|
@ -1,4 +1,11 @@
|
|||||||
$Revision$
|
$Revision$
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
;; ;;
|
||||||
|
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
|
||||||
|
;; Distributed under terms of the GNU General Public License ;;
|
||||||
|
;; ;;
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
;***************************************************************************
|
;***************************************************************************
|
||||||
;
|
;
|
||||||
; PCI CODE FOLLOWS
|
; PCI CODE FOLLOWS
|
||||||
|
@ -1,22 +1,25 @@
|
|||||||
$Revision$
|
$Revision$
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
;;
|
;; ;;
|
||||||
;; ICMP.INC
|
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
|
||||||
;;
|
;; Distributed under terms of the GNU General Public License ;;
|
||||||
;; Internet Control Message Protocol ( RFC 792 )
|
;; ;;
|
||||||
;;
|
;; ICMP.INC ;;
|
||||||
;; Last revision: 11.11.2006
|
;; ;;
|
||||||
;;
|
;; Internet Control Message Protocol ( RFC 792 ) ;;
|
||||||
;; This file contains the following:
|
;; ;;
|
||||||
;; icmp_rx - processes ICMP-packets received by the IP layer
|
;; Last revision: 11.11.2006 ;;
|
||||||
;;
|
;; ;;
|
||||||
;; Changes history:
|
;; This file contains the following: ;;
|
||||||
;; 22.09.2003 - [Mike Hibbett] : mikeh@oceanfree.net
|
;; icmp_rx - processes ICMP-packets received by the IP layer ;;
|
||||||
;; 11.11.2006 - [Johnny_B] and [smb]
|
;; ;;
|
||||||
;;
|
;; Changes history: ;;
|
||||||
;; Current status:
|
;; 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.
|
;; This implemetation of ICMP proto supports message of ECHO type.
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
|
|
||||||
struc ICMP_PACKET
|
struc ICMP_PACKET
|
||||||
@ -55,66 +58,66 @@ end virtual
|
|||||||
ICMP_ECHOREPLY equ 0 ; echo reply message
|
ICMP_ECHOREPLY equ 0 ; echo reply message
|
||||||
|
|
||||||
ICMP_UNREACH equ 3
|
ICMP_UNREACH equ 3
|
||||||
ICMP_UNREACH_NET equ 0 ; bad net
|
ICMP_UNREACH_NET equ 0 ; bad net
|
||||||
ICMP_UNREACH_HOST equ 1 ; bad host
|
ICMP_UNREACH_HOST equ 1 ; bad host
|
||||||
ICMP_UNREACH_PROTOCOL equ 2 ; bad protocol
|
ICMP_UNREACH_PROTOCOL equ 2 ; bad protocol
|
||||||
ICMP_UNREACH_PORT equ 3 ; bad port
|
ICMP_UNREACH_PORT equ 3 ; bad port
|
||||||
ICMP_UNREACH_NEEDFRAG equ 4 ; IP_DF caused drop
|
ICMP_UNREACH_NEEDFRAG equ 4 ; IP_DF caused drop
|
||||||
ICMP_UNREACH_SRCFAIL equ 5 ; src route failed
|
ICMP_UNREACH_SRCFAIL equ 5 ; src route failed
|
||||||
ICMP_UNREACH_NET_UNKNOWN equ 6 ; unknown net
|
ICMP_UNREACH_NET_UNKNOWN equ 6 ; unknown net
|
||||||
ICMP_UNREACH_HOST_UNKNOWN equ 7 ; unknown host
|
ICMP_UNREACH_HOST_UNKNOWN equ 7 ; unknown host
|
||||||
ICMP_UNREACH_ISOLATED equ 8 ; src host isolated
|
ICMP_UNREACH_ISOLATED equ 8 ; src host isolated
|
||||||
ICMP_UNREACH_NET_PROHIB equ 9 ; prohibited access
|
ICMP_UNREACH_NET_PROHIB equ 9 ; prohibited access
|
||||||
ICMP_UNREACH_HOST_PROHIB equ 10 ; ditto
|
ICMP_UNREACH_HOST_PROHIB equ 10 ; ditto
|
||||||
ICMP_UNREACH_TOSNET equ 11 ; bad tos for net
|
ICMP_UNREACH_TOSNET equ 11 ; bad tos for net
|
||||||
ICMP_UNREACH_TOSHOST equ 12 ; bad tos for host
|
ICMP_UNREACH_TOSHOST equ 12 ; bad tos for host
|
||||||
ICMP_UNREACH_FILTER_PROHIB equ 13 ; admin prohib
|
ICMP_UNREACH_FILTER_PROHIB equ 13 ; admin prohib
|
||||||
ICMP_UNREACH_HOST_PRECEDENCE equ 14 ; host prec vio.
|
ICMP_UNREACH_HOST_PRECEDENCE equ 14 ; host prec vio.
|
||||||
ICMP_UNREACH_PRECEDENCE_CUTOFF equ 15 ; prec cutoff
|
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 equ 5 ; shorter route, codes:
|
||||||
ICMP_REDIRECT_NET equ 0 ; for network
|
ICMP_REDIRECT_NET equ 0 ; for network
|
||||||
ICMP_REDIRECT_HOST equ 1 ; for host
|
ICMP_REDIRECT_HOST equ 1 ; for host
|
||||||
ICMP_REDIRECT_TOSNET equ 2 ; for tos and net
|
ICMP_REDIRECT_TOSNET equ 2 ; for tos and net
|
||||||
ICMP_REDIRECT_TOSHOST equ 3 ; for tos and host
|
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_ROUTERSOLICIT equ 10 ; router solicitation
|
ICMP_ALTHOSTADDR equ 6 ; alternate host address
|
||||||
ICMP_TIMXCEED equ 11 ; time exceeded, code:
|
ICMP_ECHO equ 8 ; echo service
|
||||||
ICMP_TIMXCEED_INTRANS equ 0 ; ttl==0 in transit
|
ICMP_ROUTERADVERT equ 9 ; router advertisement
|
||||||
ICMP_TIMXCEED_REASS equ 1 ; ttl==0 in reass
|
ICMP_ROUTERADVERT_NORMAL equ 0 ; normal advertisement
|
||||||
|
ICMP_ROUTERADVERT_NOROUTE_COMMON equ 16 ; selective routing
|
||||||
|
|
||||||
ICMP_PARAMPROB equ 12 ; ip header bad
|
ICMP_ROUTERSOLICIT equ 10 ; router solicitation
|
||||||
ICMP_PARAMPROB_ERRATPTR equ 0 ; error at param ptr
|
ICMP_TIMXCEED equ 11 ; time exceeded, code:
|
||||||
ICMP_PARAMPROB_OPTABSENT equ 1 ; req. opt. absent
|
ICMP_TIMXCEED_INTRANS equ 0 ; ttl==0 in transit
|
||||||
ICMP_PARAMPROB_LENGTH equ 2 ; bad length
|
ICMP_TIMXCEED_REASS equ 1 ; ttl==0 in reass
|
||||||
|
|
||||||
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_PARAMPROB equ 12 ; ip header bad
|
||||||
ICMP_PHOTURIS_UNKNOWN_INDEX equ 1 ; unknown sec index
|
ICMP_PARAMPROB_ERRATPTR equ 0 ; error at param ptr
|
||||||
ICMP_PHOTURIS_AUTH_FAILED equ 2 ; auth failed
|
ICMP_PARAMPROB_OPTABSENT equ 1 ; req. opt. absent
|
||||||
ICMP_PHOTURIS_DECRYPT_FAILED equ 3 ; decrypt failed
|
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
|
||||||
|
|
||||||
|
|
||||||
;***************************************************************************
|
;***************************************************************************
|
||||||
@ -186,4 +189,4 @@ proc icmp_rx stdcall uses ebx esi edi,\
|
|||||||
|
|
||||||
.exit:
|
.exit:
|
||||||
ret
|
ret
|
||||||
endp
|
endp
|
||||||
|
@ -1,17 +1,21 @@
|
|||||||
$Revision$
|
$Revision$
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
;; ;;
|
;; ;;
|
||||||
;; QUEUE.INC ;;
|
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
|
||||||
;; ;;
|
;; Distributed under terms of the GNU General Public License ;;
|
||||||
;; Buffer queue management for Menuet OS TCP/IP Stack ;;
|
;; ;;
|
||||||
;; ;;
|
;; ;;
|
||||||
;; Version 0.3 29 August 2002 ;;
|
;; QUEUE.INC ;;
|
||||||
;; ;;
|
;; ;;
|
||||||
;; Copyright 2002 Mike Hibbett, mikeh@oceanfree.net ;;
|
;; Buffer queue management for Menuet OS TCP/IP Stack ;;
|
||||||
;; ;;
|
;; ;;
|
||||||
;; See file COPYING for details ;;
|
;; Version 0.3 29 August 2002 ;;
|
||||||
;; ;;
|
;; ;;
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;; Copyright 2002 Mike Hibbett, mikeh@oceanfree.net ;;
|
||||||
|
;; ;;
|
||||||
|
;; See file COPYING for details ;;
|
||||||
|
;; ;;
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
|
|
||||||
;*******************************************************************
|
;*******************************************************************
|
||||||
|
@ -1,31 +1,34 @@
|
|||||||
$Revision$
|
$Revision$
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
;;
|
;; ;;
|
||||||
;; SOCKET.INC
|
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
|
||||||
;;
|
;; Distributed under terms of the GNU General Public License ;;
|
||||||
;; Sockets constants, structures and functions
|
;; ;;
|
||||||
;;
|
;; SOCKET.INC ;;
|
||||||
;; Last revision: 11.11.2006
|
;; ;;
|
||||||
;;
|
;; Sockets constants, structures and functions ;;
|
||||||
;; This file contains the following:
|
;; ;;
|
||||||
;; is_localport_unused
|
;; Last revision: 11.11.2006 ;;
|
||||||
;; get_free_socket
|
;; ;;
|
||||||
;; socket_open
|
;; This file contains the following: ;;
|
||||||
;; socket_open_tcp
|
;; is_localport_unused ;;
|
||||||
;; socket_close
|
;; get_free_socket ;;
|
||||||
;; socket_close_tcp
|
;; socket_open ;;
|
||||||
;; socket_poll
|
;; socket_open_tcp ;;
|
||||||
;; socket_status
|
;; socket_close ;;
|
||||||
;; socket_read
|
;; socket_close_tcp ;;
|
||||||
;; socket_write
|
;; socket_poll ;;
|
||||||
;; socket_write_tcp
|
;; socket_status ;;
|
||||||
;;
|
;; socket_read ;;
|
||||||
;;
|
;; socket_write ;;
|
||||||
;; Changes history:
|
;; socket_write_tcp ;;
|
||||||
;; 22.09.2003 - [Mike Hibbett] : mikeh@oceanfree.net
|
;; ;;
|
||||||
;; 11.11.2006 - [Johnny_B] and [smb]
|
;; ;;
|
||||||
;;
|
;; Changes history: ;;
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;; 22.09.2003 - [Mike Hibbett] : mikeh@oceanfree.net ;;
|
||||||
|
;; 11.11.2006 - [Johnny_B] and [smb] ;;
|
||||||
|
;; ;;
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
;
|
;
|
||||||
; Socket Descriptor + Buffer
|
; Socket Descriptor + Buffer
|
||||||
|
@ -1,23 +1,26 @@
|
|||||||
$Revision$
|
$Revision$
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
;; ;;
|
;; ;;
|
||||||
;; STACK.INC ;;
|
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
|
||||||
;; ;;
|
;; Distributed under terms of the GNU General Public License ;;
|
||||||
;; TCP/IP stack for Menuet OS ;;
|
;; ;;
|
||||||
;; ;;
|
;; STACK.INC ;;
|
||||||
;; Version 0.7 4th July 2004 ;;
|
;; ;;
|
||||||
;; ;;
|
;; TCP/IP stack for Menuet OS ;;
|
||||||
;; Copyright 2002 Mike Hibbett, mikeh@oceanfree.net ;;
|
;; ;;
|
||||||
;; ;;
|
;; Version 0.7 4th July 2004 ;;
|
||||||
;; See file COPYING for details ;;
|
;; ;;
|
||||||
;; ;;
|
;; Copyright 2002 Mike Hibbett, mikeh@oceanfree.net ;;
|
||||||
;; Version 0.7 ;;
|
;; ;;
|
||||||
;; Added a timer per socket to allow delays when rx window ;;
|
;; See file COPYING for details ;;
|
||||||
;; gets below 1KB ;;
|
;; ;;
|
||||||
;; ;;
|
;; Version 0.7 ;;
|
||||||
;; 10.01.2007 Bugfix for checksum function from Paolo Franchetti ;;
|
;; Added a timer per socket to allow delays when rx window ;;
|
||||||
;; ;;
|
;; gets below 1KB ;;
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;; ;;
|
||||||
|
;;10.01.2007 Bugfix for checksum function from Paolo Franchetti ;;
|
||||||
|
;; ;;
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,19 +1,22 @@
|
|||||||
$Revision$
|
$Revision$
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
;; ;;
|
;; ;;
|
||||||
;; TCP.INC ;;
|
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
|
||||||
;; ;;
|
;; Distributed under terms of the GNU General Public License ;;
|
||||||
;; TCP Processes for Menuet OS TCP/IP stack ;;
|
;; ;;
|
||||||
;; ;;
|
;; TCP.INC ;;
|
||||||
;; Version 0.6 4th July 2004 ;;
|
;; ;;
|
||||||
;; ;;
|
;; TCP Processes for Menuet OS TCP/IP stack ;;
|
||||||
;; Copyright 2002 Mike Hibbett, mikeh@oceanfree.net ;;
|
;; ;;
|
||||||
;; ;;
|
;; Version 0.6 4th July 2004 ;;
|
||||||
;; See file COPYING for details ;;
|
;; ;;
|
||||||
;; v0.6 : Added reset handling in the established state ;;
|
;; Copyright 2002 Mike Hibbett, mikeh@oceanfree.net ;;
|
||||||
;; Added a timer per socket to allow delays when rx window ;;
|
;; ;;
|
||||||
;; gets below 1KB ;;
|
;; 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
|
; TCP TCB states
|
||||||
TCB_LISTEN equ 1
|
TCB_LISTEN equ 1
|
||||||
|
@ -1,17 +1,25 @@
|
|||||||
$Revision$
|
$Revision$
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
;; ;;
|
;; ;;
|
||||||
;; UDP.INC ;;
|
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
|
||||||
;; ;;
|
;; Distributed under terms of the GNU General Public License ;;
|
||||||
;; UDP Processes for Menuet OS TCP/IP stack ;;
|
;; ;;
|
||||||
;; ;;
|
;; ;;
|
||||||
;; Version 0.3 29 August 2002 ;;
|
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
|
||||||
;; ;;
|
;; Distributed under terms of the GNU General Public License ;;
|
||||||
;; Copyright 2002 Mike Hibbett, mikeh@oceanfree.net ;;
|
;; ;;
|
||||||
;; ;;
|
;; ;;
|
||||||
;; See file COPYING for details ;;
|
;; 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 ;;
|
||||||
|
;; ;;
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
|
|
||||||
;*******************************************************************
|
;*******************************************************************
|
||||||
|
@ -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'
|
include 'me_skin.inc'
|
||||||
|
|
||||||
SKIN_PARAMS \
|
SKIN_PARAMS \
|
||||||
|
@ -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
|
; This file should be used to generate skins of new standard
|
||||||
;============================================================================
|
;============================================================================
|
||||||
|
@ -1,6 +1,9 @@
|
|||||||
$Revision$
|
$Revision$
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
;; ;;
|
;; ;;
|
||||||
|
;; 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 ;;
|
;; PLAYNOTE.INC version 1.1 22 November 2003 ;;
|
||||||
;; ;;
|
;; ;;
|
||||||
;; Player Notes for Speaker PC ;;
|
;; Player Notes for Speaker PC ;;
|
||||||
@ -127,10 +130,10 @@ ReadNoteByte:
|
|||||||
mov edx,[memAdrNote]
|
mov edx,[memAdrNote]
|
||||||
inc [memAdrNote]
|
inc [memAdrNote]
|
||||||
call read_process_memory
|
call read_process_memory
|
||||||
.failed:
|
.failed:
|
||||||
pop edx
|
pop edx
|
||||||
pop ecx
|
pop ecx
|
||||||
pop ebx
|
pop ebx
|
||||||
pop eax
|
pop eax
|
||||||
ret
|
ret
|
||||||
;------------------- END CODE -------------------
|
;------------------- END CODE -------------------
|
||||||
|
@ -1,17 +1,20 @@
|
|||||||
$Revision$
|
$Revision$
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
;; ;;
|
;; ;;
|
||||||
;; SB16.INC ;;
|
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
|
||||||
;; ;;
|
;; Distributed under terms of the GNU General Public License ;;
|
||||||
;; Sound Blaster 16 functions for MenuetOS ;;
|
;; ;;
|
||||||
;; ;;
|
;; SB16.INC ;;
|
||||||
;; Copyright 2002 Paolo Minazzi, paolo.minazzi@inwind.it ;;
|
;; ;;
|
||||||
;; ;;
|
;; Sound Blaster 16 functions for MenuetOS ;;
|
||||||
;; See file COPYING for details ;;
|
;; ;;
|
||||||
;; ;;
|
;; Copyright 2002 Paolo Minazzi, paolo.minazzi@inwind.it ;;
|
||||||
;; - 11.07.2002 8 bit stereo mode - Ville Turjanmaa ;;
|
;; ;;
|
||||||
;; ;;
|
;; See file COPYING for details ;;
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;; ;;
|
||||||
|
;; - 11.07.2002 8 bit stereo mode - Ville Turjanmaa ;;
|
||||||
|
;; ;;
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
|
|
||||||
SB16_load_music equ 0xc0000000
|
SB16_load_music equ 0xc0000000
|
||||||
|
@ -1,4 +1,11 @@
|
|||||||
$Revision$
|
$Revision$
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
;; ;;
|
||||||
|
;; 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);
|
; void __stdcall unpack(void* packed_data, void* unpacked_data);
|
||||||
unpack:
|
unpack:
|
||||||
pushad
|
pushad
|
||||||
|
@ -1,17 +1,20 @@
|
|||||||
$Revision$
|
$Revision$
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
;; ;;
|
;; ;;
|
||||||
;; VESA12.INC ;;
|
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
|
||||||
;; ;;
|
;; Distributed under terms of the GNU General Public License ;;
|
||||||
;; Vesa 1.2 functions for MenuetOS ;;
|
;; ;;
|
||||||
;; ;;
|
;; VESA12.INC ;;
|
||||||
;; Copyright 2002 Ville Turjanmaa ;;
|
;; ;;
|
||||||
;; ;;
|
;; Vesa 1.2 functions for MenuetOS ;;
|
||||||
;; quickcode@mail.ru - bankswitch for S3 cards ;;
|
;; ;;
|
||||||
;; ;;
|
;; Copyright 2002 Ville Turjanmaa ;;
|
||||||
;; See file COPYING for details ;;
|
;; ;;
|
||||||
;; ;;
|
;; quickcode@mail.ru - bankswitch for S3 cards ;;
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;; ;;
|
||||||
|
;; See file COPYING for details ;;
|
||||||
|
;; ;;
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
|
|
||||||
; A complete video driver should include the following types of function
|
; A complete video driver should include the following types of function
|
||||||
|
@ -1,19 +1,22 @@
|
|||||||
$Revision$
|
$Revision$
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
;; ;;
|
;; ;;
|
||||||
;; VESA20.INC ;;
|
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
|
||||||
;; ;;
|
;; Distributed under terms of the GNU General Public License ;;
|
||||||
;; Vesa 2.0 functions for MenuetOS ;;
|
;; ;;
|
||||||
;; ;;
|
;; VESA20.INC ;;
|
||||||
;; Copyright 2002 Ville Turjanmaa ;;
|
;; ;;
|
||||||
;; Alexey, kgaz@crosswindws.net ;;
|
;; Vesa 2.0 functions for MenuetOS ;;
|
||||||
;; - Voodoo compatible graphics ;;
|
;; ;;
|
||||||
;; Juan M. Caravaca ;;
|
;; Copyright 2002 Ville Turjanmaa ;;
|
||||||
;; - Graphics optimimizations eg. drawline ;;
|
;; Alexey, kgaz@crosswindws.net ;;
|
||||||
;; ;;
|
;; - Voodoo compatible graphics ;;
|
||||||
;; See file COPYING for details ;;
|
;; Juan M. Caravaca ;;
|
||||||
;; ;;
|
;; - Graphics optimimizations eg. drawline ;;
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;; ;;
|
||||||
|
;; See file COPYING for details ;;
|
||||||
|
;; ;;
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
; If you're planning to write your own video driver I suggest
|
; If you're planning to write your own video driver I suggest
|
||||||
; you replace the VESA12.INC file and see those instructions.
|
; you replace the VESA12.INC file and see those instructions.
|
||||||
|
@ -1,13 +1,16 @@
|
|||||||
$Revision$
|
$Revision$
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
;; ;;
|
;; ;;
|
||||||
;; VGA.INC ;;
|
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
|
||||||
;; ;;
|
;; Distributed under terms of the GNU General Public License ;;
|
||||||
;; 640x480 mode 0x12 VGA functions for MenuetOS ;;
|
;; ;;
|
||||||
;; ;;
|
;; VGA.INC ;;
|
||||||
;; Paul Butcher, paul.butcher@asa.co.uk ;;
|
;; ;;
|
||||||
;; ;;
|
;; 640x480 mode 0x12 VGA functions for MenuetOS ;;
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;; ;;
|
||||||
|
;; Paul Butcher, paul.butcher@asa.co.uk ;;
|
||||||
|
;; ;;
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,4 +1,11 @@
|
|||||||
$Revision$
|
$Revision$
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
;; ;;
|
||||||
|
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
|
||||||
|
;; Distributed under terms of the GNU General Public License ;;
|
||||||
|
;; ;;
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
;
|
;
|
||||||
; Call of videomode driver's functions
|
; Call of videomode driver's functions
|
||||||
;
|
;
|
||||||
|
@ -1,4 +1,11 @@
|
|||||||
$Revision$
|
$Revision$
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
;; ;;
|
||||||
|
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
|
||||||
|
;; Distributed under terms of the GNU General Public License ;;
|
||||||
|
;; ;;
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
;
|
;
|
||||||
; Load of videomode driver in memory
|
; Load of videomode driver in memory
|
||||||
;
|
;
|
||||||
|
Loading…
Reference in New Issue
Block a user