Re: A86: Turning screen black


[Prev][Next][Index][Thread]

Re: A86: Turning screen black




Being A BASIC Programmer, I Designed A Simple Program Which I Stole From
Bits Of TI's Source Code For A Password Program Of Theirs.  Here Is The
Source, You Are Welcome To It:

#include "asm86.h"
#include "ti86asm.inc"

.org _asm_exec_ram

	call _clrLCD
	call _runindicoff  
	set 3, (IY+5)
	ret
.end


On Sat, 21 Nov 1998 17:19:06 EST, ComAsYuAre@aol.com wrote:

> 
> In a message dated 11/20/98 11:37:52 PM Eastern Standard Time,
KidFedX@aol.com
> writes:
> 
> > What's the best way to turn on all of the pixes on the screen?  Is there
a 
> > rom
> >  Call I can use or a short segment of program?
> >  --Thanks
> 
> how about this:
> 
> 	ld hl,$fc00			;video mem
> 	ld (hl)$ff				;set first byte
> 	ld de,$fc01			;second byte of video mem
> 	ld bc,1023			;length of screen-1 (first byte taken care of)
> 	ldir					;turn on all bits on screen
> 
> this is untested, but i think it'll work.  it uses the same principle as
> clearing the screen (load a 0 into $fc00 instead of an $ff)





_______________________________________________________
Get your free, private e-mail at http://mail.excite.com/