Rel Wed Apr 12 2006 at 10:32 pm Phat!
Yo plaz! Have you had any experience with int21,48h?
I'm trying to allocate memory by calling this
;64000 bytes
;vga_seg is a word value
mov bx, 4000
mov ah, 48h
int 21h
mov vga_seg, ax
Now when I blit in the upper half of the screen, it crashes.
LIke
mov es, vga_seg
mov di, 10
mov es:[di], al
it crashes.
Looking at the garbage on screen as I've tried to Pcopy the whole of 64000 bytes to 0a000h, the top half has some data that I know nothing about and the lowe half is empty.
Any thoughts?
Thanks!
- Phat! - Rel (Wed Apr 12 2006 at 10:32 pm)
- I'm guessing - Plasma (Thu Apr 13 2006 at 12:30 am)
- Exe Actually. - Rel (Thu Apr 13 2006 at 12:38 am)
- hmmm - Plasma (Thu Apr 13 2006 at 1:11 am)
- BTW, - rel (Wed Apr 12 2006 at 10:36 pm)
|