VOGONS

Common searches


Search results

Display options

Re: New command.. colors

Qbix- I can record it if you need me to. TeaRex- No, I do not. It's just the way you worded your sentence. It gave me an impression of what you were hinting at. Dude, how is "mov" supposed to set or clear the carry flag? If anything is going to complain about a value not "fitting", it's the …

Re: New command.. colors

It is related to the thread. "This is what you would get if you put 0xAA directly into the video memory attribute bytes." It was a test to see if passing AA was 'allowed' into AL, out of curiosity as I have only been using assembler off and on for a few months. But excuse me for trying. Also, I …

Re: New command.. colors

Would AA fit into AL? I wonder. I'll try it out. After writing a few lines, it does indeed fit. Assembly code- [org 0x0100] [section .text] mov al,0xAA ;Does it fit? jc error ;If not, we must tell the error gods! jnc done error: mov al,0x01 ;Return '1' if there was an error jmp exit done: xor al,al …

Re: Help Beep Sound

I did a little test to confirm what the authors said, and it is correct that '7' will not play through speakers etc. [org 0x0100] [section .text] xor al,al ;Make sure AL is nil mov al,0x07 ;Place beep into AL int 0x29 ;Use 0x29 to display char in AL.. faster than 0x21! mov ah,0x4C ;0x07 is already …

Page 1 of 1