Compare commits

..

1 Commits

606 changed files with 62280 additions and 63134 deletions

View File

@ -884,17 +884,13 @@ for i,v in ipairs(img_files) do
if tup.getconfig("INSERT_COMMIT_ID") ~= "" if tup.getconfig("INSERT_COMMIT_ID") ~= ""
then then
if build_type == "ru_RU" if build_type == "ru_RU"
then str='$(LANG=ru_RU.utf8 date -u +"[автосборка %d %b %Y %R, $(get-current-cmtid|grep -oE [a-z0-9]{7}$)]"|iconv -f utf8 -t cp866)' then str='$(LANG=ru_RU.utf8 date -u +"[автосборка %d %b %Y %R, r$(get-current-cmtid)]"|iconv -f utf8 -t cp866)'
else str='$(date -u +"[auto-build %d %b %Y %R, $(get-current-cmtid|grep -oE [a-z0-9]{7}$)]")' else str='$(date -u +"[auto-build %d %b %Y %R, r$(get-current-cmtid)]")'
end end
str = string.gsub(str, "%$", "\\$") -- escape $ as \$ str = string.gsub(str, "%$", "\\$") -- escape $ as \$
str = string.gsub(str, "%%", "%%%%") -- escape % as %% str = string.gsub(str, "%%", "%%%%") -- escape % as %%
cmd += " && str=" .. str cmd += " && str=" .. str
cmd += ' && echo -n $str | dd status=none of=%o bs=1 seek=`expr 274 - length "$str"` conv=notrunc' cmd += ' && echo -n $str | dd status=none of=%o bs=1 seek=`expr 274 - length "$str"` conv=notrunc'
str2='$(get-current-cmtid|grep -oE "\\+[0-9]+")'
str2 = string.gsub(str2, "%$", "\\$") -- escape $ as \$
cmd += " && str2=" .. str2
cmd += ' && echo -n $str2 | dd status=none of=%o bs=1 seek=216 conv=notrunc'
end end
local_file = VAR_KERNEL .. "/.kernel.mnt" local_file = VAR_KERNEL .. "/.kernel.mnt"
tup.definerule{inputs = {v[2]}, command = cmd, outputs = {local_file}} tup.definerule{inputs = {v[2]}, command = cmd, outputs = {local_file}}

View File

@ -1 +1 @@
lang fix ca_ES lang fix ca

View File

@ -1,7 +1,7 @@
KolibriOS KolibriOS
version 0770 version 0770
svnr 4483 svnr 4483
language ca_ES language ca
;just comment ;just comment
; Hi, curious person! :-) ; Hi, curious person! :-)

View File

@ -1 +1 @@
lang fix en_US lang fix en

View File

@ -1,7 +1,7 @@
KolibriOS KolibriOS
version 0770 version 0770
svnr 4483 svnr 4483
language en_US language EN
;just comment ;just comment
; Hi, curious person! :-) ; Hi, curious person! :-)

View File

@ -1 +1 @@
lang fix es_ES lang fix sp

View File

@ -1,7 +1,7 @@
KolibriOS KolibriOS
version 0770 version 0770
svnr 4483 svnr 4483
language es_ES language SP
;just comment ;just comment
; Hi, curious person! :-) ; Hi, curious person! :-)

View File

@ -1 +1 @@
lang fix et_EE lang fix et

View File

@ -1,7 +1,7 @@
KolibriOS KolibriOS
version 0770 version 0770
svnr 4483 svnr 4483
language et_EE language ET
;just comment ;just comment
; Hi, curious person! :-) ; Hi, curious person! :-)

View File

@ -1 +1 @@
lang fix it_IT lang fix it

View File

@ -1,7 +1,7 @@
KolibriOS KolibriOS
version 0770 version 0770
svnr 4483 svnr 4483
language it_IT language IT
;just comment ;just comment
; Hi, curious person! :-) ; Hi, curious person! :-)

View File

@ -1 +1 @@
lang fix ru_RU lang fix ru

View File

@ -1,7 +1,7 @@
KolibriOS KolibriOS
version 0770 version 0770
svnr 4483 svnr 4483
language ru_RU language RU
;just comment ;just comment
; Hi, curious person! :-) ; Hi, curious person! :-)

View File

@ -12,13 +12,6 @@
; Source code author - Kulakov Vladimir Gennadievich. ; Source code author - Kulakov Vladimir Gennadievich.
; Adaptation and improvement - Mario79. ; Adaptation and improvement - Mario79.
give_back_application_data_1:
mov esi, FDD_BUFF;FDD_DataBuffer ;0x40000
mov ecx, 128
cld
rep movsd
ret
take_data_from_application_1: take_data_from_application_1:
mov edi, FDD_BUFF;FDD_DataBuffer ;0x40000 mov edi, FDD_BUFF;FDD_DataBuffer ;0x40000
mov ecx, 128 mov ecx, 128
@ -717,18 +710,38 @@ endg
; This function is called in boot process. ; This function is called in boot process.
; It creates filesystems /fd and/or /fd2, if the system has one/two floppy drives. ; It creates filesystems /fd and/or /fd2, if the system has one/two floppy drives.
proc floppy_init proc floppy_init
; search for FDDs and add them to the list of disks
; author - Mario79
mov al, 0x10
out 0x70, al
mov cx, 0xff
.wait_cmos:
dec cx
test cx, cx
jnz .wait_cmos
in al, 0x71
test al, al
jz .no_fdd
push eax ; b[esp]=al [esp+1..3]- ??
stdcall attach_int_handler, 6, FDCInterrupt, 0
DEBUGF 1, "K : Set Floppy IRQ6 return code %x\n", eax
mov ecx, floppy_mutex mov ecx, floppy_mutex
call mutex_init call mutex_init
; First floppy is present if [DRIVE_DATA] and 0xF0 is nonzero. ; First floppy is present if [esp] and 0xF0 is nonzero.
test byte [DRIVE_DATA], 0xF0 test byte [esp], 0xF0
jz .no1 jz .no1
stdcall disk_add, floppy_functions, floppy1_name, 1, DISK_NO_INSERT_NOTIFICATION stdcall disk_add, floppy_functions, floppy1_name, 1, DISK_NO_INSERT_NOTIFICATION
.no1: .no1:
; Second floppy is present if [DRIVE_DATA] and 0x0F is nonzero. ; Second floppy is present if [esp] and 0x0F is nonzero.
test byte [DRIVE_DATA], 0x0F test byte [esp], 0x0F
jz .no2 jz .no2
stdcall disk_add, floppy_functions, floppy2_name, 2, DISK_NO_INSERT_NOTIFICATION stdcall disk_add, floppy_functions, floppy2_name, 2, DISK_NO_INSERT_NOTIFICATION
.no2: .no2:
add esp, 4
.no_fdd:
ret ret
endp endp

