Minor beautifications.

This commit is contained in:
Oliver Schmidt 2015-08-28 14:38:50 +02:00
parent 3abe99c7a2
commit da593744f4

View File

@ -6,12 +6,12 @@
.exportzp screen_current_row .exportzp screen_current_row
.exportzp screen_current_col .exportzp screen_current_col
.code
screen_current_col = $24 ; CH - Horizontal cursor-position (0-39) screen_current_col = $24 ; CH - Horizontal cursor-position (0-39)
screen_current_row = $25 ; CV - Vertical cursor-position (0-23) screen_current_row = $25 ; CV - Vertical cursor-position (0-23)
.code
; use Apple 2 monitor ROM function to display 1 char ; use Apple 2 monitor ROM function to display 1 char
; inputs: A should be set to ASCII char to display ; inputs: A should be set to ASCII char to display
; outputs: none ; outputs: none
@ -36,13 +36,13 @@ print_a:
print_cr: print_cr:
jmp $fd8e jmp $fd8e
; use Apple 2 monitor ROM function to move to clear the screen ; use Apple 2 monitor ROM function to clear the screen
; inputs: none ; inputs: none
; outputs: none ; outputs: none
cls: cls:
jmp $fc58 jmp $fc58
; use Apple 2 monitor ROM function to move to make a 'beep' noise ; use Apple 2 monitor ROM function to make a 'beep' noise
; inputs: none ; inputs: none
; outputs: none ; outputs: none
beep: beep: