Ciro Santilli 71e104bab0 Uniformized macros: push save all registers, and use only GAS macros, no CPP 9 years ago
..
Makefile b9b4da0d1e initial_state.S stopped working... 9 years ago
README.md 71e104bab0 Uniformized macros: push save all registers, and use only GAS macros, no CPP 9 years ago
bios_disk_load.asm 61f0ad8dda Remove END 9 years ago
bios_hello_world.asm 61f0ad8dda Remove END 9 years ago
bios_one_char.asm cba0757990 Bochs works, failed PIT and beep attempts 9 years ago
protected_mode_so.asm febbb83254 Protected mode works but is ugly, CS, SS work, failed lidt real mode attempt 9 years ago
protected_mode_thiscouldbebetter.asm febbb83254 Protected mode works but is ugly, CS, SS work, failed lidt real mode attempt 9 years ago

README.md

NASM

While NASM is a bit more convenient than GAS to write a boot sector, I think it is just not worth it.

When writing an OS in C, we are going to use GCC, which already uses GAS. So it's better to reduce the number of assemblers to one and stick to GAS only.

Right now, this directory is not very DRY since NASM is secondary to me, so it contains mostly some copy / paste examples.

On top of that, GAS also supports other architectures besides x86, so learning it is more useful in that sense.