From 2fbdf974338bde8576efdae40a819a76b2391033 Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Sun, 5 Nov 2023 11:22:55 +0000 Subject: Initial import of the open source release --- lib/plw/plw_init.z80 | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 lib/plw/plw_init.z80 (limited to 'lib/plw/plw_init.z80') 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 -- cgit v1.2.3