Ralf, BeeBee, anybody--- HELP, PLEASE!

new topic     » topic index » view thread      » older message » newer message

Ralf, BeeBee, anybody--- HELP, PLEASE!

Last week you posted a response to a question from Noah concerning the 64Kb
graphics memory, and how to get around that roadblock in SVGA modes by
'bank switching'.  Makes sense so far...oops, I lied.  Here's what I
fingered out; can somebody fill in the gaps please?

In mode 19, doing a

        se_mem_copy(1,#A0000,#A0000+32160,160,100,160,160)

copies the top-left quarter of the screen to the bottom right (I stole that
out of the source code).  O.K. so far.

Now let's go to mode 259:

        se_mem_copy(1,#A0000,#A0000+400,400,25,400,400)

copies the top 25 lines from the left half of the screen to the right. I
got that.  But there's no bank switching goin' on here.  That where you
guys lost me because if I want to copy the top-left quarter of the screen
to the bottom-right just like in mode 19,

        se_mem_copy(1,#A0000,#A0000+120400,400,300,400,400)

ain't gonna work, and that's where this fancy-pants 'bank switching' must
come in huh? So, how do I access anything other than the first 64Kb of the
screen?

Could somebody write some quick and dirty code that copies the top left
400x300
square of mode 259 to the bottom right?  If ya can get me that far, I think
I can finger out the rest. (If you could throw in some comments, we'll just
consider it an early Christmas present).

mmmkay-thanks-bye...

Deuce (bjackson at printinginc.com)

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu