Browse code

Add clear app for clearing terminal

Pawel Jablonski authored on 12/06/2023 15:57:59
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,24 @@
1
+; Author: Pawel Jablonski
2
+; E-mail: pj@xirx.net
3
+; WWW: xirx.net
4
+; GIT: git.xirx.net
5
+;
6
+; License: You can use this code however you like
7
+; but leave information about the original author.
8
+; Code is free for non-commercial and commercial use.
9
+
10
+map ../../../bin/rom/rom.map
11
+
12
+; First label is the entry point
13
+.entry:
14
+	call .main
15
+	ret
16
+
17
+; Arguments
18
+;	X - Arguments address low
19
+;	Y - Arguments address high
20
+; No return
21
+.main:
22
+	; Reset the terminal
23
+	call .xTerminalReset
24
+	ret