Board.KolibriOS.org
https://board.kolibrios.org/

Все игры для KolibriOS
https://board.kolibrios.org/viewtopic.php?f=41&t=1015
Page 13 of 14

Author:  hidnplayr [ Thu May 02, 2013 12:18 pm ]
Post subject:  Re: Все игры для KolibriOS

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

Author:  yogev_ezra [ Thu May 02, 2013 12:21 pm ]
Post subject:  Re: Все игры для KolibriOS

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.

Author:  hidnplayr [ Thu May 02, 2013 12:22 pm ]
Post subject:  Re: Все игры для KolibriOS

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.

Author:  SoUrcerer [ Thu May 02, 2013 9:26 pm ]
Post subject:  Re: Все игры для KolibriOS

HedgeWars написаны на Паскале, порт FreePascal есть. Правда, придется всё это линковать с физическими библиотеками и SDL, которые, в свою очередь, написаны на Си. Я думаю, что это доставит определенные проблемы, но ничего невозможного нет. Я оцениваю время на "запускающуюся" версию порта в 3-4 недели работы неоптыного любителя, или 1-2 недели опытного.

Author:  Mario_r4 [ Thu May 02, 2013 11:00 pm ]
Post subject:  Re: Все игры для KolibriOS

hidnplayr
Spoiler: Show
We expected more!
Attachment:
cereal-guy-hey.png
cereal-guy-hey.png [ 12.29 KiB | Viewed 5043 times ]

Author:  Albom [ Sat Sep 21, 2013 9:35 pm ]
Post subject:  Re: Все игры для KolibriOS

Добавил в Reversi вывод счёта (r3924).

Author:  DmitrySokolowsky [ Fri Nov 22, 2013 8:38 pm ]
Post subject:  Re: Все игры для KolibriOS

Собрал "Ну погоди!" из исходников. Вверху должен быть счёт, но его нет. Все изображения вроде бы присутствуют...

Attachments:
7.png
7.png [ 122.38 KiB | Viewed 4877 times ]

Author:  IgorA [ Sat Nov 23, 2013 11:51 pm ]
Post subject:  Re: Все игры для KolibriOS

нужно еще добавить файл font8x9.bmp который я брал из папки kfar
http://websvn.kolibrios.org/filedetails ... ont8x9.bmp

Author:  Leency [ Sun May 04, 2014 6:30 pm ]
Post subject:  Re: Все игры для KolibriOS

Не работает управление в игре Red Square.

Author:  Albom [ Sun May 04, 2014 9:55 pm ]
Post subject:  Re: Все игры для KolibriOS

Leency wrote:
Не работает управление в игре Red Square.

Починено в r4917

Author:  Leency [ Tue May 06, 2014 11:13 pm ]
Post subject:  Re: Все игры для KolibriOS

Спасибо!

Author:  CleverMouse [ Fri Sep 05, 2014 5:59 pm ]
Post subject:  Re: Все игры для KolibriOS

IgorA wrote:
Новая версия программы life3, отличия от предыдущей версии:

Code:
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.

Author:  hidnplayr [ Fri Sep 05, 2014 6:29 pm ]
Post subject:  Re: Все игры для KolibriOS

Seems to fix it:

Code:
@@ -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'

Author:  IgorA [ Fri Sep 05, 2014 8:10 pm ]
Post subject:  Re: Все игры для KolibriOS

CleverMouse и hidnplayr спасибо, исправил в 5092

Author:  CleverMouse [ Fri Sep 12, 2014 9:31 pm ]
Post subject:  Re: Все игры для KolibriOS

Я настроила автосборку reversi из исходников в r5111.

Page 13 of 14 All times are UTC+03:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/