flat assembler
Message board for the users of flat assembler.
Index
> DOS > Fasm executable freezing in DOS Goto page Previous 1, 2 |
Author |
|
Tomasz Grysztar 15 Aug 2005, 11:06
Not really, and Cyrix is an example (and also Bochs, which emulates flat real mode nicely, but 32-bit real mode not at all).
|
|||
15 Aug 2005, 11:06 |
|
vid 15 Aug 2005, 12:27
this is interesting... what fails then? what happens and where does it crash?
|
|||
15 Aug 2005, 12:27 |
|
revolution 15 Aug 2005, 14:44
It occurs to me that perhaps you don't actually need to jump back to real (unreal) mode. You can stay in protected mode during the assembly process and each time there is an interrupt just switch to real mode to service it and then back to protected mode to continue assembling.
Many years ago I once did that exact thing to run 32 bit code under DOS. Worked flawlessly on my old 386 and Cyrix processors. |
|||
15 Aug 2005, 14:44 |
|
Tomasz Grysztar 15 Aug 2005, 14:55
But unreal is so nice trick. And allows me to use segment addresses directly. For protected mode I just use DPMI - more universal.
My earlier implementations of unreal were even more tricky - without moving the IDT, the interrupt handlers were autodetecting the bitness of code. But it was not so stable and was causing problems with some BIOSes (well, some of the interrupt vectors are actually used as a pointers to data). The IDT moving implementation, however, worked on all processors where I (or some friends) tested it - including some newer Cyrix. This is the first case when I met actual processor that doesn't allow this. |
|||
15 Aug 2005, 14:55 |
|
Goto page Previous 1, 2 < Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.