View File

@ -315,7 +315,7 @@ end if
int 0x10 int 0x10
if lang eq ru_RU if lang eq ru_RU
; Load & set Russian VGA font 'bootfont-ru_RU' ; Load & set russian VGA font (RU.INC)
mov bp, RU_FNT1 ; RU_FNT1 - First part mov bp, RU_FNT1 ; RU_FNT1 - First part
mov bx, 1000h ; 768 bytes mov bx, 1000h ; 768 bytes
mov cx, 30h ; 48 symbols mov cx, 30h ; 48 symbols
@ -329,8 +329,8 @@ if lang eq ru_RU
mov dx, 0E0h ; 224 - position of first symbol mov dx, 0E0h ; 224 - position of first symbol
mov ax, 1100h mov ax, 1100h
int 10h int 10h
; End set VGA russian font
else if lang eq et_EE else if lang eq et_EE
; Load & set Estonian VGA font 'bootfont-et_EE'
mov bp, ET_FNT ; ET_FNT1 mov bp, ET_FNT ; ET_FNT1
mov bx, 1000h ; mov bx, 1000h ;
mov cx, 255 ; 256 symbols mov cx, 255 ; 256 symbols

View File

@ -24,25 +24,24 @@ org 0
; struct kernel_header ; struct kernel_header
jmp start_of_code ; jump jmp start_of_code ; jump
db 'KolibriOS ' ; signature db 'KolibriOS ' ; signature
db 'v0.7.7.0 ',13,10,13,10,0 ; FIXME: get distribution version from git tag db 'v0.7.7.0+ ',13,10,13,10,0 ; version
dd B32-KERNEL_BASE ; offset of the kernel's 32-bit entry point dd B32-KERNEL_BASE ; offset of the kernel's 32-bit entry point
include "boot/bootstr.inc" ; language-independent boot messages include "boot/bootstr.inc" ; language-independent boot messages
include "boot/preboot.inc" include "boot/preboot.inc"
; Language support for locales: de_DE, es_ES, ru_RU (CP866), et_EE, en_US.
if lang eq de_DE if lang eq de_DE
include "boot/bootstr-de_DE.inc" ; German system boot messages include "boot/bootge.inc" ; german system boot messages
else if lang eq es_ES else if lang eq es_ES
include "boot/bootstr-es_ES.inc" ; Spanish system boot messages include "boot/bootsp.inc" ; spanish system boot messages
else if lang eq ru_RU else if lang eq ru_RU
include "boot/bootstr-ru_RU.inc" ; Russian system boot messages include "boot/bootru.inc" ; russian system boot messages
include "boot/bootfont-ru_RU.inc" ; Russian font include "boot/ru.inc" ; Russian font
else if lang eq et_EE else if lang eq et_EE
include "boot/bootstr-et_EE.inc" ; Estonian system boot messages include "boot/bootet.inc" ; estonian system boot messages
include "boot/bootfont-et_EE.inc" ; Estonian font include "boot/et.inc" ; Estonian font
else else
include "boot/bootstr-en_US.inc" ; English system boot messages (default) include "boot/booten.inc" ; english system boot messages
end if end if
include "boot/bootcode.inc" ; 16 bit system boot code include "boot/bootcode.inc" ; 16 bit system boot code

View File

@ -12,7 +12,7 @@ goto :eof
:Target_kernel :Target_kernel
rem valid languages: en ru ge et sp rem valid languages: en ru ge et sp
set lang=en set lang=en_US
echo *** building kernel with language '%lang%' ... echo *** building kernel with language '%lang%' ...

View File

@ -45,7 +45,6 @@ keymap_alt:
db 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' db 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
; Language support for locales: ru_RU (UTF-8), es_ES (data32sp.inc), et_EE (data32et.inc), en_US.
if lang eq ru_RU if lang eq ru_RU
boot_initirq cp866 'Инициализация IRQ',0 boot_initirq cp866 'Инициализация IRQ',0
@ -93,7 +92,7 @@ else if lang eq es_ES
include 'data32sp.inc' include 'data32sp.inc'
else if lang eq et_EE else if lang eq et_EE
include 'data32et.inc' include 'data32et.inc'
else ; Default to en_US else
boot_initirq db 'Initialize IRQ',0 boot_initirq db 'Initialize IRQ',0
boot_picinit db 'Initialize PIC',0 boot_picinit db 'Initialize PIC',0
boot_v86machine db 'Initialize system V86 machine',0 boot_v86machine db 'Initialize system V86 machine',0
@ -199,27 +198,27 @@ MIN_DEFAULT_DLL_ADDR = 0x70000000
dll_cur_addr dd MIN_DEFAULT_DLL_ADDR dll_cur_addr dd MIN_DEFAULT_DLL_ADDR
if lang eq en_US ; English (American) if lang eq en_US
SYSLANG = 1 SYSLANG = 1
else if lang eq fi_FI ; Finnish else if lang eq fi_FI
SYSLANG = 2 SYSLANG = 2
else if lang eq de_DE ; German else if lang eq de_DE
SYSLANG = 3 SYSLANG = 3
else if lang eq ru_RU ; Russian else if lang eq ru_RU
SYSLANG = 4 SYSLANG = 4
else if lang eq fr_FR ; French else if lang eq fr_FR
SYSLANG = 5 SYSLANG = 5
else if lang eq et_EE ; Estonian else if lang eq et_EE
SYSLANG = 6 SYSLANG = 6
else if lang eq uk_UA ; Ukrainian else if lang eq uk_UA
SYSLANG = 7 SYSLANG = 7
else if lang eq it_IT ; Italian else if lang eq it_IT
SYSLANG = 8 SYSLANG = 8
else if lang eq nl_BE ; Flemish else if lang eq nl_BE
SYSLANG = 9 SYSLANG = 9
else if lang eq es_ES ; Spanish else if lang eq es_ES
SYSLANG = 10 SYSLANG = 10
else if lang eq ca_ES ; Catalan else if lang eq ca_ES
SYSLANG = 11 SYSLANG = 11
else else
display 'unsupported language specified',13,10 display 'unsupported language specified',13,10

View File

