flat assembler
Message board for the users of flat assembler.
  
       
      Index
      > OS Construction > why this code can run win2k8/win7, but not Winxp | 
  
| Author | 
  | 
              
| 
                  
                   typedef 29 Nov 2011, 11:00 
                  Are you trying to run it in pMode ? By the way, I think you posted in a wrong section. 
                  
                 | 
              |||
                  
  | 
              
| 
                  
                   f0dder 29 Nov 2011, 16:09 
                  typedef wrote: Are you trying to run it in pMode ? By the way, I think you posted in a wrong section. _________________ carpe noctem  | 
              |||
                  
  | 
              
| 
                  
                   typedef 29 Nov 2011, 16:32 
                  f0dder wrote: 
 oh yeah. I see the org. But yeah, wrong section I think  | 
              |||
                  
  | 
              
| 
                  
                   shutdownall 29 Nov 2011, 20:22 
                  pyq881120 wrote: Hi everyone Are you sure, you let run the same code on all systems ? Do you test with different PC's or do you have all 3 operating systems on the same PC with partitions ? The code looks like it's not working at all, when compiling there is an error shown at "jmp word 0x0000:0x07c00". I think the size of int13hook is too small. And you do a POP DS without pushing something. Did you write the code yourself ? Looks like copied from different sources. Why do you jump after loading the code and why do a retf with the stack ? By the way, you don't init the stack (SS / SP) which is not a good programming style and can cause side effects. And what do you want to do ? I think INT13 from BIOS is used for bootloader only. Operating system will use ATAPI interface with in/out or memory mapped i/o and not use BIOS interrupt. Just my thoughts before spending too much time in a project ...  | 
              |||
                  
  | 
              
| 
                  
                   shutdownall 29 Nov 2011, 20:25 
                  And yes, section is wrong.
 
                  
                Should be posted in OS construction ... (for bootloaders).  | 
              |||
                  
  | 
              
| 
                  
                   mbr_tsr 03 Dec 2011, 02:21 
                  ECS:EIP Ha ha i have DQ Double Quad Word Math U when you dq it splits the whole thing in half and flips it then splits each quarter in half and flips it then splits and flips again, dq 0xFFFFFFFFFFFFFFFF i cracked the 64 bit code you try to inc qword [cs:MyDQ] u can't unless you do the butterfly flip formula. 
                  
                 | 
              |||
                  
  | 
              
< Last Thread | Next Thread >  | 
    
Forum Rules: 
  | 
    
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.