aboutsummaryrefslogtreecommitdiff
path: root/lib/plw/plw_init.z80
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2023-11-05 11:22:55 +0000
committerJuan J. Martinez <jjm@usebox.net>2023-11-05 11:31:28 +0000
commit2fbdf974338bde8576efdae40a819a76b2391033 (patch)
tree64d41a37470143f142344f9a439d96de3e7918c2 /lib/plw/plw_init.z80
downloadkitsunes-curse-2fbdf974338bde8576efdae40a819a76b2391033.tar.gz
kitsunes-curse-2fbdf974338bde8576efdae40a819a76b2391033.zip
Initial import of the open source release
Diffstat (limited to 'lib/plw/plw_init.z80')
-rw-r--r--lib/plw/plw_init.z8014
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/plw/plw_init.z80 b/lib/plw/plw_init.z80
new file mode 100644
index 0000000..aaa6ba5
--- /dev/null
+++ b/lib/plw/plw_init.z80
@@ -0,0 +1,14 @@
+.globl _PLW_Init
+.globl _plw_player
+
+PLY_LW_INIT = 0x0b06
+
+_PLW_Init::
+ ld ix,#2
+ add ix,sp
+
+ ld l,0 (ix)
+ ld h,1 (ix)
+ ld a,2 (ix)
+
+ jp PLY_LW_INIT