flat assembler
Message board for the users of flat assembler.
Index
> MenuetOS > Hello word |
Author |
|
bitshifter 23 Dec 2009, 21:12
They are the same except the hex editor groups it differently...
|
|||
23 Dec 2009, 21:12 |
|
arcangel 24 Dec 2009, 15:44
|
|||
24 Dec 2009, 15:44 |
|
revolution 24 Dec 2009, 15:48
You have to decode the binary opcodes. Quite tricky to do in x86. Use the Intel manuals as your guide. Especially see manual 2B Appendices A & B for instruction formats and encoding details.
|
|||
24 Dec 2009, 15:48 |
|
Madis731 26 Dec 2009, 18:26
You are trying it in PHP? What if you need to simulate graphical stuff. Do you plan on some simple PNG images or SVG-graphics + JS?
|
|||
26 Dec 2009, 18:26 |
|
Artlav 26 Dec 2009, 19:58
arcangel wrote: ... Is that what you're trying to do? If yes, you're in for a long, long effort. For opcode encoding and naming you can look at http://sandpile.org/ia32/index.htm The meaning of them can be found in Intel's specs, easy to google. Just in case, even for 16bit subset of x86 it can take many years to make an emulator capable of running meaningful programs. The best thing mine runs after 4 years of intermittent development is only a tetris game. |
|||
26 Dec 2009, 19:58 |
|
Madis731 27 Dec 2009, 13:58
Actually for decoding we have our own (MazeGen from the board) effort up and running at http://ref.x86asm.net/index.html
|
|||
27 Dec 2009, 13:58 |
|
Artlav 27 Dec 2009, 14:29
It's somewhat chaotic for my liking - for encoding it's not as clear as sandpile, for meaning it's not as descriptive as Intel docs.
Maybe it's just needs getting used to. And, what is x86reference.xml good for? |
|||
27 Dec 2009, 14:29 |
|
arcangel 27 Dec 2009, 20:44
Quote: You are trying it in PHP? What if you need to simulate graphical stuff. Do you plan on some simple PNG images or SVG-graphics + JS? I use PHP for undestanding the program code. The emulator will be written in C. Quote: It's called an emulator, or virtual machine - interpret every machine opcode to simulate execution of the program on it. Thanks Ángel |
|||
27 Dec 2009, 20:44 |
|
Endre 30 Dec 2009, 10:41
I don't exactly see why you want to create a virtual machine. If I was you, I'd first try to run menuet application natively. For each system call (int instruction) your framework will get a signal (in case of Unix systems) which you can handle to simulate menuetOS.
It's only a fuzzy idea, and I don't know whether it works, but I'd start in this direction. |
|||
30 Dec 2009, 10:41 |
|
Dex4u 30 Dec 2009, 17:14
There already one available that works like Endre posted called KlbrInWin and MeOSEmul
See here: http://board.kolibrios.org/viewtopic.php?f=23&t=1273 |
|||
30 Dec 2009, 17:14 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.