@ -1,36 +0,0 @@
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; ;;
;; Copyright (C) KolibriOS team 2004-2024. All rights reserved. ;;
;; Distributed under terms of the GNU General Public License ;;
;; ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;***************************************************
; clear the DRIVE_DATA table,
; search for FDDs and add them into the table
; author - Mario79
;***************************************************
xor eax, eax
mov edi, DRIVE_DATA
mov ecx, DRIVE_DATA_SIZE/4
cld
rep stosd
mov al, 0x10
out 0x70, al
mov cx, 0xff
wait_cmos:
dec cx
test cx, cx
jnz wait_cmos
in al, 0x71
mov [DRIVE_DATA], al
test al, al
jz @f
stdcall attach_int_handler, 6, FDCInterrupt, 0
DEBUGF 1, "K : Set IDE IRQ6 return code %x\n", eax
call floppy_init
@@:

View File

@ -1,13 +0,0 @@
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; ;;
;; Copyright (C) KolibriOS team 2004-2024. All rights reserved. ;;
;; Distributed under terms of the GNU General Public License ;;
;; ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
include 'dev_fd.inc'
include 'dev_hdcd.inc'
include 'getcache.inc'
include 'sear_par.inc'

View File

@ -6,6 +6,13 @@
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; clear the DRIVE_DATA table
; author - Mario79
xor eax, eax
mov edi, DRIVE_DATA
mov ecx, DRIVE_DATA_SIZE/4
cld
rep stosd
;----------------------------------------------------------------------------- ;-----------------------------------------------------------------------------
; find the IDE controller in the device list ; find the IDE controller in the device list
;----------------------------------------------------------------------------- ;-----------------------------------------------------------------------------
@ -46,7 +53,6 @@ align 4
pop eax pop eax
@@: @@:
DEBUGF 1, 'K : BAR0 IDE base addr %x\n', dx DEBUGF 1, 'K : BAR0 IDE base addr %x\n', dx
mov [StandardATABases], dx
mov [ecx+IDE_DATA.BAR0_val], dx mov [ecx+IDE_DATA.BAR0_val], dx
;-------------------------------------- ;--------------------------------------
mov dx, 0x3F4 mov dx, 0x3F4
@ -73,7 +79,6 @@ align 4
pop eax pop eax
@@: @@:
DEBUGF 1, 'K : BAR2 IDE base addr %x\n', dx DEBUGF 1, 'K : BAR2 IDE base addr %x\n', dx
mov [StandardATABases+2], dx
mov [ecx+IDE_DATA.BAR2_val], dx mov [ecx+IDE_DATA.BAR2_val], dx
;-------------------------------------- ;--------------------------------------
mov dx, 0x374 mov dx, 0x374

View File

@ -729,7 +729,7 @@ end if
;----------------------------------------------------------------------------- ;-----------------------------------------------------------------------------
mov esi, boot_detectfloppy mov esi, boot_detectfloppy
call boot_log call boot_log
include 'detect/dev_fd.inc' call floppy_init
;----------------------------------------------------------------------------- ;-----------------------------------------------------------------------------
; create pci-devices list ; create pci-devices list
;----------------------------------------------------------------------------- ;-----------------------------------------------------------------------------
@ -2288,7 +2288,7 @@ endg
iglobal iglobal
version_inf: version_inf:
db 0,7,7,0 ; FIXME: Get distribution version from git tag db 0,7,7,0 ; version 0.7.7.0
db 0 db 0
.rev dd __REV__ .rev dd __REV__
.size = $ - version_inf .size = $ - version_inf

View File

@ -8,5 +8,5 @@
; Éste archivo debe ser editado con codificación CP866 ; Éste archivo debe ser editado con codificación CP866
version cp850 'KolibriOS versión 0.7.7.0 ',13,10,13,10,0 ; FIXME: Get distribution version from git tag version cp850 'KolibriOS versión 0.7.7.0+ ',13,10,13,10,0
diff16 "fin del código del kernel",0,$ diff16 "fin del código del kernel",0,$

View File

@ -37,7 +37,7 @@ goto :eof
:MAIN :MAIN
set languages=en_US ru_RU de_DE et_EE set languages=en ru ge et
set __CPU_type=p5 p6 k6 set __CPU_type=p5 p6 k6
set BIN=bin set BIN=bin

View File

@ -1,11 +1 @@
../c--/c--.elf -OC -D=LANG_ENG WebView.c ../c--/c--.elf -D=LANG_ENG WebView.c
rm -rf INSTALL.TXT
rm -rf kolibri.img
cp ~/Downloads/latest-img.7z ./
p7zip -d latest-img.7z
sudo mount -o loop kolibri.img /media/floppy1/
sudo rm -rf /media/floppy1/GAMES
sudo rm -rf /media/floppy1/NETWORK/WEBVIEW
sudo cp ./WebView.com /media/floppy1/NETWORK/WEBVIEW
sudo umount /media/floppy1/
echo "finished copying file"

View File

@ -3,5 +3,5 @@ HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../../.." or tup.getconfig("
tup.include(HELPERDIR .. "/use_fasm.lua") tup.include(HELPERDIR .. "/use_fasm.lua")
add_include(tup.getvariantdir()) add_include(tup.getvariantdir())
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en_US" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"}) tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"})
tup.rule({"3DCUBE2.ASM", extra_inputs = {"lang.inc"}}, FASM .. " %f %o " .. tup.getconfig("KPACK_CMD"), "3DCUBE2") tup.rule({"3DCUBE2.ASM", extra_inputs = {"lang.inc"}}, FASM .. " %f %o " .. tup.getconfig("KPACK_CMD"), "3DCUBE2")

View File

@ -1,4 +1,4 @@
lang equ ru_RU lang equ ru
; ;
; Assembler ; Assembler

View File

@ -1,4 +1,4 @@
lang equ ru_RU ; ru_RU en_US fr_FR de_DE fi_FI lang equ ru ; ru en fr ge fi
; ;
; Assembler ; Assembler

View File

@ -1,5 +1,5 @@
@erase lang.inc @erase lang.inc
@echo lang fix en_US >lang.inc @echo lang fix en >lang.inc
@fasm 3dcube2.asm 3dcube2 @fasm 3dcube2.asm 3dcube2
@erase lang.inc @erase lang.inc
@kpack 3dcube2 @kpack 3dcube2

View File

@ -1,5 +1,5 @@
@erase lang.inc @erase lang.inc
@echo lang fix ru_RU >lang.inc @echo lang fix ru >lang.inc
@fasm 3dcube2.asm 3dcube2 @fasm 3dcube2.asm 3dcube2
@erase lang.inc @erase lang.inc
@kpack 3dcube2 @kpack 3dcube2

