flat assembler
Message board for the users of flat assembler.
  
       
      Index
      > Linux > Direct print | 
  
| Author | 
  | 
              
| 
                  
                   a16b03 08 Mar 2006, 22:05 
                  Is there a possibility to Print text directly to screen under linux? Can i use 0D800h address? 
                  
                 | 
              |||
                  
  | 
              
| 
                  
                   vid 08 Mar 2006, 22:13 
                  you meant B800. Not without dirty tricks 
                  
                 | 
              |||
                  
  | 
              
| 
                  
                   Feryno 09 Mar 2006, 06:31 
                  Hello, use device like /dev/vcs1 or /dev/vcs4 (number of virtual console switched by ALT+F1...ALT+F6) for read from or write to console (text only, not character attributes). You can use it without asm code by dd command
 
                  
                dd if=/dev/vcs1 of=con_dump.txt (note that you will get unformatted text with a lot of space chars = 20h bytes - no new line bytes 0Ah...). If you want to access character+char_attributes (like DOS access on segment B800h) use /dev/vcsa look for window sample (/src/bonus/window.asm) from http://asm.sourceforge.net/asmutils/asmutils-0.18.tar.gz for /dev/vcsa access  | 
              |||
                  
  | 
              
< Last Thread | Next Thread >  | 
    
Forum Rules: 
  | 
    
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.