Re: #A0000

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

>Date:         Fri, 11 Sep 1998 00:30:21 -0500
>Reply-To:     Euphoria Programming for MS-DOS
<EUPHORIA at LISTSERV.MUOHIO.EDU>
>From:         Noah Smith <nhs6080 at UNIX.TAMU.EDU>
>Subject:      #A0000
>To:           EUPHORIA at LISTSERV.MUOHIO.EDU
>
>Say, I'm new to this whole thing.  Perhaps someone can send me
something
>along the lines of "etiquette for the ignerent" or sumthin.  Anyways.
I
>was trying to implement a virtual memory scheme using mem_copy and
>mem_set, but when I write to addresses above #A0000 + 199680, it does
>not display to the screen (mode 261).  If I push it, it crashes.  Could
>someone please explain this to me.
>
>Snortboy
>

The display memory is only 65536 bytes long, so if you put more than
65536 bytes in it, it overwrites another memory area. To solve this
problem, yoe need "bank switching", it means: first put area one in the
memory, send a message to your video card, put area two...
To see how it works, look at the lastest version of ememcopy.e() (in the
archive), to procedure set_bank(). I hope this will help you.

BeeBee

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

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

Search



Quick Links

User menu

Not signed in.

Misc Menu