View File

@ -3,5 +3,5 @@ HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../../.." or tup.getconfig("
tup.include(HELPERDIR .. "/use_fasm.lua") tup.include(HELPERDIR .. "/use_fasm.lua")
add_include(tup.getvariantdir()) add_include(tup.getvariantdir())
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en_US" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"}) tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"})
tup.rule({"3DETX60B.ASM", extra_inputs = {"lang.inc"}}, FASM .. " %f %o " .. tup.getconfig("KPACK_CMD"), "3DETX60B") tup.rule({"3DETX60B.ASM", extra_inputs = {"lang.inc"}}, FASM .. " %f %o " .. tup.getconfig("KPACK_CMD"), "3DETX60B")

View File

@ -1,4 +1,4 @@
lang equ ru_RU lang equ ru
; ;
; Assembler ; Assembler

View File

@ -1,4 +1,4 @@
lang equ ru_RU ; ru_RU en_US fr_FR de_DE fi_FI lang equ ru ; ru en fr ge fi
; ;
; Assembler ; Assembler

View File

@ -1,5 +1,5 @@
@erase lang.inc @erase lang.inc
@echo lang fix en_US >lang.inc @echo lang fix en >lang.inc
@fasm 3detx60b.asm 3detx60b @fasm 3detx60b.asm 3detx60b
@erase lang.inc @erase lang.inc
@pause @pause

View File

@ -1,5 +1,5 @@
@erase lang.inc @erase lang.inc
@echo lang fix ru_RU >lang.inc @echo lang fix ru >lang.inc
@fasm 3detx60b.asm 3detx60b @fasm 3detx60b.asm 3detx60b
@erase lang.inc @erase lang.inc
@pause @pause

View File

@ -3,5 +3,5 @@ HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../../.." or tup.getconfig("
tup.include(HELPERDIR .. "/use_fasm.lua") tup.include(HELPERDIR .. "/use_fasm.lua")
add_include(tup.getvariantdir()) add_include(tup.getvariantdir())
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en_US" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"}) tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"})
tup.rule({"3DTCUB10.ASM", extra_inputs = {"lang.inc"}}, FASM .. " %f %o " .. tup.getconfig("KPACK_CMD"), "3DTCUB10") tup.rule({"3DTCUB10.ASM", extra_inputs = {"lang.inc"}}, FASM .. " %f %o " .. tup.getconfig("KPACK_CMD"), "3DTCUB10")

View File

@ -1,5 +1,5 @@
@erase lang.inc @erase lang.inc
@echo lang fix en_US >lang.inc @echo lang fix en >lang.inc
@fasm 3dtcub10.asm 3dtcub10 @fasm 3dtcub10.asm 3dtcub10
@erase lang.inc @erase lang.inc
@pause @pause

View File

@ -1,5 +1,5 @@
@erase lang.inc @erase lang.inc
@echo lang fix ru_RU >lang.inc @echo lang fix ru >lang.inc
@fasm 3dtcub10.asm 3dtcub10 @fasm 3dtcub10.asm 3dtcub10
@erase lang.inc @erase lang.inc
@pause @pause

View File

@ -1,5 +1,5 @@
@erase lang.inc @erase lang.inc
@echo lang fix en_US >lang.inc @echo lang fix en >lang.inc
@fasm ScreenRuler.asm ScreenRuler @fasm ScreenRuler.asm ScreenRuler
@kpack ScreenRuler @kpack ScreenRuler
@erase lang.inc @erase lang.inc

View File

@ -1,5 +1,5 @@
@erase lang.inc @erase lang.inc
@echo lang fix ru_RU >lang.inc @echo lang fix ru >lang.inc
@fasm ScreenRuler.asm ScreenRuler @fasm ScreenRuler.asm ScreenRuler
@kpack ScreenRuler @kpack ScreenRuler
@erase lang.inc @erase lang.inc

View File

@ -15,7 +15,7 @@
dd 0x1000 ; esp dd 0x1000 ; esp
dd 0, 0 ; no parameters, no path dd 0, 0 ; no parameters, no path
;--------------------------------------------------------------------- ;---------------------------------------------------------------------
include 'lang.inc' ; Language support for locales: ru_RU (UTF-8), en_US. include 'lang.inc'
include '..\..\macros.inc' include '..\..\macros.inc'
delay = 20 delay = 20
@ -240,7 +240,7 @@ draw_magnify:
ret ret
;------------------------- Data area ;------------------------- Data area
if lang eq ru_RU if lang eq ru
labelt: labelt:
db 3, 'Измеритель', 0 db 3, 'Измеритель', 0
start_pix: start_pix:
@ -256,7 +256,7 @@ measure_d:
inf: inf:
db 'Нажмите пробел', 0 db 'Нажмите пробел', 0
else ; Default to en_US else
labelt: labelt:
db 3, 'Ruler', 0 db 3, 'Ruler', 0
start_pix: start_pix:
@ -273,7 +273,6 @@ inf:
db 'Press Space', 0 db 'Press Space', 0
end if end if
I_END: I_END:
align 4 align 4
magnify_area_start_x dd ? magnify_area_start_x dd ?

View File

@ -3,5 +3,5 @@ HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../.." or tup.getconfig("HEL
tup.include(HELPERDIR .. "/use_fasm.lua") tup.include(HELPERDIR .. "/use_fasm.lua")
add_include(tup.getvariantdir()) add_include(tup.getvariantdir())
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en_US" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"}) tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"})
tup.rule({"ScreenRuler.asm", extra_inputs = {"lang.inc"}}, FASM .. " %f %o " .. tup.getconfig("KPACK_CMD"), "ScreenRuler") tup.rule({"ScreenRuler.asm", extra_inputs = {"lang.inc"}}, FASM .. " %f %o " .. tup.getconfig("KPACK_CMD"), "ScreenRuler")

View File

@ -3,5 +3,5 @@ HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../../.." or tup.getconfig("
tup.include(HELPERDIR .. "/use_fasm.lua") tup.include(HELPERDIR .. "/use_fasm.lua")
add_include(tup.getvariantdir()) add_include(tup.getvariantdir())
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en_US" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"}) tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"})
tup.rule({"bcdclk.asm", extra_inputs = {"lang.inc"}}, FASM .. " %f %o " .. tup.getconfig("KPACK_CMD"), "bcdclk") tup.rule({"bcdclk.asm", extra_inputs = {"lang.inc"}}, FASM .. " %f %o " .. tup.getconfig("KPACK_CMD"), "bcdclk")

