Re: Need help reading a schematic.
to do the moving dot thing is easy,
set a couple of variables in memory for X & Y
write a character to (videoram+X+(Y x line-length))
start a loop
read the keyboard interface
if it wasnt a cursor key, loop
overwrite the character in (videoram+X+(Y x line-length))
add / subtract from X or Y
write the character in (videoram+X+(Y x line-length))
loop
obviously a delay in the loop or it will be running in mega-turbo speed!
to do the moving dot thing is easy,
set a couple of variables in memory for X & Y
write a character to (videoram+X+(Y x line-length))
start a loop
read the keyboard interface
if it wasnt a cursor key, loop
overwrite the character in (videoram+X+(Y x line-length))
add / subtract from X or Y
write the character in (videoram+X+(Y x line-length))
loop
obviously a delay in the loop or it will be running in mega-turbo speed!
Comment