Re: ASM noob - couple of questions



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
.



Relevant Pages

  • Re: Linux syscalls
    ... > A device driver or a rewrite of DOS could permit this, ... really "DOS inside Windows" or "Windows inside DOS"? ... > DOS interrupts are revectored... ... if you re-write DOS to use the _Windows device drivers_ ...
    (alt.lang.asm)
  • [Full-Disclosure] ron1n phone home, episode 4
    ... Hacking from Windows 3.x, 95 and NT ... Use secret Windows 95 DOS commands to track down and port surf computers ... Download hacker tools such as port scanners and password crackers designed ... Now you have the option of eight TCP/IP utilities to play with: telnet, ...
    (Full-Disclosure)
  • Re: MS and security: good effort but no cigar
    ... And last but not least, no fat, no dos, no multiboot. ... build upon the progress it's already made in security. ... a Windows system, it is still surprisingly easy to completely own that ... Then there's the issue of poorly secured server applications. ...
    (microsoft.public.windowsxp.general)
  • Re: assembly language and reverse engineering
    ... in Windows assembly programming what you can't learn when doing ... Windows API but about assembly programming). ... And you have far less to learn to get your first working DOS program than ... but, real mode is real mode, and pmode is pmode. ...
    (alt.lang.asm)
  • Re: Gamma Function
    ... the destructive Windows critter-makers who are ... Windows runs DOS programs ... DOS isn't a multi-tasking operating system. ... The virus itself is but a code fragment that attaches ...
    (sci.physics.relativity)