Page 13 of 14

Re: Все игры для KolibriOS

Posted: Thu May 02, 2013 12:18 pm
by hidnplayr
yogev_ezra wrote:
hidnplayr wrote:Mario_r4
PIO vs DMA depends on the card eg rtl8029 always uses PIO while rtl8139 already uses DMA.
There is no reason to wait for new network stack, this game should work fine. :)
Umm but then what was the reason you started to write new stack? Was it only to move the network card drivers outside of the kernel, and to support more than one network card at once? I thought it was also to improve speed :-(
New stack uses interrupts rather then polling the cards, new stack tries to use a 'zero copying' approach while old stack copies packets from one place to another, multiple times, this increases CPU usage and decreases performance.
Old stack uses its own API while new stack tries to follow the 'industry standard' BSD sockets API.
Old stack works only with one network card at a time, and you cannot choose which one without recompiling the kernel. New stack can handle multiple cards at once and let users select which one.

I thought this was obvious :D

Re: Все игры для KolibriOS

Posted: Thu May 02, 2013 12:21 pm
by yogev_ezra
hidnplayr wrote:New stack uses interrupts rather then polling the cards, new stack tries to use a 'zero copying' approach while old stack copies packets from one place to another, multiple times, this increases CPU usage and decreases performance.
This is what I initially thought. So actually Mario was right, and new stack has better performance, although it's not related to using DMA vs PIO mode.

Re: Все игры для KolibriOS

Posted: Thu May 02, 2013 12:22 pm
by hidnplayr
yogev_ezra wrote:
hidnplayr wrote:New stack uses interrupts rather then polling the cards, new stack tries to use a 'zero copying' approach while old stack copies packets from one place to another, multiple times, this increases CPU usage and decreases performance.
This is what I initially thought. So actually Mario was right, and new stack has better performance, although it's not related to using DMA vs PIO mode.
Correct.

Re: Все игры для KolibriOS

Posted: Thu May 02, 2013 9:26 pm
by SoUrcerer
HedgeWars написаны на Паскале, порт FreePascal есть. Правда, придется всё это линковать с физическими библиотеками и SDL, которые, в свою очередь, написаны на Си. Я думаю, что это доставит определенные проблемы, но ничего невозможного нет. Я оцениваю время на "запускающуюся" версию порта в 3-4 недели работы неоптыного любителя, или 1-2 недели опытного.

Re: Все игры для KolibriOS

Posted: Thu May 02, 2013 11:00 pm
by Mario_r4
hidnplayr
Spoiler:We expected more!
cereal-guy-hey.png
cereal-guy-hey.png (12.29 KiB)
Viewed 11502 times

Re: Все игры для KolibriOS

Posted: Sat Sep 21, 2013 9:35 pm
by Albom
Добавил в Reversi вывод счёта (r3924).

Re: Все игры для KolibriOS

Posted: Fri Nov 22, 2013 8:38 pm
by DmitrySokolowsky
Собрал "Ну погоди!" из исходников. Вверху должен быть счёт, но его нет. Все изображения вроде бы присутствуют...

Re: Все игры для KolibriOS

Posted: Sat Nov 23, 2013 11:51 pm
by IgorA
нужно еще добавить файл font8x9.bmp который я брал из папки kfar
http://websvn.kolibrios.org/filedetails ... ont8x9.bmp

Re: Все игры для KolibriOS

Posted: Sun May 04, 2014 6:30 pm
by Leency
Не работает управление в игре Red Square.

Re: Все игры для KolibriOS

Posted: Sun May 04, 2014 9:55 pm
by Albom
Leency wrote:Не работает управление в игре Red Square.
Починено в r4917

Re: Все игры для KolibriOS

Posted: Tue May 06, 2014 11:13 pm
by Leency
Спасибо!

Re: Все игры для KolibriOS

Posted: Fri Sep 05, 2014 5:59 pm
by CleverMouse
IgorA wrote:Новая версия программы life3, отличия от предыдущей версии:

Code: Select all

C:\kolibri\localcopy\programs\games\life3\trunk>fasm life3.asm
flat assembler  version 1.71.21  (1048576 kilobytes memory)
life3.asm [15]:
include '../../nu_pogodi/trunk/mem.inc'
error: file not found.

Re: Все игры для KolibriOS

Posted: Fri Sep 05, 2014 6:29 pm
by hidnplayr
Seems to fix it:

Code: Select all

@@ -1,3 +1,5 @@
+format binary as ""
+
 use32
 	org 0x0
 	db 'MENUET01' ;идентиф. исполняемого файла всегда 8 байт
@@ -12,8 +14,7 @@ use32
 include '../../../macros.inc'
 include '../../../proc32.inc'
 include '../../../develop/libraries/box_lib/load_lib.mac'
-include '../../nu_pogodi/trunk/mem.inc'
-include '../../nu_pogodi/trunk/dll.inc'
+include '../../../dll.inc'

Re: Все игры для KolibriOS

Posted: Fri Sep 05, 2014 8:10 pm
by IgorA
CleverMouse и hidnplayr спасибо, исправил в 5092

Re: Все игры для KolibriOS

Posted: Fri Sep 12, 2014 9:31 pm
by CleverMouse
Я настроила автосборку reversi из исходников в r5111.