Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

I really hate to be an asshole

Name: Anonymous 2012-08-01 16:02

But my code isn't working, and I can't tell why. I've rewritten the print function like, twice, and I can't see anything wrong. It's just printing a single character close to the right edge of the screen a couple lines down.
ASM, btw. Writing to VGA Text-mode VRAM.

http://pastebin.com/w0z1nJbF

Name: Cudder !MhMRSATORI!fR8duoqGZdD/iE5 2012-08-02 5:53


 mov bx, cursor
 add bx, bx
 push 0xB800
 pop es
 mov w es:[bx], 0x0748
 inc w cursor


>>13
I don't think 2*ax is a valid addressing mode. Also debug.com is your friend.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List