flat assembler
Message board for the users of flat assembler.
  
|  Index
      > OS Construction > is something wrong with my PrintString:   (16bit and bios) | 
| Author | 
 | 
| rhyno_dagreat 09 Dec 2006, 19:37 hckr83, is that all of your OS code? If it is then you're forgetting three things:
 
 If that isn't your problem, did you put anything into ax before you started putting the the value in it into the data segment and extra segment? | |||
|  09 Dec 2006, 19:37 | 
 | 
| hckr83 09 Dec 2006, 19:43 Quote: # Start the program at offset 0x7C00 using "org 0x7C00" I already did the "equivalent" to that(I don't have fdd support yet so I just load it straight into memory) Quote: If that isn't your problem, did you put anything into ax before you started putting the the value in it into the data segment and extra segment? I didn't completely understand what you just said but I AX doesn't have any special data in it, at the first part I use it to mov ES to DS | |||
|  09 Dec 2006, 19:43 | 
 | 
| rhyno_dagreat 09 Dec 2006, 19:58 You should still make sure it contains zero before you do. Just either "mov ax, 0" or "xor ax, ax". | |||
|  09 Dec 2006, 19:58 | 
 | 
| < Last Thread | Next Thread > | 
| Forum Rules: 
 | 
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.