Who's Online |
91 user(s) are online ( 58 user(s) are browsing Forums)
Members: 1
Guests: 90
geennaam,
more...
|
|
Headlines |
-
amidisas.tar.bz2 - development/utility
Apr 16, 2024
-
wildmidi.lha - audio/play
Apr 15, 2024
-
liba52.lha - development/library/audio
Apr 14, 2024
-
libcurl.lha - development/library/misc
Apr 14, 2024
-
libopenssl.lha - development/library/misc
Apr 14, 2024
-
bermudasyndrome.lha - game/action
Apr 14, 2024
-
amigagpt.lha - network/chat
Apr 14, 2024
-
curl.lha - network/misc
Apr 14, 2024
-
dgen_sdl.lha - emulation/gamesystem
Apr 12, 2024
-
amiarcadia.lha - emulation/gamesystem
Apr 11, 2024
|
|
|
|
Re: Interested in learning OpenGL ES 2 or Warp3D Nova?
|
Posted on: 2016/9/15 18:19
#1481
|
Just can't stay away
|
@Hans
I can try to add OpenGL ES 2 support for SDL2 but I can't test it myself at the moment. If someone else can, then good..
|
|
|
|
Re: Interested in learning OpenGL ES 2 or Warp3D Nova?
|
Posted on: 2016/9/10 13:33
#1482
|
Just can't stay away
|
https://github.com/residualvm/residual ... facesdl-graphics.cpp#L168This is the code? Looks like it is using a dynamic screen-sized texture, uploaded to VRAM each frame. With StarFighter, on Sam440 with 800*600 resolution, similar rendering is fastest with compositing, then software and slowest with MiniGL. As I don't know nothing about Nova, I let Hans to speculate how it will do here.
|
|
|
|
Re: Interested in learning OpenGL ES 2 or Warp3D Nova?
|
Posted on: 2016/9/10 13:05
#1483
|
Just can't stay away
|
@Raziel
It is probably hard to answer without knowing what application you are porting.
|
|
|
|
Re: NetSurf very unstable?
|
Posted on: 2016/8/10 18:48
#1486
|
Just can't stay away
|
@Chris
Only had a brief look, but if there is a crash during exit, is possible pending IO checked and aborted? I notice SendIO() being used.
|
|
|
|
Re: Is it possible to rename a shell process?
|
Posted on: 2016/8/9 16:38
#1487
|
Just can't stay away
|
@broadblues
Top command on Linux lists itself too.
Joerg wrote a "top" command ~10 years ago. Today I found it from my harddrive. It lists also task switches per second and apparently the time spent inside Forbid(). This version also lists itself and support dynamically started new tasks without issues.
Hieronymus unfortunately crashes on my Sam440.
|
|
|
|
Re: Is it possible to rename a shell process?
|
Posted on: 2016/8/8 18:45
#1488
|
Just can't stay away
|
@broadblues
It's supposed to be a top clone. Thus, it is obviously very useful to see at least the "top" task's name listed in the view, when there are more than one "Shell Process".
It's still one process that wants to have its unique name (see above), and the same process that wants to list the names of all tasks.
I will have to investigate exclusive startup. Due to how this clone works at the moment, it would be a disaster to have more than one instance running. But maybe there is a better way to sample CPU usage than poking tc_Launch/tc_Switch? I have to investigate how Hieronymus profiler works.
Anyway, the task name issue is solved. In internal data structures any invented name can be used when the current Task pointer matches the one being checked.
Also poking the ln_Name field works but it is a hack.
@all
Thanks for the answers.
|
|
|
|
Re: Is it possible to rename a shell process?
|
Posted on: 2016/8/7 14:22
#1489
|
Just can't stay away
|
After some googling, I found a suggestion to just store the old ln_Name and restore it before exit. Seems to work but probably some kittens died in the process.
|
|
|
|
Re: Is it possible to rename a shell process?
|
Posted on: 2016/8/7 13:58
#1490
|
Just can't stay away
|
I was a little bit tired yesterday evening so I try to clarify. My expectation was that if I ran a program called "hello" from shell, it would have appeared with the name "hello" when I walk through the Exec list of tasks (ln_Name). But it didn't.
I tried SetCliProgramName() but as far as I can see, it doesn't affect ln_Name at least. It is always "Shell Process".
Technically there is just one task (or process) with no child tasks (or processes).
|
|
|
|
Is it possible to rename a shell process?
|
Posted on: 2016/8/6 20:08
#1491
|
Just can't stay away
|
If a program is started from shell, is it possible to give it a custom name at runtime using some library API?
|
|
|
|
Re: os4 cpu metter ?
|
Posted on: 2016/8/5 16:57
#1492
|
Just can't stay away
|
@Severin
Regarding Scout, it should be possible to use tc_switch and tc_launch vectors of each task, to calculate their execution time.
|
|
|
|
Re: os4 cpu metter ?
|
Posted on: 2016/8/4 15:56
#1493
|
Just can't stay away
|
@Severin
Good suggestion. Maybe in 0.7?
@ChrisH
In general it would be nice if Exec provided API to query CPU load. Then all these meters would be compatible and much simpler technically.
Exec could also keep book on each task's CPU time while scheduling them.
|
|
|
|
Re: os4 cpu metter ?
|
Posted on: 2016/8/3 18:40
#1494
|
Just can't stay away
|
CPU Watcher has now a GitHub project. Version 0.6 is in the OS4Depot upload queue. Code was cleaned, some bugs were fixed and it can now use real transparency. Tested on Sam440 only so far so it would be good to hear other results :) https://github.com/capehill/cpuwatcher
|
|
|
|
Re: Subversion certificate error
|
Posted on: 2016/7/29 8:03
#1495
|
Just can't stay away
|
@alfkil
I realize this may not be the answer you are looking for, but you could also try sgit and GitHub/BitBucket if this is your own project.
|
|
|
|
Re: SDL2
|
Posted on: 2016/7/17 9:47
#1496
|
Just can't stay away
|
@MickJT Yes, documentation is here https://wiki.libsdl.org/SDL_GetKeyboardStateCheckkeys also reports escape pressed/released. But what it should report for text? Regarding bad_alloc, it's also game issue that it doesn't try-catch the error. However, we have to debug why allocation failed.
|
|
|
|
Re: SDL2
|
Posted on: 2016/7/16 10:01
#1498
|
Just can't stay away
|
|
|
|
|
Re: SDL2
|
Posted on: 2016/7/15 17:47
#1499
|
Just can't stay away
|
@Cap
Heh, just finished Dark Souls 3 like a week ago. Phew.
@tlosm:
Half-life engine looks very interesting. What is the status of the project?
@MickJT:
Thanks!
|
|
|
|
Re: SDL2
|
Posted on: 2016/7/10 11:53
#1500
|
Just can't stay away
|
|
|
|
|