View File

@ -1,5 +1,5 @@
@erase lang.inc @erase lang.inc
@echo lang fix en_US >lang.inc @echo lang fix en >lang.inc
@fasm bcdclk.asm bcdclk @fasm bcdclk.asm bcdclk
@erase lang.inc @erase lang.inc
@pause @pause

View File

@ -1,5 +1,5 @@
@erase lang.inc @erase lang.inc
@echo lang fix ru_RU >lang.inc @echo lang fix ru >lang.inc
@fasm bcdclk.asm bcdclk @fasm bcdclk.asm bcdclk
@erase lang.inc @erase lang.inc
@pause @pause

View File

@ -3,5 +3,5 @@ HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../../.." or tup.getconfig("
tup.include(HELPERDIR .. "/use_fasm.lua") tup.include(HELPERDIR .. "/use_fasm.lua")
add_include(tup.getvariantdir()) add_include(tup.getvariantdir())
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en_US" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"}) tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"})
tup.rule({"colorref.asm", extra_inputs = {"lang.inc"}}, FASM .. " %f %o " .. tup.getconfig("KPACK_CMD"), "colorref") tup.rule({"colorref.asm", extra_inputs = {"lang.inc"}}, FASM .. " %f %o " .. tup.getconfig("KPACK_CMD"), "colorref")

View File

@ -1,5 +1,5 @@
@erase lang.inc @erase lang.inc
@echo lang fix en_US >lang.inc @echo lang fix en >lang.inc
@fasm colorref.asm colorref @fasm colorref.asm colorref
@erase lang.inc @erase lang.inc
@pause @pause

View File

@ -1,5 +1,5 @@
@erase lang.inc @erase lang.inc
@echo lang fix ru_RU >lang.inc @echo lang fix ru >lang.inc
@fasm colorref.asm colorref @fasm colorref.asm colorref
@erase lang.inc @erase lang.inc
@pause @pause

View File

@ -3,5 +3,5 @@ HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../../.." or tup.getconfig("
tup.include(HELPERDIR .. "/use_fasm.lua") tup.include(HELPERDIR .. "/use_fasm.lua")
add_include(tup.getvariantdir()) add_include(tup.getvariantdir())
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en_US" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"}) tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"})
tup.rule({"crownscr.asm", extra_inputs = {"lang.inc"}}, FASM .. " %f %o " .. tup.getconfig("KPACK_CMD"), "crownscr") tup.rule({"crownscr.asm", extra_inputs = {"lang.inc"}}, FASM .. " %f %o " .. tup.getconfig("KPACK_CMD"), "crownscr")

View File

@ -1,5 +1,5 @@
@erase lang.inc @erase lang.inc
@echo lang fix en_US >lang.inc @echo lang fix en >lang.inc
@fasm crownscr.asm crownscr @fasm crownscr.asm crownscr
@erase lang.inc @erase lang.inc
@pause @pause

View File

@ -1,5 +1,5 @@
@erase lang.inc @erase lang.inc
@echo lang fix ru_RU >lang.inc @echo lang fix ru >lang.inc
@fasm crownscr.asm crownscr @fasm crownscr.asm crownscr
@erase lang.inc @erase lang.inc
@pause @pause

View File

@ -3,5 +3,5 @@ HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../../.." or tup.getconfig("
tup.include(HELPERDIR .. "/use_fasm.lua") tup.include(HELPERDIR .. "/use_fasm.lua")
add_include(tup.getvariantdir()) add_include(tup.getvariantdir())
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en_US" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"}) tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"})
tup.rule({"cslide.asm", extra_inputs = {"lang.inc"}}, FASM .. " %f %o " .. tup.getconfig("KPACK_CMD"), "cslide") tup.rule({"cslide.asm", extra_inputs = {"lang.inc"}}, FASM .. " %f %o " .. tup.getconfig("KPACK_CMD"), "cslide")

View File

@ -1,5 +1,5 @@
@erase lang.inc @erase lang.inc
@echo lang fix en_US >lang.inc @echo lang fix en >lang.inc
@fasm cslide.asm cslide @fasm cslide.asm cslide
@erase lang.inc @erase lang.inc
@pause @pause

View File

@ -1,5 +1,5 @@
@erase lang.inc @erase lang.inc
@echo lang fix ru_RU >lang.inc @echo lang fix ru >lang.inc
@fasm cslide.asm cslide @fasm cslide.asm cslide
@erase lang.inc @erase lang.inc
@pause @pause

View File

@ -3,5 +3,5 @@ HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../../.." or tup.getconfig("
tup.include(HELPERDIR .. "/use_fasm.lua") tup.include(HELPERDIR .. "/use_fasm.lua")
add_include(tup.getvariantdir()) add_include(tup.getvariantdir())
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en_US" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"}) tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"})
tup.rule({"eyes.asm", extra_inputs = {"lang.inc"}}, FASM .. " %f %o " .. tup.getconfig("KPACK_CMD"), "eyes") tup.rule({"eyes.asm", extra_inputs = {"lang.inc"}}, FASM .. " %f %o " .. tup.getconfig("KPACK_CMD"), "eyes")

View File

@ -1,5 +1,5 @@
@erase lang.inc @erase lang.inc
@echo lang fix en_US >lang.inc @echo lang fix en >lang.inc
@fasm eyes.asm eyes @fasm eyes.asm eyes
@erase lang.inc @erase lang.inc
@pause @pause

View File

@ -1,5 +1,5 @@
@erase lang.inc @erase lang.inc
@echo lang fix ru_RU >lang.inc @echo lang fix ru >lang.inc
@fasm eyes.asm eyes @fasm eyes.asm eyes
@erase lang.inc @erase lang.inc
@pause @pause

View File

@ -3,5 +3,5 @@ HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../../.." or tup.getconfig("
tup.include(HELPERDIR .. "/use_fasm.lua") tup.include(HELPERDIR .. "/use_fasm.lua")
add_include(tup.getvariantdir()) add_include(tup.getvariantdir())
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en_US" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"}) tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"})
tup.rule({"free3d04.asm", extra_inputs = {"lang.inc"}}, FASM .. " %f %o " .. tup.getconfig("KPACK_CMD"), "free3d04") tup.rule({"free3d04.asm", extra_inputs = {"lang.inc"}}, FASM .. " %f %o " .. tup.getconfig("KPACK_CMD"), "free3d04")

View File

