This is not a place to make fun of my lack of skills for asm, as I am just now learning the language. Anyways, while experimenting with asm, I might/will post code occasionally to something that I did, just to say that I did something.
Please dont go: "Oh you should have done it this way" or something, because I will probably remove the post without a second's thought. But if you have a suggestion on how it could be done better, that would be appreciated.
And here is some of the code that I have managed to get to work. ^_^
Code:
Code:
the count down timer I got a lil help on by threefingeredguy, because of a stupid-simple mistake... <_< Oh well, it works. ^_^
Please dont go: "Oh you should have done it this way" or something, because I will probably remove the post without a second's thought. But if you have a suggestion on how it could be done better, that would be appreciated.
And here is some of the code that I have managed to get to work. ^_^
Code:
getkey program:
Main
bcall(_clrlcdfull)
bcall(_getkey)
ld l, a
ld h, 0
bcall(_disphl)
bcall(_newline)
jr Main
ret
Code:
count down timer
Main
bcall(_clrlcdfull)
ld b, 250
jr Loop
Loop
dec b
ld l, b
ld h, 0
bcall(_disphl)
bcall(_newline)
djnz Loop
ret
the count down timer I got a lil help on by threefingeredguy, because of a stupid-simple mistake... <_< Oh well, it works. ^_^