Skip to content

This repository contains all the assignments related to Advanced microprocessors x86 and mmx controllers.

Notifications You must be signed in to change notification settings

sm8799/AMPT_Labwork

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

AMPT_Labwork

This repository contains all the assignments related to Advanced microprocessors x86 and mmx controllers.

What's inside?

  1. a) First assignment is related to printing the keypresses on qemu screen by writing in video memory using interrupt
    b) Second part is related to printing without using interrupt.
  2. Second assignment is jumping from real mode to protected mode and from there coming back.
  3. Third assignment is printing transpose of matrix using mmx registers

How to Run

  1. First one must have qemu installed on machine with nasm. Set up the working environment.

  2. To run part 1.a use following commands in shell:

    nasm -fbin printchar.asm -o printchar.bin
    qemu-system-i386 printchar.bin

  3. To run part 1.b use following commands in shell:

    nasm -fbin bootloader.asm -o bootloader.bin
    nasm -fbin realmode.asm -o realmode.bin
    cat bootloader.bin realmode.bin > result.bin
    qemu-system-i386 result.bin

  4. To run part part 2 use following commands in shell:

    nasm -fbin modejump.asm -o modejump.bin
    qemu-system-i386 modejump.bin

  5. To run part 3 use following commands in shell:

    nasm -fbin bootloader.asm -o bootloader.bin
    nasm -fbin transpose_of_matrix.asm -o transpose.bin
    cat bootloader.bin transpose.bin > result.bin
    qemu-system-i386 result.bin

Helping Hands

  1. Sawant Sir, Khatavkar Sir - COEP, Pune
  2. Utkarsh Andurkar
  3. Leeky 0x00sec vip - Realmode Assembly -Writing bootable stuff part 1 and part 2
  4. devdungeon
  5. Alex Parker website 3 zanders co uk

About

This repository contains all the assignments related to Advanced microprocessors x86 and mmx controllers.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published