Changes between Version 1 and Version 2 of WikiStart


Ignore:
Timestamp:
Mar 4, 2009, 6:32:41 PM (11 years ago)
Author:
monga
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WikiStart

    v1 v2  
    1 = Welcome to Trac 0.11.1 =
     1= Laboratorio di Sistemi Operativi =
    22
    3 Trac is a '''minimalistic''' approach to '''web-based''' management of
    4 '''software projects'''. Its goal is to simplify effective tracking and handling of software issues, enhancements and overall progress.
     3== 4 marzo 2009 ==
    54
    6 All aspects of Trac have been designed with the single goal to
    7 '''help developers write great software''' while '''staying out of the way'''
    8 and imposing as little as possible on a team's established process and
    9 culture.
     5 * [http://homes.dico.unimi.it/sisop/lucidi0809/solab01.pdf slide]([http://homes.dico.unimi.it/sisop/lucidi0809/solab01.pdf Versione stampa])
    106
    11 As all Wiki pages, this page is editable, this means that you can
    12 modify the contents of this page simply by using your
    13 web-browser. Simply click on the "Edit this page" link at the bottom
    14 of the page. WikiFormatting will give you a detailed description of
    15 available Wiki formatting commands.
     7=== Programmi ===
    168
    17 "[wiki:TracAdmin trac-admin] ''yourenvdir'' initenv" created
    18 a new Trac environment, containing a default set of wiki pages and some sample
    19 data. This newly created environment also contains
    20 [wiki:TracGuide documentation] to help you get started with your project.
     9* Accesso diretto alla macchina fisica `mioboot-nobios-simple.asm`
    2110
    22 You can use [wiki:TracAdmin trac-admin] to configure
    23 [http://trac.edgewall.org/ Trac] to better fit your project, especially in
    24 regard to ''components'', ''versions'' and ''milestones''.
     11{{{
     12bits 16                         ; 16 bit real mode
     13org 0x7C00                      ; origine indirizzo 0000:7C00
     14
     15start: 
     16 mov ax, 0xb800  ; text video memory
     17 mov ds, ax
     18 mov eax, 10
     19write:
     20 cmp eax, 0
     21 jz end
     22 mov byte [eax], 'm'
     23 mov byte [eax+1], 0x0F    ; attrib = white on black
     24 sub eax, 2
     25 jmp write
     26end:
     27 hlt
     28
     29times 510-($-$$) db 0 ; 0-padding
     30dw 0xAA55
     31}}}
     32
     33{{{
     34#!sh
     35nasm -l mioboot-nobios-simple.lst -o mioboot-nobios-simple.img mioboot-nobios-simple.asm
     36qemu mioboot-nobios-simple.img
     37}}}
    2538
    2639
    27 TracGuide is a good place to start.
     40* Uso dei servizi del BIOS `mioboot.asm`
    2841
    29 Enjoy! [[BR]]
    30 ''The Trac Team''
     42{{{
     43bits 16                         ; 16 bit real mode
     44org 0x7C00                      ; origine indirizzo 0000:7C00
     45       
     46start:
     47        cld                     ; clears direction flag (index regs incremented)
     48        mov si, boot
     49        call message
     50working:
     51        mov si, work
     52        call message
    3153
    32 == Starting Points ==
     54        call waitenter
     55        jmp working
    3356
    34  * TracGuide --  Built-in Documentation
    35  * [http://trac.edgewall.org/ The Trac project] -- Trac Open Source Project
    36  * [http://trac.edgewall.org/wiki/TracFaq Trac FAQ] -- Frequently Asked Questions
    37  * TracSupport --  Trac Support
     57message:
     58        lodsb                   ; carica un byte da [DS:SI] in AL e inc SI
     59        cmp al, 0
     60        jz done
     61        mov ah, 0x0E            ; write char to screen in text mode
     62        mov bx, 0               ; BH page number BL foreground color
     63        int 0x10                ; write AL to screen (BIOS)
     64        jmp message
     65done:   ret
    3866
    39 For a complete list of local wiki pages, see TitleIndex.
     67boot: db "Loading unuseful system...." , 10, 13, 0
     68work: db "I've done my unuseful stuff!" , 10, 13, 0
     69cont: db "Hit ENTER to continue...", 10, 13, 0
     70wow: db "Great! Hello world!" , 10, 13, 0
     71       
     72waitenter: mov si, cont
     73           call message
     74           mov ah, 0
     75           int 0x16                ; Wait for keypress (BIOS)
     76           cmp al, 'm'
     77           jz egg
     78           cmp al, 'b'
     79           jz basic
     80           cmp al, 13
     81           jnz waitenter
     82           ret
     83egg:       mov si, wow
     84           call message
     85           jmp waitenter
     86basic:     int 0x18             ; basic (BIOS)
     87           hlt
     88
     89        times 510-($-$$) db 0
     90        dw 0xAA55
     91}}}
     92
     93{{{
     94#!sh
     95nasm -l mioboot.lst -o mioboot.img mioboot.asm
     96qemu mioboot.img
     97}}}
     98
     99
     100=== Link ===
     101
     102 * [http://nasm.sourceforge.org NASM ]
     103 * [http://www.drpaulcarter.com/pcasm/ PC Assembly Language, by Paul A. Carter]
     104 * [http://fabrice.bellard.free.fr/qemu QEmu]
     105 * [http://www.intel.com/products/processor/manuals/ Manuali Intel]
     106