Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
pages in mode 13h in ASM
#1
I’m new here…

Is there a way to use pages in mode 13h (QB SCREEN 13) in assembly language?

By the way: I changed my nickname from ASM_Newbie to rCX

Thanks 8)
Reply
#2
one such page is a function of the video board. It's not a Basic vs ASM issue. If you just mean to use a separate area of memory and then transfer the contents of that memory area to the video buffer, well of course it's possible. I'm not sure what it would mean for something to be possible in Basic that isn't possible in ASM.
ravelling Curmudgeon
(geocities sites require copying and pasting URLs.)
I liked spam better when it was something that came in a can.
Windows should be defenestrated.
Reply
#3
Do you have any ASM source code that could do this?
Reply
#4
Well, it is just a copy mem from somewhere to the screen memory (A000:0000)... A "REP MOVSW" should be enough, with CX=32000 and stuff. You should have to write routines to plot in the buffer and not on screen.
SCUMM (the band) on Myspace!
ComputerEmuzone Games Studio
underBASIC, homegrown musicians
[img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i
Reply
#5
Thanks Smile
Reply
#6
One more thing.....

Which segments can I use to put the page memory in? I can't use the Code Segment because my code takes up alot of 64k of mem in the CS and the A000h segment contains the page that is being displayed.
Reply
#7
Uh, i dont know how your doing it, but all you have to do is malloc an unsigned char so it holds as many pixels as the screen, and then you just copy it to the screen,

mode 13h does not support pages per say, its more double buffering, you cant access the rest of the vga memory in that mode, you want pages? use modex
b]Hard Rock[/b]
[The Stars Dev Company] [Metal Qb flopped] [The Terror]
Stop Double Posts!
Whats better? HTML or Variables?
Reply
#8
Thanks again! Smile
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)