我需要将打印字符设为绿色,但我的代码不会这样做。如何使用BIOS进行此操作? (不是DOS)。
mov ax, 9ch mov ss, ax mov sp, 4096d mov ax, 7c0h mov ds, ax ;-------------- mov ah, 0eh mov bx, 000Ah ;Trying to make green character color but this is not working mov al, 'M' int 10h jmp $ ;-------------- times 510-($-$$) db 0 dw 0xAA55