   dos & asm
  I've learned that the character buffer is at b8000h, but is there an address somewhere that you can use to move the cursor? I know there's an interrupt, but an address would be better.   
  Are you really running DOS or are you running a console under Windows?   ;  dos. 16 bit.   ;  dos died a long time ago. sorry... we've all moved to the 21st century.   ;  well i haven't ;Dkidding, but i'm programming for 16 bit dos in asm to get practice with lower level programming. i will need it to develop for nes. (also old ;D)   ;  NES doesnt use x86 instructions. I believe that CPU was a derivative of the 65c816 processor which is way over in motorola land.;VIDEO - SET CURSOR POSITIONAH = 02hBH = page number0-3 in modes 2&30-7 in modes 0&10 in graphics modesDH = row (00h is top)DL = column (00h is left)Return:Nothingfrom Ralph Brown's Interrupt List (quite famous). http://www.ctyme.com/intr/rb-0087.htmI can also recommend TechHelp. http://margo.student.utwente.nl/el/pc/help/techhelp.zip   ;  Writing directly to the graphics memory is indpendent of cursor positions and such. It is like a framebuffer similar to video devices.If you want to draw text where the cursor is, you should use dos/bios interrupts instead of direct writing to the memory.Are you sure you want to program games for the NES. You can write NES-like games for modern environments. I don't know how well documented is the NES platform, but it sure isn't like DOS asm programming.I recommend learning at least some assembly programming, anyway. It might prove useful when trying to find a job or doing low-level stuff.-Riku;  Yeah, RichardoX is right. If you are in say 80x25 mode, you have at b800:0 80*25 pairs of bytes, with one byte for the character and one byte for color and blinking (iirc). 0 is the top left, then every byte higher move you to the right, then to the next line on the right, etc. So you don't need a cursor indeed.   ;Quote:Original post by Anonymous PosterNES doesnt use x86 instructions. I believe that CPU was a derivative of the 65c816 processor which is way over in motorola land.it uses 6502Quote:Original post by roelYeah, RichardoX is right. If you are in say 80x25 mode, you have at b800:0 80*25 pairs of bytes, with one byte for the character and one byte for color and blinking (iirc). 0 is the top left, then every byte higher move you to the right, then to the next line on the right, etc. So you don't need a cursor indeed.but i need the cursor to indicate where input will be echoed. i'll use an interrupt for it if i have to, but i prefer addressing memory directly.   