Pure64 icon indicating copy to clipboard operation
Pure64 copied to clipboard

Pure64 fails to compile

Open makenzi-nzau opened this issue 2 years ago • 2 comments

Hi! I'm trying to compile Pure64 using nasm 2.11.08 on ubuntu 16.10 using the build.sh script. This fails with

uefi.asm:322: warning: label alone on a line without a colon might be in error
uefi.asm:270: error: invalid combination of opcode and operands

Is there any known fix to this?

Thanks!

makenzi-nzau avatar Mar 12 '23 23:03 makenzi-nzau

I made it compile by replacing line 270 of uefi.asm by lea rdx, [0x6000] I don't know asm, I just pattern matched with the lines around and it seems to work, the BareMetal-OS launches and the demo apps work.

Ruddle avatar Mar 23 '23 16:03 Ruddle

I'll make a proper fix. I think the correct opcode there is mov.

IanSeyler avatar Mar 23 '23 20:03 IanSeyler