diff --git a/README.md b/README.md index c2544cf..cb500d2 100644 --- a/README.md +++ b/README.md @@ -26,8 +26,6 @@ Use the keys a, s, d, f, j, k, l, and ; to play notes. Use the keys q, w, and e to change between three different octaves. -Use the key z to clear the screen. - the Star Wars theme is a, j, f, d, s, ;, j, f, d, s, ;, j, f, d, f, s. ASSEMBLING: diff --git a/pcano.asm b/pcano.asm index 7925d91..300ee25 100644 --- a/pcano.asm +++ b/pcano.asm @@ -1,15 +1,12 @@ -clear: - mov ah, 00h ; clears the screen and sets the cursor to the first position on the screen +input: ; sets cursor to 1st position and clears the screen + mov ah, 00h mov al, 03h int 10h mov ah, 02h mov dl, 0 int 10h - -input: ; takes user input + ; takes user input in al, 60h - cmp al, 44 - je clear cmp al, 18 je lower cmp al, 16 diff --git a/pcano.img b/pcano.img index 8f579f8..a6bae96 100644 Binary files a/pcano.img and b/pcano.img differ