I noticed that the times where "jc fail" asm instructions are called are not behaving as expected. They need to be "call fail" in order for the stack to be set up properly to print the fail character. This can be reproduced by changing the jc to jnc and running in qemu.
I added a label in the boot.s that just calls the rust "fail" function and it seems to work as expected now.
I also updated the readme and fixed some error codes that were not unique.
I noticed that the times where "jc fail" asm instructions are called are not behaving as expected. They need to be "call fail" in order for the stack to be set up properly to print the fail character. This can be reproduced by changing the jc to jnc and running in qemu.
I added a label in the boot.s that just calls the rust "fail" function and it seems to work as expected now.
I also updated the readme and fixed some error codes that were not unique.