Changes between Version 1 and Version 2 of Sperimentazione 1


Ignore:
Timestamp:
Mar 10, 2011, 8:00:05 AM (13 years ago)
Author:
Mattia Monga
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Sperimentazione 1

    v1 v2  
    33== Accesso diretto alla macchina fisica ==
    44
    5  export:trunk/mioboot-nobios-simple.asm
    6  [[IncludeSource(trunk/mioboot-nobios-simple.asm, line_numbers=0)]]
     5 * source:trunk/mioboot-nobios-simple.asm
     6 * source:trunk/mioboot.asm
     7 * source:trunk/Makefile@2:4-5,10-11
     8 * [attachment:sinossi1.pdf Appunti (preliminari ma dettagliati)] (Segnalate errori e imprecisioni!)
     9 
     10Per assemblare
     11{{{
     12#!sh
     13nasm -f bin -o mioboot-nobios-simple mioboot-nobios-simple.asm
     14}}}
     15
     16Per lanciare Qemu con il debugger attivato (in gdb serve un corrispondente `target remote localhost:6666`)
    717
    818{{{
    919#!sh
    10 nasm -o mioboot.img mioboot-nobios-simple.asm
    11 qemu mioboot.img
    12 # con qemu -d in_asm potete vedere (in /tmp/qemu.log) il codice eseguito dalla macchina virtuale: per la maggior parte istruzioni del BIOS
     20qemu -S -gdb tcp:6666  mioboot-nobios-simple.asm
    1321}}}