Re: [Freedos-devel] Making a task switcher “from scratch”. Some problems..

2016-10-07 Thread Sébastien FAVIER
Bonjour Eric! Thank you very much for your explanations, I'm a bit more brightens. :) But I think that I not explained the conditions, it's not explicitely "Task switcher for FreeDos" but more "Task Switcher for internal threads/functions" / "Stack switcher" or "Context switcher" In my .exe

Re: [Freedos-devel] Making a task switcher “from scratch”. Some problems..

2016-10-06 Thread Eric Auer
Bonsoir Sebastien! > Since more days, I develop "from scratch" my "task switcher" on FreeDos in > asm/c++ > for preemption. Have you tried improving the existing TriDOS instead? > * I succeeded to create stack memory in array, for each > tasks added. > * I was not able to "switch" with

[Freedos-devel] Making a task switcher “from scratch”. Some problems..

2016-10-06 Thread Sébastien FAVIER
Hi all :) Since more days, I develop "from scratch" my "task switcher" on FreeDos in asm/c++ for preemption. * I succeeded to create stack memory in array, for each tasks added. * I was not able to "switch" with two stack in asm inline (in Task_Switch() function) .. CRASH If someone can