@ -1,5 +1,5 @@
@erase lang.inc @erase lang.inc
@echo lang fix en_US >lang.inc @echo lang fix en >lang.inc
@fasm free3d04.asm free3d04 @fasm free3d04.asm free3d04
@erase lang.inc @erase lang.inc
@pause @pause

View File

@ -1,5 +1,5 @@
@erase lang.inc @erase lang.inc
@echo lang fix ru_RU >lang.inc @echo lang fix ru >lang.inc
@fasm free3d04.asm free3d04 @fasm free3d04.asm free3d04
@erase lang.inc @erase lang.inc
@pause @pause

View File

@ -1,4 +1,4 @@
lang equ ru_RU ; ru_RU en_US fr_FR de_DE fi_FI lang equ ru ; ru en fr ge fi
; ;
; Assembler ; Assembler

View File

@ -1,4 +1,4 @@
@erase lang.inc @erase lang.inc
@echo lang fix en_US >lang.inc @echo lang fix en >lang.inc
@fasm life.asm life @fasm life.asm life
@pause @pause

View File

@ -1,4 +1,4 @@
@erase lang.inc @erase lang.inc
@echo lang fix ru_RU >lang.inc @echo lang fix ru >lang.inc
@fasm life.asm life @fasm life.asm life
@pause @pause

View File

@ -3,5 +3,5 @@ HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../../.." or tup.getconfig("
tup.include(HELPERDIR .. "/use_fasm.lua") tup.include(HELPERDIR .. "/use_fasm.lua")
add_include(tup.getvariantdir()) add_include(tup.getvariantdir())
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en_US" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"}) tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"})
tup.rule({"magnify.asm", extra_inputs = {"lang.inc"}}, FASM .. " %f %o " .. tup.getconfig("KPACK_CMD"), "magnify") tup.rule({"magnify.asm", extra_inputs = {"lang.inc"}}, FASM .. " %f %o " .. tup.getconfig("KPACK_CMD"), "magnify")

View File

@ -1,5 +1,5 @@
@erase lang.inc @erase lang.inc
@echo lang fix en_US >lang.inc @echo lang fix en >lang.inc
@fasm magnify.asm magnify @fasm magnify.asm magnify
@kpack magnify @kpack magnify
@erase lang.inc @erase lang.inc

View File

@ -1,5 +1,5 @@
@erase lang.inc @erase lang.inc
@echo lang fix ru_RU >lang.inc @echo lang fix ru >lang.inc
@fasm magnify.asm magnify @fasm magnify.asm magnify
@kpack magnify @kpack magnify
@erase lang.inc @erase lang.inc

View File

@ -19,7 +19,7 @@
dd 0x1000 ; esp dd 0x1000 ; esp
dd 0, 0 ; no parameters, no path dd 0, 0 ; no parameters, no path
;--------------------------------------------------------------------- ;---------------------------------------------------------------------
include 'lang.inc' ; Language support for locales: ru_RU (CP866), en_US. include 'lang.inc'
include '..\..\..\macros.inc' include '..\..\..\macros.inc'
delay equ 20 delay equ 20
@ -134,10 +134,10 @@ draw_magnify:
;--------------------------------------------------------------------- ;---------------------------------------------------------------------
; DATA AREA ; DATA AREA
;--------------------------------------------------------------------- ;---------------------------------------------------------------------
if lang eq ru_RU if lang eq ru
labelt: labelt:
db 'Magnifier - <20>ªà ­­ ï «ã¯ ', 0 db 'Magnifier - <20>ªà ­­ ï «ã¯ ', 0
else ; Default to en_US else
labelt: labelt:
db 'Magnifier', 0 db 'Magnifier', 0
end if end if

View File

@ -3,5 +3,5 @@ HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../../.." or tup.getconfig("
tup.include(HELPERDIR .. "/use_fasm.lua") tup.include(HELPERDIR .. "/use_fasm.lua")
add_include(tup.getvariantdir()) add_include(tup.getvariantdir())
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en_US" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"}) tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"})
tup.rule({"movback.asm", extra_inputs = {"lang.inc"}}, FASM .. " %f %o " .. tup.getconfig("KPACK_CMD"), "movback") tup.rule({"movback.asm", extra_inputs = {"lang.inc"}}, FASM .. " %f %o " .. tup.getconfig("KPACK_CMD"), "movback")

View File

@ -1,5 +1,5 @@
@erase lang.inc @erase lang.inc
@echo lang fix en_US >lang.inc @echo lang fix en >lang.inc
@fasm movback.asm movback @fasm movback.asm movback
@erase lang.inc @erase lang.inc
@pause @pause

View File

@ -1,5 +1,5 @@
@erase lang.inc @erase lang.inc
@echo lang fix ru_RU >lang.inc @echo lang fix ru >lang.inc
@fasm movback.asm movback @fasm movback.asm movback
@erase lang.inc @erase lang.inc
@pause @pause

View File

@ -3,5 +3,5 @@ HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../../.." or tup.getconfig("
tup.include(HELPERDIR .. "/use_fasm.lua") tup.include(HELPERDIR .. "/use_fasm.lua")
add_include(tup.getvariantdir()) add_include(tup.getvariantdir())
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en_US" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"}) tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"})
tup.rule({"plasma.asm", extra_inputs = {"lang.inc"}}, FASM .. " %f %o " .. tup.getconfig("KPACK_CMD"), "plasma") tup.rule({"plasma.asm", extra_inputs = {"lang.inc"}}, FASM .. " %f %o " .. tup.getconfig("KPACK_CMD"), "plasma")

View File

@ -1,5 +1,5 @@
@erase lang.inc @erase lang.inc
@echo lang fix en_US >lang.inc @echo lang fix en >lang.inc
@fasm plasma.asm plasma @fasm plasma.asm plasma
@erase lang.inc @erase lang.inc
@pause @pause

View File

@ -1,5 +1,5 @@
@erase lang.inc @erase lang.inc
@echo lang fix ru_RU >lang.inc @echo lang fix ru >lang.inc
@fasm plasma.asm plasma @fasm plasma.asm plasma
@erase lang.inc @erase lang.inc
@pause @pause

View File

@ -3,5 +3,5 @@ HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../.." or tup.getconfig("HEL
tup.include(HELPERDIR .. "/use_fasm.lua") tup.include(HELPERDIR .. "/use_fasm.lua")
add_include(tup.getvariantdir()) add_include(tup.getvariantdir())
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en_US" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"}) tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"})
tup.rule({"ray.asm", extra_inputs = {"lang.inc"}}, FASM .. " %f %o " .. tup.getconfig("KPACK_CMD"), "ray") tup.rule({"ray.asm", extra_inputs = {"lang.inc"}}, FASM .. " %f %o " .. tup.getconfig("KPACK_CMD"), "ray")

