These are chat archives for opentk/opentk

27th
Oct 2017
Rosen Iliev
@winterhell
Oct 27 2017 16:42
Can we use GameWindow without the OpenTK.Input namespace?
even protected override void OnKeyDown(OpenTK.Input.KeyboardKeyEventArgs e) requires it
chatbridge
@chatbridge
Oct 27 2017 16:46
(Discord) Jax (Nihlus): Don't think so ​
VperuS
@VPeruS
Oct 27 2017 17:59
Have huge offtopic. If there are libs that provide simplified cpu emulator, so for example if you have two compiled images you swap them back and forth in virtual memory and adjust pointer to next instruction(don't want to work with vm and real hardware because think it will not worth spended time)?
Rosen Iliev
@winterhell
Oct 27 2017 18:39
That is too little information
What exactly are you trying to achieve?
And why are you overthinking/overcomplicating things?
VperuS
@VPeruS
Oct 27 2017 18:42
I want to have full control in my hands, not vm. So I want to put two compiled program into emulator and trigger irq, first program in emulator should unload itself and load another program thats all
Rosen Iliev
@winterhell
Oct 27 2017 18:46
you have 2 executables, and one starts the other and terminates itself?
VperuS
@VPeruS
Oct 27 2017 18:46
yeah but without any operating system, thats why emulator needed
chatbridge
@chatbridge
Oct 27 2017 18:47
(Discord) Jax (Nihlus): I mean, that's a VM ​
(Discord) Jax (Nihlus): I haven't heard of any libraries that do that sort of thing ​
Rosen Iliev
@winterhell
Oct 27 2017 18:47
Almost anything that works with x86 will be an emulator of a machine that has an OS
Including DosBox
Can we assume that the PC is still running Linux/Windows as the host OS ?
VperuS
@VPeruS
Oct 27 2017 18:49
Of course.
Rosen Iliev
@winterhell
Oct 27 2017 18:49
Then everything goes through the main OS' protection layer, priliveges and whatnot
Your program is going to be interrupted and have its execution cycles taken away at random intervals
VperuS
@VPeruS
Oct 27 2017 18:51
I mean, host run emulator and emulator run executables
Rosen Iliev
@winterhell
Oct 27 2017 18:51
Yes the emulator still has an OS underneath
exactly like a virtual machine
Is DOSBox alright for you?
VperuS
@VPeruS
Oct 27 2017 18:52
Give me a second
Rosen Iliev
@winterhell
Oct 27 2017 18:52
Why are you complicating the problem, you dont need that
To have full control, here is some tutorial
Perhaps try real mode assembly
VperuS
@VPeruS
Oct 27 2017 19:03
real mode will require bootstarping + ton of debug code(at least memory dump)
or not, need to think about it, thanks for help
Rosen Iliev
@winterhell
Oct 27 2017 19:41