Re: Wait-retrace
- Posted by Lucius Hilley <lhilley at CDC.NET> Jan 03, 1999
- 382 views
---------- > From: CHARN1407 at AOL.COM > To: EUPHORIA at LISTSERV.MUOHIO.EDU > Subject: Re: Wait-retrace > Date: Sunday, January 03, 1999 11:52 AM > > ---------------------- Information from the mail header ----------------------- > Sender: Euphoria Programming for MS-DOS <EUPHORIA at LISTSERV.MUOHIO.EDU> > Poster: CHARN1407 at AOL.COM > Subject: Re: Wait-retrace > ---------------------------------------------------------------------------- --- > > global constant wait_retrace = allocate(20) > poke(wait_retrace, { > #50, -- PUSH EAX > #52, -- PUSH EDX > #BA,#DA,3,0,0,-- MOV EDX, 0x03DA > #EC, -- IN AL, DX > #24,#08, -- AND AL, 0x08 > #75,#FB, -- JNZ -5 > #EC, -- IN AL, DX > #24,#08, -- AND AL, 0x08 > #74,#FB, -- JZ -5 > #5A, -- POP EDX > #58, -- POP EAX > #C3 } ) -- RET > > now you should be able to call it with: > call ( wait_retrace ) > > call it right before you write to the screen. > > CHARN > call it right before you write to the screen. And/Or right before changing the palette _________________________ "I'm good ! Not god." Lucius L. Hilley III - 1998 _________________________ Lucius L. Hilley III lhilley at cdc.net http://www.cdc.net/~lhilley http://www.dragonvet.com _________________________ <IMG SRC="http://www.cdc.net/~ceace/images/lu4.jpg"> _________________________