View File

@ -3,5 +3,5 @@ HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../../.." or tup.getconfig("
tup.include(HELPERDIR .. "/use_fasm.lua") tup.include(HELPERDIR .. "/use_fasm.lua")
add_include(tup.getvariantdir()) add_include(tup.getvariantdir())
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en_US" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"}) tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"})
tup.rule({"timer.asm", extra_inputs = {"lang.inc"}}, FASM .. " %f %o " .. tup.getconfig("KPACK_CMD"), "timer") tup.rule({"timer.asm", extra_inputs = {"lang.inc"}}, FASM .. " %f %o " .. tup.getconfig("KPACK_CMD"), "timer")

View File

@ -1,5 +1,5 @@
@erase lang.inc @erase lang.inc
@echo lang fix en_US >lang.inc @echo lang fix en >lang.inc
@fasm timer.asm timer @fasm timer.asm timer
@erase lang.inc @erase lang.inc
@pause @pause

View File

@ -1,5 +1,5 @@
@erase lang.inc @erase lang.inc
@echo lang fix ru_RU >lang.inc @echo lang fix ru >lang.inc
@fasm timer.asm timer @fasm timer.asm timer
@erase lang.inc @erase lang.inc
@pause @pause

View File

@ -16,7 +16,7 @@ use32
dd 0x1000 ; esp dd 0x1000 ; esp
dd 0x0 , 0x0 ; I_Param , I_Icon dd 0x0 , 0x0 ; I_Param , I_Icon
include 'lang.inc' ; Language support for locales: ru_RU (CP866), en_US. include 'lang.inc'
include '..\..\..\macros.inc' include '..\..\..\macros.inc'
START: ; start of execution START: ; start of execution
@ -137,9 +137,9 @@ draw_window:
; DATA AREA ; DATA AREA
if lang eq ru_RU if lang eq ru
title db '€‰Œ…<C592>',0 title db '€‰Œ…<C592>',0
else ; Default to en_US else
title db 'TIMER',0 title db 'TIMER',0
end if end if

View File

@ -3,5 +3,5 @@ HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../../.." or tup.getconfig("
tup.include(HELPERDIR .. "/use_fasm.lua") tup.include(HELPERDIR .. "/use_fasm.lua")
add_include(tup.getvariantdir()) add_include(tup.getvariantdir())
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en_US" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"}) tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"})
tup.rule({"tinyfrac.asm", extra_inputs = {"lang.inc"}}, FASM .. " %f %o " .. tup.getconfig("KPACK_CMD"), "tinyfrac") tup.rule({"tinyfrac.asm", extra_inputs = {"lang.inc"}}, FASM .. " %f %o " .. tup.getconfig("KPACK_CMD"), "tinyfrac")

View File

@ -1,5 +1,5 @@
@erase lang.inc @erase lang.inc
@echo lang fix en_US >lang.inc @echo lang fix en >lang.inc
@fasm tinyfrac.asm tinyfrac @fasm tinyfrac.asm tinyfrac
@erase lang.inc @erase lang.inc
@pause @pause

View File

@ -1,5 +1,5 @@
@erase lang.inc @erase lang.inc
@echo lang fix ru_RU >lang.inc @echo lang fix ru >lang.inc
@fasm tinyfrac.asm tinyfrac @fasm tinyfrac.asm tinyfrac
@erase lang.inc @erase lang.inc
@pause @pause

View File

@ -3,5 +3,5 @@ HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../../.." or tup.getconfig("
tup.include(HELPERDIR .. "/use_fasm.lua") tup.include(HELPERDIR .. "/use_fasm.lua")
add_include(tup.getvariantdir()) add_include(tup.getvariantdir())
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en_US" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"}) tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"})
tup.rule({"transp.asm", extra_inputs = {"lang.inc"}}, FASM .. " %f %o " .. tup.getconfig("KPACK_CMD"), "transp") tup.rule({"transp.asm", extra_inputs = {"lang.inc"}}, FASM .. " %f %o " .. tup.getconfig("KPACK_CMD"), "transp")

View File

@ -1,5 +1,5 @@
@erase lang.inc @erase lang.inc
@echo lang fix en_US >lang.inc @echo lang fix en >lang.inc
@fasm transp.asm transp @fasm transp.asm transp
@erase lang.inc @erase lang.inc
@pause @pause

View File

@ -1,5 +1,5 @@
@erase lang.inc @erase lang.inc
@echo lang fix ru_RU >lang.inc @echo lang fix ru >lang.inc
@fasm transp.asm transp @fasm transp.asm transp
@erase lang.inc @erase lang.inc
@pause @pause

View File

@ -3,5 +3,5 @@ HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../../.." or tup.getconfig("
tup.include(HELPERDIR .. "/use_fasm.lua") tup.include(HELPERDIR .. "/use_fasm.lua")
add_include(tup.getvariantdir()) add_include(tup.getvariantdir())
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en_US" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"}) tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"})
tup.rule({"trantest.asm", extra_inputs = {"lang.inc"}}, FASM .. " %f %o " .. tup.getconfig("KPACK_CMD"), "trantest") tup.rule({"trantest.asm", extra_inputs = {"lang.inc"}}, FASM .. " %f %o " .. tup.getconfig("KPACK_CMD"), "trantest")

View File

@ -1,4 +1,4 @@
lang equ ru_RU lang equ ru
; ;
; Assembler ; Assembler

View File

@ -1,4 +1,4 @@
lang equ ru_RU ; ru_RU en_US fr_FR de_DE fi_FI lang equ ru ; ru en fr ge fi
; ;
; Assembler ; Assembler

View File

@ -1,5 +1,5 @@
@erase lang.inc @erase lang.inc
@echo lang fix en_US >lang.inc @echo lang fix en >lang.inc
@fasm trantest.asm trantest @fasm trantest.asm trantest
@erase lang.inc @erase lang.inc
@pause @pause

View File

@ -1,5 +1,5 @@
@erase lang.inc @erase lang.inc
@echo lang fix ru_RU >lang.inc @echo lang fix ru >lang.inc
@fasm trantest.asm trantest @fasm trantest.asm trantest
@erase lang.inc @erase lang.inc
@pause @pause

View File

@ -1,5 +1,5 @@
@erase lang.inc @erase lang.inc
@echo lang fix en_US >lang.inc @echo lang fix en >lang.inc
@fasm tube.asm tube @fasm tube.asm tube
@erase lang.inc @erase lang.inc
@pause @pause

