Enviado em 08/06/2019 - 08:59h
Olá pessoal !//------------------------------------------------------------------- // // GENESIS OS: // // A BootLoader with Operating System ... // // // COMPILE: // gcc -s -c boot.s -o boot.o -Wall // ld boot.o -o boot.bin -Ttext=0x7c00 -e _start // objcopy -O binary boot.bin bkernel // OR: // make // // // TESTING WITH QEMU: // qemu-system-i386 bkernel // // // CREATE A BOOTABLE CDROM: // mkdosfs -C floppy.flp 1440 || exit // dd status=noxfer conv=notrunc if=bkernel of=floppy.flp || exit // mkisofs -R -b floppy.flp -o /temp/hello_boot.iso /temp/hello_boot // // // REFERENCE: // 01: https://github.com/mig-hub/mikeOS // 02: https://github.com/mit-pdos/xv6-public // 03: https://github.com/benchlab/benOS-Bootloaders // 04: http://www.sde.cs.titech.ac.jp/~gondow/udos/index.html // 05: https://github.com/microsoft/MS-DOS // 06: https://github.com/cirosantilli/x86-bare-metal-examples // 07: https://github.com/devversion/CKernel // // // START DATE: 07/06/2019 - 17:20 // //------------------------------------------------------------------- // .code16 .text .globl _start; _start: jmp boot nop boot: cli //----------------------------------------------- // basic setup: //----------------------------------------------- // mov $0, %ax // set up segments mov %ax, %ds mov %ax, %es mov %ax, %ss // setup stack mov %ax, %si //----------------------------------------------- mov $0x7c00, %sp // stack grows downwards from 0x7C00 // Display: "Hello" // mov $0xe,%ah mov $72,%al int $0x10 mov $101,%al int $0x10 mov $108,%al int $0x10 int $0x10 mov $111,%al int $0x10 label_forever: hlt jmp label_forever //----------------------------------------------- // strings: //----------------------------------------------- // msg: .asciz "Hello World" //----------------------------------------------- //--------- BOOT SIGNATURE 512 BYTES ---------- //----------------------------------------------- . = _start + 510 .byte 0x55 .byte 0xaa
Enviado em 11/06/2019 - 11:34h
01: "Quando se faz muitas coisas, adquire-se um conhecimento vasto mas superficial ..." 02: "O bom é manter o foco para se especializar !!! "
Resolver problemas de Internet
Como compartilhar a tela do Ubuntu com uma Smart TV (LG, Samsung, etc.)
Descritores de Arquivos e Swappiness
Solução rápida para o problema do Network Manager conectar mas não navegar
Como instalar no Linux Jogos da Steam só para Windows
Instalando o Team Viewer no Debian Trixie - problema no Policykit
Microtik Wan IPv6 é Lan IPv4 (2)
Ubuntu 25.04 não instala. (10)