Re: ASM noob - couple of questions
- From: Frank Kotler <fbkotler@xxxxxxxxxxx>
- Date: Mon, 13 Mar 2006 15:01:23 -0500
o//annabee wrote:
....
But using directx, or COM is n prinsiple like this :[snip]
Really good explanation! As good as Beth could do, and you only said it once! :)
Maybe John picked up a piece of the puzzle. I won't be using DirecX itself, I don't imagine... Apparently the Linux equivalent is "sdl". A quick google for "DirectX Linux" turns up more links to "How do I..." questions than anything else.
....Just for the hell of it, here's some Windows/Linux code Numit_or posted (Yahoo nasm-users group). Uses "opengl"
[snip]
....
Thanks for this one. Even it uses C,
Yeah, sorta... It calls C-written libraries... Does DirectX do different?
....
Maybe someone, could give us ASMERS access to the whole of the machine through some DLL?
If someone wrote a DLL, which would run like a service of something, we could all get access to the whole of the machine through it? Then we could program the machine directly whenever needed? Have anyone written such a library?`Is it possible to bring a client program into ring 0 with such a library? For instance, would such a service give access to program windows using the real underlying interrupts? Could one for instance take windows to Fullscreen mode, and disable most of the system, and create sort of like an embedded OS on it?
An interesting idea. It would be pretty "dangerous"...
Dos was more fun!
.... of course, that's part of the fun! :)
No Frank. You silly nostalgic. :)) Dos was more trouble. When you fixed the trouble, it took longer time, thus it was more of a relief, more of a felling of having "conquered" to solve it. Thus it may felt more fun. But you had acomplished..... less :))
Horse apples! Dos provides some (wimpy) services. If all I want to do is run someone else's code the Windows API is much more powerful, and perhaps "easier", if I want to do something Windows provides that dos does not. But if I want to *do* something, dos stays the hell out of my way and lets me do it, without trying to force me to use an API. For a simple example, dos lets me put "hello world" on the screen - easily - without touching a single interrupt, or other call to dos (except to exit). Can you do that in Windows without calling an API? I don't think so. We've both got some characters on the screen, but in dos, I've got the choice of calling Uncle Bill's code, or doing it in my own code. AFAIK, Windows gives you no choice but to call Uncle Bill's code. Who has "accomplished" more is debateable - we've both got some characters on the screen... "echo" would have done that...
But, say if the above suggestion could be performed... Could windows become fun again?
Possibly... emulate that "32-bit real mode" that Herbert was talking about...
Best,
Frank
.
- Follow-Ups:
- Re: ASM noob - couple of questions
- From: JGCASEY
- Re: ASM noob - couple of questions
- References:
- ASM noob - couple of questions
- From: Daniel Bodnar
- Re: ASM noob - couple of questions
- From: JGCASEY
- Re: ASM noob - couple of questions
- From: Betov
- Re: ASM noob - couple of questions
- From: JGCASEY
- Re: ASM noob - couple of questions
- From: Betov
- Re: ASM noob - couple of questions
- From: Frank Kotler
- Re: ASM noob - couple of questions
- From: o//annabee
- ASM noob - couple of questions
- Prev by Date: Re: "We Never Use Assembly Language"
- Next by Date: Re: "We Never Use Assembly Language"
- Previous by thread: Re: ASM noob - couple of questions
- Next by thread: Re: ASM noob - couple of questions
- Index(es):
Relevant Pages
|