Kolibri-A: Linux-friendly now
git-svn-id: svn://kolibrios.org@1678 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
72eb0b5fb7
commit
6cb25c9e01
@ -3,7 +3,6 @@
|
||||
;; Copyright (C) 2010 KolibriOS team. All rights reserved. ;;
|
||||
;; Distributed under terms of the GNU General Public License ;;
|
||||
;; ;;
|
||||
;; HT.inc ;; ;;
|
||||
;; ;;
|
||||
;; AMD HyperTransport bus control ;;
|
||||
;; ;;
|
@ -68,7 +68,6 @@ USE_COM_IRQ equ 1 ; make irq 3 and irq 4 available for PCI devices
|
||||
|
||||
include "proc32.inc"
|
||||
include "kglobals.inc"
|
||||
include "lang.inc"
|
||||
|
||||
include "const.inc"
|
||||
max_processes equ 255
|
||||
@ -125,12 +124,7 @@ version db 'Kolibri OS version 0.7.7.0+ ',13,10,13,10,0
|
||||
include "boot/bootstr.inc" ; language-independent boot messages
|
||||
include "boot/preboot.inc"
|
||||
|
||||
if lang eq en
|
||||
include "boot/booteng.inc" ; english system boot messages
|
||||
else
|
||||
include "boot/bootru.inc" ; russian system boot messages
|
||||
include "boot/ru.inc" ; Russian font
|
||||
end if
|
||||
|
||||
include "boot/bootcode.inc" ; 16 bit system boot code
|
||||
include "bus/pci/pci16.inc"
|
||||
@ -1920,6 +1914,7 @@ sysfn_terminate: ; 18.2 = TERMINATE
|
||||
|
||||
cmp edx,[application_table_status] ; clear app table stat
|
||||
jne noatsc
|
||||
|
||||
and [application_table_status],0
|
||||
noatsc:
|
||||
noprocessterminate:
|
||||
|
@ -246,8 +246,8 @@ include "gui/skincode.inc"
|
||||
|
||||
; Pci functions
|
||||
include "bus/pci/pci32.inc"
|
||||
include "bus/pci/pcie.inc"
|
||||
include "bus/ht.inc" ; AMD HyperTransport bus control
|
||||
include "bus/pci/PCIe.inc"
|
||||
include "bus/HT.inc" ; AMD HyperTransport bus control
|
||||
|
||||
; Floppy drive controller
|
||||
|
||||
|
9
kernel/branches/Kolibri-A/trunk/kmake.sh
Executable file
9
kernel/branches/Kolibri-A/trunk/kmake.sh
Executable file
@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
# This is a simplified script to compile Kolibri-A kernel
|
||||
# please place *fasm program to the topmost KOS directory
|
||||
# and create an empty /bin folder there before run this script
|
||||
|
||||
../../../../../fasm -m 65536 kernel.asm ../../../../../bin/kernel.mnt
|
||||
exit 0
|
||||
|
||||
|
@ -1,33 +0,0 @@
|
||||
#!/bin/bash
|
||||
# This script does for linux the same as build.bat for DOS,
|
||||
# it compiles the KoOS kernel, hopefully ;-)
|
||||
|
||||
CLANG=$1;
|
||||
|
||||
usage()
|
||||
{
|
||||
echo "Usage: make.sh [en|ru|ge|et]"
|
||||
exit 1
|
||||
}
|
||||
|
||||
compile()
|
||||
{
|
||||
fasm -m 65536 kernel.asm bin/kernel.mnt
|
||||
rm -f lang.inc
|
||||
exit 0
|
||||
}
|
||||
|
||||
|
||||
if [ ! $CLANG ] ; then
|
||||
usage
|
||||
fi
|
||||
|
||||
for i in "en" "ru" "ge" "et"; do
|
||||
if [ $i == $CLANG ] ; then
|
||||
echo "lang fix $i" > lang.inc
|
||||
compile
|
||||
fi
|
||||
done
|
||||
usage
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user