Changes between Version 13 and Version 14 of almosOnTsarDoc


Ignore:
Timestamp:
Aug 21, 2012, 1:04:53 AM (13 years ago)
Author:
almaless
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • almosOnTsarDoc

    v13 v14  
    5252}}}
    5353
    54 This will launch the TSAR full-system simulator with its 4 tty terminals and one frame-buffer window. You will end by having a shell prompt on the tty1. That is it ... you are done !!
     54This will launch the TSAR full-system simulator with its 4 tty terminals and one frame-buffer window. You will end by having a shell prompt on the tty1.
     55
     56That is it ... you are done !!
    5557
    5658The tty0 and tty3 are reserved for the kernel trace and information messages. For a user application, the tty1 represent the stdin and stdout while the tty2 represent the stderr.
     
    99101}}}
    100102
    101 This will copy the ''./hello'' to ''/bin/hello'' inside the ''hdd-img.bin'' file system image.
     103This will copy the ''hello'' program located in your current directory on your host machine (Linux) to ''/bin/hello'' inside the ''hdd-img.bin'' file system image.
     104
     105Now, lets go to the ''DISTRIB/test/pf1'' directory and launch the simulator:
     106
     107{{{
     108$ cd ''DISTRIB/test/pf1''
     109$ make sim1
     110}}}
     111
     112Wait until you get a prompt on the ''tty1'' console, then type:
     113
     114{{{
     115[/HOME/ROOT]>ls /bin
     116}}}
     117
     118The contents of ''/bin'' directory will be listed and the ''hello'' program must figure in the list. To run ''/bin/hello'' program, type the following command on the ''tty1'' console:
     119
     120{{{
     121[/HOME/ROOT]>exec /bin/hello
     122}}}
     123
     124You can see some kernel log messages on the ''tty0'' and ''tty3'' until you see the output of your ''hello'' program arrives on the ''tty1''.
     125
     126That is it ... you are done !!
    102127
    103128== Running without interactive mode ==