aboutsummaryrefslogtreecommitdiff
path: root/lib/cpcrslib/cpc_SetBorder.s
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2021-05-03 08:21:10 +0100
committerJuan J. Martinez <jjm@usebox.net>2021-05-03 10:00:00 +0100
commitc3b0fa04a663fe233765b83d3be41a42aa08c25d (patch)
tree0befda349001ef6ce306b39378f9c70ad917363e /lib/cpcrslib/cpc_SetBorder.s
downloadreturn-of-traxtor-cpc-main.tar.gz
return-of-traxtor-cpc-main.zip
Initial import for public releaseHEADmain
Diffstat (limited to 'lib/cpcrslib/cpc_SetBorder.s')
-rw-r--r--lib/cpcrslib/cpc_SetBorder.s10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/cpcrslib/cpc_SetBorder.s b/lib/cpcrslib/cpc_SetBorder.s
new file mode 100644
index 0000000..b1939df
--- /dev/null
+++ b/lib/cpcrslib/cpc_SetBorder.s
@@ -0,0 +1,10 @@
+.globl _cpc_SetBorder
+
+_cpc_SetBorder::
+ LD HL,#2
+ ADD HL,SP
+ LD B,(HL)
+ ;LD B,A
+ LD C,B
+ JP 0XBC38
+