View File

@ -1,5 +1,5 @@
@erase lang.inc @erase lang.inc
@echo lang fix ru_RU >lang.inc @echo lang fix ru >lang.inc
@fasm tube.asm tube @fasm tube.asm tube
@erase lang.inc @erase lang.inc
@pause @pause

View File

@ -3,5 +3,5 @@ HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../.." or tup.getconfig("HEL
tup.include(HELPERDIR .. "/use_fasm.lua") tup.include(HELPERDIR .. "/use_fasm.lua")
add_include(tup.getvariantdir()) add_include(tup.getvariantdir())
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en_US" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"}) tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"})
tup.rule({"use_mb.asm", extra_inputs = {"lang.inc"}}, FASM .. " %f %o " .. tup.getconfig("KPACK_CMD"), "use_mb") tup.rule({"use_mb.asm", extra_inputs = {"lang.inc"}}, FASM .. " %f %o " .. tup.getconfig("KPACK_CMD"), "use_mb")

View File

@ -168,7 +168,7 @@ but_5:
stdcall [mb_reinit],msgbox_5_2 stdcall [mb_reinit],msgbox_5_2
jmp still jmp still
if lang eq ru_RU if lang eq ru
txt1 db '¯à®á⮥',0 txt1 db '¯à®á⮥',0
txt2 db '3 ª­®¯ª¨',0 txt2 db '3 ª­®¯ª¨',0
txt3 db '3 áâப¨',0 txt3 db '3 áâப¨',0
@ -190,7 +190,7 @@ end if
msgbox_1: msgbox_1:
dw 0 dw 0
db 'MBox',0 ;+2 = +MB_TEXT_OFFSET db 'MBox',0 ;+2 = +MB_TEXT_OFFSET
if lang eq ru_RU if lang eq ru
db '<27>ਬ¥à',0 db '<27>ਬ¥à',0
db '‚¨¦ã',0 ;button1 db '‚¨¦ã',0 ;button1
else else
@ -201,7 +201,7 @@ end if
msgbox_2: msgbox_2:
dw 0 dw 0
db 'MBox 3 buttons',0 ;+2 = +MB_TEXT_OFFSET db 'MBox 3 buttons',0 ;+2 = +MB_TEXT_OFFSET
if lang eq ru_RU if lang eq ru
db '<27>ਬ¥à á 3-¬ï ª­®¯ª ¬¨',0 db '<27>ਬ¥à á 3-¬ï ª­®¯ª ¬¨',0
db '„ ',0 ;button1 db '„ ',0 ;button1
db 'Žâ¬¥­ ',0 ;button2 db 'Žâ¬¥­ ',0 ;button2
@ -219,7 +219,7 @@ msgbox_2_funct:
msgbox_3: msgbox_3:
dw 0 dw 0
db 'MBox 3 lines',0 ;+2 = +MB_TEXT_OFFSET db 'MBox 3 lines',0 ;+2 = +MB_TEXT_OFFSET
if lang eq ru_RU if lang eq ru
db '‘âப  1',13,'‘âப  2',13,'‘âப  3',0 db '‘âப  1',13,'‘âப  2',13,'‘âப  3',0
db '2020 £.',0 ;button1 db '2020 £.',0 ;button1
else else
@ -229,7 +229,7 @@ end if
db 0 db 0
msgbox_4: msgbox_4:
dw 0 dw 0
if lang eq ru_RU if lang eq ru
db '‚¢¥¤¨â¥ ¤¥­ì',0 ;+2 = +MB_TEXT_OFFSET db '‚¢¥¤¨â¥ ¤¥­ì',0 ;+2 = +MB_TEXT_OFFSET
else else
db 'Select day',0 ;+2 = +MB_TEXT_OFFSET db 'Select day',0 ;+2 = +MB_TEXT_OFFSET
@ -253,7 +253,7 @@ end if
db ' @......@....@..@....@.....@@..@',13 db ' @......@....@..@....@.....@@..@',13
db ' @......@....@..@....@.........@',13 db ' @......@....@..@....@.........@',13
db ' @@@@@@@@@@@@@@@@@@@@@@@@@@@@@',0 db ' @@@@@@@@@@@@@@@@@@@@@@@@@@@@@',0
if lang eq ru_RU if lang eq ru
db '<27>­',0,'‚â',0,'‘à',0,'—â',0,'<27>â',0,'‘¡',0,'‚®áªà¥á¥­¨¥',0 db '<27>­',0,'‚â',0,'‘à',0,'—â',0,'<27>â',0,'‘¡',0,'‚®áªà¥á¥­¨¥',0
else else
db 'Sun',0,'Mon',0,'Tue',0,'Wed',0,'Thu',0,'Fri',0,'Sat',0 db 'Sun',0,'Mon',0,'Tue',0,'Wed',0,'Thu',0,'Fri',0,'Sat',0
@ -261,7 +261,7 @@ end if
db 0 db 0
msgbox_5: msgbox_5:
dw 0 dw 0
if lang eq ru_RU if lang eq ru
db '‘®®¡é¥­¨¥',0 ;+2 = +MB_TEXT_OFFSET db '‘®®¡é¥­¨¥',0 ;+2 = +MB_TEXT_OFFSET
db '‚믮«­ïî ¯à®æ¥áá ...',0 db '‚믮«­ïî ¯à®æ¥áá ...',0
db 'Žáâ ­®¢¨âì',0 db 'Žáâ ­®¢¨âì',0
@ -275,7 +275,7 @@ end if
db 0 db 0
msgbox_5_2: msgbox_5_2:
dw 0 dw 0
if lang eq ru_RU if lang eq ru
db '‘®®¡é¥­¨¥',0 ;+2 = +MB_TEXT_OFFSET db '‘®®¡é¥­¨¥',0 ;+2 = +MB_TEXT_OFFSET
db '‚ᥠ§ ª®­ç¥­®',0 db '‚ᥠ§ ª®­ç¥­®',0
db '‡ ªàëâì ®ª­®',0 db '‡ ªàëâì ®ª­®',0
@ -326,7 +326,7 @@ fun_show_help:
call draw_square call draw_square
ret ret
sh_help db 0 sh_help db 0
if lang eq ru_RU if lang eq ru
txt_help db '<27>®¬®éì...' txt_help db '<27>®¬®éì...'
else else
txt_help db 'Help...' txt_help db 'Help...'

Some files were not shown because too many files have changed in this diff Show More